News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Fatal error: session_start(): Failed to initialize storage module: user (path: /

Started by StarWars Fan, April 27, 2004, 06:07:11 PM

Previous topic - Next topic

StarWars Fan

Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp)

I'm getting this error - I haven't made any changes - it just started

PHP 4.3.5 Still using BETA 4.1

[Unknown]

Your session.save_path is probably set wrong.  I strongly recommend you upgrade to PHP 4.3.6, which has that fixed in it. (default of session.save_path shouldn't be /tmp on Windows, I was glowing the day they finally closed my bug report ;).)

-[Unknown]

StarWars Fan

I just got My host to upgrade to PHP 4.3.6... The session.save_path is still /tmp... The web site still won't load... Is the problem still the "/tmp"? If so, what should it be? Is there a workaround if My host won't change the session.save_path? Thanks a million

[Unknown]

Well, I'm assuming your on a Windows server.  If you're on linux, then /tmp is probably not writable or doesn't exist.

The setting is in php.ini - they made need to change it in there.  Simply commenting out the line, like so: (note the semicolon!)

;session.save_path = /tmp

Should make it use the system default temporary directory, which needs to be world writable in most cases. (that means, on NTFS it needs to be writable by Everyone.)

-[Unknown]

StarWars Fan

Well, just an update... The problem seems to have resolved itself... I'm wondering if the problem was on My end with corrupted cookies or files or something... It seems other people may have been accessing My web site during the same time... And then the problem started occuring less and less as I kept surfing My site and re-clicking the boards/posts and logging in/out... So, I dunno... :)

Advertisement: