|
Joined: Nov 2006
Posts: 9
stranger
|
stranger
Joined: Nov 2006
Posts: 9 |
"Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: user (path: /www/gifafi/public_html/sessions) in /www/gifafi/public_html/libs/ubbthreads.inc.php on line 55"
Something going on with my sessions? I'm not sure what this means.
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
// Start the session here if (!defined('ALTER') && !defined('IMPORT')) { session_save_path($config['SESSION_PATH']); $check = @session_start(); header("Cache-control: private"); } It looks like it is probably some type of path issue.
|
|
|
|
Joined: Nov 2006
Posts: 9
stranger
|
stranger
Joined: Nov 2006
Posts: 9 |
I realized that I have file-based sessions turned off on my server because I use a custom MySQL-based handler for my other site.
I think I can htaccess to change the setting for this directory, but I need to find the code.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
|
|
|
|
Joined: Nov 2006
Posts: 9
stranger
|
stranger
Joined: Nov 2006
Posts: 9 |
Hrmm, don't see htaccess on that page anywhere. I guess I should mention that I want to avoid changing the server settings back since, as I understand it, it can be done through htaccess.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I think this is a valid example for your .htaccess (using the above directives): php_value session.save_path /tmp
|
|
|
|
Joined: Nov 2006
Posts: 9
stranger
|
stranger
Joined: Nov 2006
Posts: 9 |
Hrmm, tried dropping this into an .htaccess, no go thus far.
php_value session.auto_start 0 php_value session.save_path /tmp
I think I'm still missing something, I can't seem to find clear directions on how to do this. I might just have to get a new server.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
I think you might need to add:
php_admin_value session.save_handler files
|
|
|
|
Joined: Nov 2006
Posts: 9
stranger
|
stranger
Joined: Nov 2006
Posts: 9 |
Woohoo, the following .htaccess file worked... php_value session.auto_start 0
php_value session.save_path /tmp
php_value session.save_handler files Just had to take out the admin part. Thanks Rick.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
psh, it was my idea lol Glad to hear you got it working
Last edited by Gizmo; 11/30/2006 12:53 AM.
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (1 invisible),
702
guests, and
193
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|