Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Cannot disable CI Session handling in v4.5.1
Post: RE: Cannot disable CI Session handling in v4.5.1

Thanks for the information, both of you. Use of Session is not optional. I misinterpreted the wording here (will typically run ...) as typically Sessions are active, unless Session is not initialized....
672 Views
5 Replies
06-05-2024, 02:43 PM
codeus
    Thread: Cannot disable CI Session handling in v4.5.1
Post: RE: Cannot disable CI Session handling in v4.5.1

kenjis Wrote: (06-04-2024, 05:41 PM) -- Why don't you use CI4 Session with CodeIgniter4? -- [hr] Yes, that is of course is a solution. There is existing session code that works, in production. To...
672 Views
5 Replies
06-04-2024, 11:37 PM
codeus
    Thread: Cannot disable CI Session handling in v4.5.1
Post: Cannot disable CI Session handling in v4.5.1

After reading the userguide (excerpt below), I believe this is a bug-: Quote: Wrote: -- This was due to the specifics of how sessions worked, but is now no longer necessary with our new implementa...
672 Views
5 Replies
06-04-2024, 09:30 AM
codeus
    Thread: Turn off CI4 Session handling in v4.5.1 ?
Post: RE: Turn off CI4 Session handling in v4.5.1 ?

After reading the userguide (excerpt below), I believe this is a bug-: Quote: -- This was due to the specifics of how sessions worked, but is now no longer necessary with our new implementation. H...
295 Views
1 Replies
06-04-2024, 09:15 AM
codeus
    Thread: The version 4.5.0 cause problems with loading dotEnv
Post: RE: The version 4.5.0 cause problems with loading ...

Could you possible put the index.php code in a BaseController or use a Filter? index.php changes often - in many CI version updates. Mike
285 Views
2 Replies
06-04-2024, 12:39 AM
codeus
    Thread: Turn off CI4 Session handling in v4.5.1 ?
Post: Turn off CI4 Session handling in v4.5.1 ?

Hello, CI project was on v4.3, recently upgraded to v4.5.1. Now Session settings are in new config file Session.php, it does not appear to be possible to turn off CI Session handling. In my BaseContr...
295 Views
1 Replies
06-03-2024, 04:31 PM
codeus
    Thread: Can't read a session
Post: RE: Can't read a session

Have you checked permissions for directories /var/www/html and /var/www/html/website ?
761 Views
5 Replies
05-04-2024, 01:22 PM
codeus
    Thread: Ci4, CLI Spark Run Standart Command Terminal
Post: RE: Ci4, CLI Spark Run Standart Command Terminal

For commands such as cd and composer, it would easiest to use a shell, which of course will run spark command also. If you are using OSX / linux / unix, then use bash. For windows, use powershell.
676 Views
4 Replies
05-04-2024, 11:36 AM
codeus
    Thread: error update form 4.3.7 to 4.4
Post: RE: error update form 4.3.7 to 4.4

Worked for me too Project Linde37 Wrote: (09-17-2023, 07:31 AM) -- seechiller Wrote: (08-30-2023, 11:35 PM) -- I had to rebuild everything and manually adjust all the data from the appstarter, now ...
14,148 Views
14 Replies
04-30-2024, 01:16 PM
codeus
    Thread: DB transaction error peculiarity
Post: RE: DB transaction error peculiarity

Using exceptions, it works ok. The only thing changed in the SQL was one of the queries was db->simpleQuery(), changed that to db->query(). Will see if it still causes problem reverting back to non-e...
637 Views
2 Replies
10-07-2023, 01:49 AM
codeus
    Thread: DB transaction error peculiarity
Post: DB transaction error peculiarity

Code: -- Configuration: CI v4.4.1 PHP v8.1.23 Ubuntu 22.04 LTS Jammy mysql  Ver 15.1 Distrib 10.6.12-MariaDB -- The transaction fails, but there's no indication in $this->db->error(). All the m...
637 Views
2 Replies
10-05-2023, 02:49 PM
codeus
    Thread: CI4 auto-routing (improved) with folders
Post: CI4 auto-routing (improved) with folders

Using auto routing (improved), is there still support for directories with regard to routing? Access attempt on a controller in a new folder (using Auto route improved) resulted in a 404. In the docu...
624 Views
1 Replies
05-01-2023, 05:04 AM
codeus
    Thread: auto routing (improved), CORS and Authorization header
Post: RE: auto routing (improved), CORS and Authorizatio...

kenjis Wrote: (11-04-2022, 04:12 PM) -- If you want to get OPTION request, you need the method like optionActivate() for it in your controller. That's it. -- Thanks - that was indeed the problem.
1,031 Views
2 Replies
11-05-2022, 08:20 AM
codeus
    Thread: auto routing (improved), CORS and Authorization header
Post: auto routing (improved), CORS and Authorization he...

When sending a POST request (cross-origin) which includes an Authorization HTTP header, the response to OPTIONS request is a 404 - CORS Missing Allow Origin.  If the Authorization HTTP header is omitt...
1,031 Views
2 Replies
11-04-2022, 03:04 AM
codeus
    Thread: ErrorException - Attempt to read property "maxDepth" on null
Post: RE: ErrorException - Attempt to read property "max...

kenjis Wrote: (06-15-2022, 04:28 PM) -- Kint 4.1.2 is the latest version. Then, it may be your app/Config/Kint.php is old. Copy the latest file in codeigniter4/framework/. -- app/Config/Kint.php di...
2,243 Views
4 Replies
06-16-2022, 01:32 AM
codeus
    Thread: ErrorException - Attempt to read property "maxDepth" on null
Post: RE: ErrorException - Attempt to read property "max...

kenjis Wrote: (06-15-2022, 02:36 PM) -- It seems your Kint version is out of dated. If you are using Composer, run `composer update`. If you don't, check all files are really updated. -- Thanks f...
2,243 Views
4 Replies
06-15-2022, 03:01 PM
codeus
    Thread: ErrorException - Attempt to read property "maxDepth" on null
Post: ErrorException - Attempt to read property "maxDept...

system/CodeIgniter.php (264) ErrorException - Attempt to read property "maxDepth" on null Code: -- 259        /** 260          * Config\Kint 261          */ 262        $config = config(KintConfig...
2,243 Views
4 Replies
06-15-2022, 02:26 AM
codeus

Theme © iAndrew 2016 - Forum software by © MyBB