Failed to initialize

Having trouble installing serendipity?
Post Reply
Erichalfbee
Posts: 3
Joined: Fri Feb 08, 2013 2:25 am

Failed to initialize

Post by Erichalfbee »

Hello,
I've been banging my head against this familiar "failed to initialize storage module" thing.
Installation goes fine. All green. It starts with a blank blog OK. Clicking on "login" creates the failed to initialize storage module" error. I have searched this forum and tried creating a tmp folder and editing .htaccess accordingly. But to no avail. It is a web service. I have other sql/php things running on it OK. (I didn't write them, my programming days are over). Or maybe they are not?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Failed to initialize

Post by garvinhicking »

Hi!

Check your server's phpinfo() output. It seems as if the core PHP module "session" was not compiled! Depending on your OS, you might need to install additional packages like php5-session or so...

(Usually this is a core package and required for PHP, you can optionally disable it, but that's really a bad idea *g*)
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Erichalfbee
Posts: 3
Joined: Fri Feb 08, 2013 2:25 am

Re: Failed to initialize

Post by Erichalfbee »

Thanks for that. Session support is enabled. See: http://www.oldschoolyard.co.nz/serendipity/php.php
But, session auto-start is off. Does that matter? I have forwarded you reply to the server support desk.
Thanks again.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Failed to initialize

Post by garvinhicking »

Hi!

Can you check the directory "/home/ccat/tmp" that is listed for session storage, if this exists and is writable for the PHP webserver user (often www-data or nobody)?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Erichalfbee
Posts: 3
Joined: Fri Feb 08, 2013 2:25 am

Re: Failed to initialize

Post by Erichalfbee »

The help disk sorted it:
" I also noticed that the website is running through our PHP5 server, so I have changed the domains DNS settings so that it will use our PHP5.3 server, which will hopefully allow the Serendipity software to run properly."
That did the trick. Thanks for your patience. Nice looking software!
Post Reply