![]() |
Code igniter 4.8 session file handler - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1) +--- Forum: Lounge (https://forum.codeigniter.com/forumdisplay.php?fid=3) +--- Thread: Code igniter 4.8 session file handler (/showthread.php?tid=81139) |
Code igniter 4.8 session file handler - luckmoshy - 01-27-2022 Hi gentle guys I have an app, that was working fine on 4.6/7 after the update to 4.8 I get these errors if want to post a new article firstly, it redirects to the LiteSpeed server with 403 forbidden under my article form, it shows this message Code: Fatal error: Uncaught ErrorException: touch(): Unable to create file writable/session/ci_sessionfk9nm1m0vr6pdlrpdvbmbqide675jlml because No such file or directory in /home/firstchoiche1/public_html/system/Session/Handlers/FileHandler.php:192 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler() #1 /home/firstchoiche1/public_html/system/Session/Handlers/FileHandler.php(192): touch() #2 [internal function]: CodeIgniter\Session\Handlers\FileHandler->write() #3 [internal function]: session_write_close() #4 {main} thrown in /home/firstchoiche1/public_html/system/Session/Handlers/FileHandler.php on line 192 and I have gone check to log file and see this issue : Code: INFO - 2022-01-27 14:44:17 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver. where am I wrong? after updating to CI 4.8 RE: Code igniter 4.8 session file handler - kenjis - 01-27-2022 (01-27-2022, 05:01 AM)luckmoshy Wrote: Fatal error: Uncaught ErrorException: touch(): Unable to create file writable/session/ci_sessionfk9nm1m0vr6pdlrpdvbmbqide675jlml because No such file or directory Do you have writable/session/ directory? And do you mean CodeIgniter 4.1.8, not 4.8? RE: Code igniter 4.8 session file handler - luckmoshy - 01-27-2022 (01-27-2022, 09:08 PM)kenjis Wrote:(01-27-2022, 05:01 AM)luckmoshy Wrote: Fatal error: Uncaught ErrorException: touch(): Unable to create file writable/session/ci_sessionfk9nm1m0vr6pdlrpdvbmbqide675jlml because No such file or directory Yes Kenji I have put it as writable/session but in 4.1.6/ work fine in 4.1.8 I see this issue RE: Code igniter 4.8 session file handler - kenjis - 01-27-2022 It is strange. There is no changes in Session from v4.1.6 to v4.1.8 $ git diff v4.1.6...v4.1.8 system/Session/ |