Wednesday, 29 June 2022

Unable to write in session folder in windows 10 using Codeigniter 4

 This post is applied on following Codeigniter Error

  • Unable to write in session folder in windows 10 using Codeigniter 4
  •  SYSTEMPATH\Session\Handlers\FileHandler.php at line 102
  •  Uncaught Exception: Session: Configured save path
  • CodeIgniter\Session\Exceptions\SessionException

Solution 

I solved this issue... for anyone experiencing this... changing permissions to anything didn't work. Somehow they had been corrupted on the actual folder so I deleted the cache folder and session folder and created new folders and replaced the contents (files ended up not being an issue). This fixed my issue.

Note: In my case, this error occurred due to google cloud backup because I was working simultaneously while the backup is running and Google Backup corrupted the session folder. 

No comments:

Post a Comment