Please post all install related problems here. Visit this forum first for troubleshooting.
Marcel
Posts: 80 Joined: Sat 8. Jan 2005, 13:07
Post
by Marcel » Sun 29. Apr 2007, 21:29
Hi
I've got a new installation of 1.3.2. Every once in a while I get the following error:
Code: Select all
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: /var/lib/php) in /var/www/vhosts/way64.ch/httpdocs/include/inc_lib/default.inc.php on line 284
Usually refreshing or cache empting helps. Server settings should be OK, checked back - older versions all worked fine.
Thanks
Marcel
Last edited by
Marcel on Mon 30. Apr 2007, 19:12, edited 1 time in total.
DeXXus
Posts: 2168 Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida
Post
by DeXXus » Sun 29. Apr 2007, 23:20
You could ~TRY~ this... to see if it makes a difference:
EDIT
"/include/inc_lib/default.inc.php"
CHANGE:
Code: Select all
function _initSession() {
if(!session_id()) session_start();
if(empty($_SESSION['phpwcmsSessionInit']) && function_exists("session_regenerate_id")) {
session_regenerate_id();
$_SESSION['phpwcmsSessionInit'] = true;
}
return session_id();
}
TO:
Code: Select all
function _initSession() {
@ini_set( 'session.save_handler' , 'files' );
if(!session_id()) session_start();
if(empty($_SESSION['phpwcmsSessionInit']) && function_exists("session_regenerate_id")) {
session_regenerate_id();
$_SESSION['phpwcmsSessionInit'] = true;
}
return session_id();
}
Marcel
Posts: 80 Joined: Sat 8. Jan 2005, 13:07
Post
by Marcel » Mon 30. Apr 2007, 01:57
Hi Dexxus
Thanks - it's better, but I still get the error from time to time.
Cheers
Marcel
Oliver Georgi
Site Admin
Posts: 9928 Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:
Post
by Oliver Georgi » Mon 30. Apr 2007, 07:13
contact your hosting provider, this is nothing phpwcms is responsible for.
And always!!! Fatal error alone is NO correct subject - always give some little more description.
Oliver