Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: MS SQL Srv
Post: MS SQL Srv

Hey, i have worked on the sqlsrv implementation a bit : https://github.com/puschie286/CodeIgniter4/tree/mssql-srv its a very rough implementation, many functions are simply copied and adjusted to ...
1,111 Views
1 Replies
11-20-2019, 03:15 AM
puschie
    Thread: how to update ?
Post: RE: how to update ?

just create your own repository and clone the CI data into that -> commit your changes to your origin and get framework updates from upstream
2,246 Views
7 Replies
05-19-2019, 11:50 PM
puschie
    Thread: HTML table class
Post: RE: HTML table class

sorry oversee it -> here quick updated for ci4 https://pastebin.com/GyspEyeX
8,169 Views
13 Replies
04-25-2019, 02:03 AM
puschie
    Thread: HTML table class
Post: RE: HTML table class

if you want to use it -> just copy the file to CI4, set correct namespace and have fun^^ maybe add a service entry to get global access the class use nothing ci related so there should be no probl...
8,169 Views
13 Replies
04-24-2019, 06:08 AM
puschie
    Thread: Migration Methods
Post: RE: Migration Methods

we use sequential migration for client migration and timestamp for dev migration -> the client migration order is different because some features are not published yet ( but already have migration fo...
2,499 Views
5 Replies
04-24-2019, 05:56 AM
puschie
    Thread: Putting (hardcoded) ids in routes
Post: RE: Putting (hardcoded) ids in routes

not sure, but maybe this helps : https://github.com/codeigniter4/CodeIgniter4/issues/1838
1,681 Views
3 Replies
03-15-2019, 04:54 AM
puschie
    Thread: controller redirect to method fails
Post: RE: controller redirect to method fails

can you try $this->response->redirect( 'dummy' ); ? had also some problems with the redirect helper, but the response function works great for me:
4,158 Views
5 Replies
03-13-2019, 07:03 AM
puschie
    Thread: Should CI-4 require PHP 7.3 ?
Post: RE: Should CI-4 require PHP 7.3 ?

would prefer to stay on 7.2 because its the latest version shipped with Ubuntu ( 18.04 ) and many of our clients dont allow custom php installation. Edit: Or use 7.2 as min and 7.3 as recommended
9,834 Views
19 Replies
03-11-2019, 05:50 AM
puschie
    Thread: Setting up FPDI_Protection in CI 4 [namespace giving me a challenge]
Post: RE: Setting up FPDI_Protection in CI 4 [namespace ...

you need to add the library path to autoload config and your classes to the classmap : https://codeigniter4.github.io/CodeIgniter4/concepts/autoloader.html your should psr4 looks like this: PHP...
2,064 Views
1 Replies
03-06-2019, 04:18 AM
puschie
    Thread: How to check if a user logged in?
Post: RE: How to check if a user logged in?

you can use filter for that : https://codeigniter4.github.io/CodeIgniter4/incoming/filters.html or checkout loni's auth module https://github.com/lonnieezell/myth-auth https://github.com/lonnieezel...
8,023 Views
5 Replies
03-06-2019, 04:01 AM
puschie
    Thread: Setting $cookieSecure = true;
Post: RE: Setting $cookieSecure = true;

your form looks valid to me another reason could be the access type -> secure cookie only works in https requests so for http you need to disable secure cookie ( or disable http access with $fo...
1,907 Views
4 Replies
02-25-2019, 07:27 AM
puschie
    Thread: Model / Entities relation
Post: RE: Model / Entities relation

you override the magic methods of the Entity class in your User entity - try your original version with protected members: PHP Code: --
6,018 Views
6 Replies
02-25-2019, 07:17 AM
puschie
    Thread: Setting $cookieSecure = true;
Post: RE: Setting $cookieSecure = true;

so you got thrown a LogicException ? can you provide the part of code that creates your form ( or open the form )
1,907 Views
4 Replies
02-22-2019, 03:14 AM
puschie
    Thread: Model / Entities relation
Post: RE: Model / Entities relation

you need to use the magic setter/getter in your entity to use _options just change your "public" entity properties to protected. Docu (https://codeigniter4.github.io/CodeIgniter4/models/entities...
6,018 Views
6 Replies
02-22-2019, 03:10 AM
puschie
    Thread: Escaping broke query
Post: RE: Escaping broke query

"Another try at getting escaping working correctly both when in and out of models. #1705"[549d7d2a3f8cafc4007614c7f923a3e0ed834b58] fixed both problems - thanks
2,736 Views
7 Replies
02-14-2019, 01:45 AM
puschie
    Thread: muti domain support.
Post: RE: muti domain support.

we faced the same problem - our solution/workaround was to implement "array support for baseURL" Here is our PatchDiff (https://drive.google.com/open?id=1za0czniRstP1yAamX13qIv3AXH-6klDR) how it...
1,620 Views
2 Replies
02-11-2019, 06:06 AM
puschie
    Thread: Escaping broke query
Post: RE: Escaping broke query

"BaseBuilder should only turn off Connection's setEscapeFlags when run… "[36fbb8ee55ce6111f5e4fce0cf9fee09237f245d] seems to partly-fix the model problem - my provided example code runs fine with thi...
2,736 Views
7 Replies
02-11-2019, 05:46 AM
puschie
    Thread: Escaping broke query
Post: RE: Escaping broke query

thx :)
2,736 Views
7 Replies
02-01-2019, 02:27 AM
puschie
    Thread: Escaping broke query
Post: RE: Escaping broke query

kilishan Wrote: (01-30-2019, 07:17 AM) -- The first one works just fine for me in a real-world situation. I have a simple table with columns id, and name. The following queries all work for me: ...
2,736 Views
7 Replies
01-31-2019, 01:33 AM
puschie
    Thread: Escaping broke query
Post: Escaping broke query

hey, right after the escaping update, some queries and models dont work anymore. 1. problem : first query after session is loaded ( DatabaseHandler ) PHP Code: -- Services::session()->start(); Data...
2,736 Views
7 Replies
01-30-2019, 12:45 AM
puschie

Theme © iAndrew 2016 - Forum software by © MyBB