Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Reading a session variable in CI3 that was set by CI4
Post: RE: Reading a session variable in CI3 that was set...

Ah, thank you.  I changed my CI3 application/config/config.php to use  public string $savePath = 'ci_sessions_CI4'; and it worked!
660 Views
11 Replies
04-18-2024, 05:05 AM
xanabobana
    Thread: Reading a session variable in CI3 that was set by CI4
Post: RE: Reading a session variable in CI3 that was set...

Yes, I'm aware of that. I thought I had made all necessary changes. If I Code: -- log_message('debug',log_message('debug', 'session ci4: ' .$_SESSION['destination'])); -- In CI4 the session ...
660 Views
11 Replies
04-18-2024, 04:13 AM
xanabobana
    Thread: Reading a session variable in CI3 that was set by CI4
Post: Reading a session variable in CI3 that was set by ...

Hello-  I am working on a large migration from CI3 to CI4.  I have attempted to set the session $savePath and $cookieName to be the same in CI3 and CI4, so that I can read in CI3 a session variable th...
660 Views
11 Replies
04-17-2024, 11:53 AM
xanabobana
    Thread: Codeigniter 4 debug bar header link "disappeared" - color won't change
Post: RE: Codeigniter 4 debug bar header link "disappear...

I figured it out by methodically commenting 4000 lines of our CSS to narrow it down.  Looks like it was the code for the h1 moving the links.  I'm not sure the best way to go about fixing this, as I d...
289 Views
3 Replies
04-12-2024, 06:12 AM
xanabobana
    Thread: Codeigniter 4 debug bar header link "disappeared" - color won't change
Post: Codeigniter 4 debug bar header link "disappeared" ...

I am working on migrating my website from CI3 to CI4. The CI4 debug bar seems like it's having a conflict with CSS somewhere but I can't figure it out.  Here is the example CI4 page: https://dev.vmc....
289 Views
3 Replies
04-11-2024, 09:34 AM
xanabobana
    Thread: CI4 Newbie, no log files being created in writeable/logs dir?
Post: RE: CI4 Newbie, no log files being created in writ...

No logs were being written to the writable/logs folder. I found that I needed a customPaths.php file to specify the location of the writable folder
296 Views
2 Replies
03-18-2024, 11:45 AM
xanabobana
    Thread: CI4 Newbie, no log files being created in writeable/logs dir?
Post: CI4 Newbie, no log files being created in writeabl...

Hello, I'm having trouble with my new install of CI4.  No logs are being created in the writeable/logs directory.  I have logging level set to 4 in the Logger.php and double checked that the director...
296 Views
2 Replies
03-14-2024, 08:39 AM
xanabobana
    Thread: Routes for large CI3 to CI4 upgrade
Post: RE: Routes for large CI3 to CI4 upgrade

Thank you!   My colleague came up with a solution that helps with routing pages between CI3 and CI4 while we migrate pages.  It doesn't solve the session issue either, but we don't have a need for ...
665 Views
4 Replies
03-13-2024, 11:56 AM
xanabobana
    Thread: Routes for large CI3 to CI4 upgrade
Post: RE: Routes for large CI3 to CI4 upgrade

This isn't what I was asking. We actually have CI3 and CI4 running together with CI4 in a subdirectory. What I'm looking to do is have it so when I convert a page to CI4, we route to the CI4 subdi...
665 Views
4 Replies
03-08-2024, 04:36 AM
xanabobana
    Thread: Routes for large CI3 to CI4 upgrade
Post: Routes for large CI3 to CI4 upgrade

Hello,  The nonprofit organization I work for uses Codeigniter for a very large codebase (around 100 controllers and 750 views).  We are planning to upgrade from CI3 to CI4 this year.  Since our code...
665 Views
4 Replies
03-07-2024, 08:10 AM
xanabobana
    Thread: Interface "CI_Session_driver_interface" not found
Post: RE: Interface "CI_Session_driver_interface" not fo...

I re-uploaded the entire /system/libraries/ folder and that solved both issues!
437 Views
1 Replies
01-18-2024, 08:36 AM
xanabobana
    Thread: Interface "CI_Session_driver_interface" not found
Post: Interface "CI_Session_driver_interface" not found

Hi, After upgrading to php 8.1, we had the following message:  Message: Return type of CI_Session_database_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::o...
437 Views
1 Replies
01-17-2024, 12:59 PM
xanabobana
    Thread: Parenthesis in 'FROM' clause causing mysql error
Post: RE: Parenthesis in 'FROM' clause causing mysql err...

A colleague suggested using a view for the subquery and that worked!
431 Views
1 Replies
09-22-2023, 07:14 AM
xanabobana
    Thread: Parenthesis in 'FROM' clause causing mysql error
Post: Parenthesis in 'FROM' clause causing mysql error

Hi-  We recently upgraded our servers to mySQL 8.0 and started getting an error with a query that had previously been working.  This is the php code causing the error: PHP Code: -- $this->db->select...
431 Views
1 Replies
09-15-2023, 02:55 AM
xanabobana
    Thread: Using db insert in CI3 auto increment off in table?
Post: RE: Using db insert in CI3 auto increment off in t...

I did reset the auto increment. The first insert is fine, but then the second fails because the auto increment isn't incrementing...
1,064 Views
3 Replies
05-19-2023, 06:27 AM
xanabobana
    Thread: Using db insert in CI3 auto increment off in table?
Post: Using db insert in CI3 auto increment off in table...

Hi-  I have a strange behavior happening and I'm wondering if anyone can help!  I have a table with Users, that has an auto_increment field for  the ID.  Yesterday, the account approval process starte...
1,064 Views
3 Replies
05-17-2023, 08:13 AM
xanabobana
    Thread: Commands out of sync; you can't run this command now
Post: RE: Commands out of sync; you can't run this comma...

That worked, thank you!!!
4,302 Views
5 Replies
11-23-2022, 11:00 AM
xanabobana
    Thread: Commands out of sync; you can't run this command now
Post: RE: Commands out of sync; you can't run this comma...

OK, so I've tried everything in https://dev.mysql.com/doc/refman/8.0/en/commands-out-of-sync.html (see above) but maybe I'm not calling those commands correctly? I've tried: $result = $this->db->...
4,302 Views
5 Replies
11-22-2022, 12:54 PM
xanabobana
    Thread: Commands out of sync; you can't run this command now
Post: Commands out of sync; you can't run this command n...

I'm trying to run a few queries in sequence and I keep getting the error Commands out of sync; you can't run this command now in my php logs. I have read: https://stackoverflow.com/questions/432322...
4,302 Views
5 Replies
11-21-2022, 03:29 PM
xanabobana
    Thread: $resultsALL->list_fields() returns more fields than $resultsALL->result_array()
Post: $resultsALL->list_fields() returns more fields tha...

Hi -  I have an interesting result.  We are on Codeigniter 3.1.11.  I am running a query with a join, and the field that I'm using to join is returned twice in the list_fields() call but only once in ...
1,078 Views
0 Replies
06-09-2022, 08:16 AM
xanabobana

Theme © iAndrew 2016 - Forum software by © MyBB