0

Hi Everybody,

Had a website transferred from Windows to Linux server, and ever since, I've had an error coming up when attempting to login - meaning that I can never actually enter the secure area of the website.

I can login (i.e. press the login button) without error - however, when the script is checking the values against those in the database, it produces the following error:

Warning: session_start() [function.session-start]: open(/var/chroot/home/content/96/9375396/tmp/sess_jleahbvtcmehn0b0plg6ktccr7, O_RDWR) failed: No such file or directory (2) in /home/content/96/9375396/html/console/include/code/checkDetails.php on line 3

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/96/9375396/html/console/include/code/checkDetails.php:3) in /home/content/96/9375396/html/console/include/code/checkDetails.php on line 3

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/96/9375396/html/console/include/code/checkDetails.php:3) in /home/content/96/9375396/html/console/include/code/checkDetails.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /home/content/96/9375396/html/console/include/code/checkDetails.php:3) in /home/content/96/9375396/html/console/include/code/checkDetails.php on line 72

Warning: Unknown: open(/var/chroot/home/content/96/9375396/tmp/sess_jleahbvtcmehn0b0plg6ktccr7, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0

Unfortunately, I cannot work out where I am going wrong - I had heard that it is possible something to do with an ini file (however I don't have one?), or to do with too many sessions being started, which I have checked and there isn't.
I'd be grateful if you could help with my dilema! :D

3
Contributors
5
Replies
26
Views
4 Years
Discussion Span
Last Post by diafol
1

contact your server provider
You server is configured to save cookys to /var/chroot/home/content/96/9375396/tmp/
But that diretory appears not to exist

0

Thanks for your response - I've just sent an email to GoDaddy, hopefully they'll sort it out!

Definitely nothing to do (or could be changed) with the php.ini file?

0

Hi,
GoDaddy reckons that it wasn't their fault - however, found a fix:
Before session_start();
I added session_save_path('/filepath/to/temp/folder');

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.