php bug :: important ::
Posted: Tue 15. May 2007, 17:51
I posted this in the forum today:
Hi, I have a phpwcms1.2.6 website that was always performing o.k. Now after a year or so, I have this error sometimes when I click in the horisontal menu. This is the error:Fatal error: session_start() [function.session-start]: Failed to initialize storage module: user (path: /tmp) in /usr/local/psa/home/vhosts/xappix.nl/httpdocs/index.php on line 47
It's not every time but 1 out of ten which is still too much if you ask me.
Does somebody know what this is and how to solve it?
Thanks for any advise.
Jeroen
I contacted my host wit the question. This is the reply:
The error you receive is a bug in php. Look for info about this bug following link:
http://bugs.php.net/bug.php?id=25876
If youy copy this code on all pages the error will be solved:
ini_set("session.save_handler", "files");
What's the best way to do this????
Please advise,
Jeroen
Hi, I have a phpwcms1.2.6 website that was always performing o.k. Now after a year or so, I have this error sometimes when I click in the horisontal menu. This is the error:Fatal error: session_start() [function.session-start]: Failed to initialize storage module: user (path: /tmp) in /usr/local/psa/home/vhosts/xappix.nl/httpdocs/index.php on line 47
It's not every time but 1 out of ten which is still too much if you ask me.
Does somebody know what this is and how to solve it?
Thanks for any advise.
Jeroen
I contacted my host wit the question. This is the reply:
The error you receive is a bug in php. Look for info about this bug following link:
http://bugs.php.net/bug.php?id=25876
If youy copy this code on all pages the error will be solved:
ini_set("session.save_handler", "files");
What's the best way to do this????
Please advise,
Jeroen