Welcome Guest, Not a member yet? Register   Sign In
Session trouble
#1

I am on Windows 11 with a CI3 website. The online site is throwing an error like this:

Message: session_start(): Failed to read session data: user (path: /var/cpanel/php/sessions/ea-php83)

This is because I was trying to clear out redundant session files and I inadvertently (some would say stupidly!) deleted the ea-php83 file with all the others. I've had a look at the php.ini file and the session path, sure enough, is this. The question is, how do I fix it? Will it go away after some time when new session files are created or do I have to do something? So far it is still throwing the error after a day. I have been in touch with the service providers who tell me this can only be fixed by my code although I don't know how. The site is, unsurprisigly, perfectly OK on my local server.

Grateful for advice.
Reply
#2

Most hosting providers backup your website, check to see if yours backed it up for you
then ask them to restore i for you.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

(08-06-2024, 10:36 PM)InsiteFX Wrote: Most hosting providers backup your website, check to see if yours backed it up for you
then ask them to restore i for you.

Sadly I have to pay extra for backup and I have not done so.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB