Jump to content

SQL Error


Guest nymyth

Recommended Posts

Guest nymyth

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?

Link to comment
Share on other sites

Guest nymyth

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.

Link to comment
Share on other sites

Guest nymyth

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...