Guest nymyth Posted August 8, 2007 Share Posted August 8, 2007 I keep getting this error: Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /home/xxx/public_html/xxx/includes/sessionStart.inc.php on line 39 Anyone know what it is? Quote Link to comment Share on other sites More sharing options...
Guest nymyth Posted August 8, 2007 Share Posted August 8, 2007 I get a similar error when trying to access my admin too. Could this be due to the fact i created another session.tpl Quote Link to comment Share on other sites More sharing options...
vokf Posted August 8, 2007 Share Posted August 8, 2007 This sounds like a problem with your server setup. Contact your host... Jason Quote Link to comment Share on other sites More sharing options...
Guest nymyth Posted August 8, 2007 Share Posted August 8, 2007 Thanks I have sent a help desk ticket. It's very weird...after I refresh a few times itll load up. I double checked all my files and I dont think the new session.tpl should be giving it a problem as all i did was define a new variable in index.php and added some code to boxes/session.inc.php to read the new template. I dont think this should be a problem....if it is please let me know.... Thanks. Quote Link to comment Share on other sites More sharing options...
Guest nymyth Posted August 8, 2007 Share Posted August 8, 2007 Well after doing more research this is a problem with a certain version of php: by adding the following lines to your public_html .htaccess file it will fix the problem, until php developers figure it out: php_value session.save_handler files php_value magic_quotes_gpc 1 i also read this too: However since php has changed the usage of sessions it might be better to start programming the new way. Also start your session like this: ini_set('session.save_handler', 'files'); session_start(); It's not how it should be but this seems to work fine for now until they get this bug figured out. HOPEFULLY ITLL HELP SOMEONE ELSE OUT Quote Link to comment Share on other sites More sharing options...
vokf Posted August 8, 2007 Share Posted August 8, 2007 Hi, Thanks for sharing your findings :-) Jason Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.