Forum Moderators: coopster

Message Too Old, No Replies

Errors all over the place...

Failed to initialize storage module...

         

madcat

5:24 am on Jan 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi:

Have you beaten this error? I installed CubeCart at my hosting service the other day. Everything was great until I started adding products. After doing this, every other time I got to edit my shop, or even view it sometimes, this error appears:

Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /home/mememe/public_html/shop/admin/inventory.php on line 27

...only this error appears.

After doing a search on Google, it seems people are left scratching their heads...

I found two possible answers for this problem...

1. Look for the session.save_handler directive in php.ini, if it is set to 'user', change it to 'files'. After calling my host, it was already set to files...

2. Make sure that your /tmp directory is set to 777 and that it's empty. Once again, my check confirmed these settings were correct.

Any other avenues I can take here? It's hard to work with nothin' on the screen.

Thanks for any help.

dreamcatcher

9:41 am on Jan 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I had this problem on my shared server. One minute ok, next minute error. I got around it by using a custom session handling script, which stores the data in a database. Think I got it from PHPBuilder.com, but I`m not sure now.

dc

madcat

12:57 pm on Jan 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi:

Not sure about the script, or not sure where you found the answer on phpbuilder.com?

M

dreamcatcher

5:31 pm on Jan 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sorry. I`m not sure where I got the custom session handler code from. I think it was PHPBuilder.com but I could be wrong.