Solved

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

Posted on 2004-10-10
6
752 Views
Last Modified: 2008-01-09
Hi all

Got this random error for I don't know what reason.
Dont know if it a script error or a server error, cos it never used to have this error. This error only happens once in a while not always.

Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /home/*******/public_html/admin/includes/session.ssi on line 2

*****session.ssi*********
<?
session_start();
header("Cache-control: private"); // IE 6 Fix.
?>

session.ssi is included right at the top of each page.

Thanks
0
Comment
Question by:minichicken
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 27

Accepted Solution

by:
Diablo84 earned 350 total points
ID: 12271138
hmm, this is a new one on me. Try emptying your temp session directory, its possible that it is becoming full before the garbage clean up occurs at certain times and hence can't write any more data.

Just had a quick look to see if i could find anyone else who has experienced this problem and it seems your not alone
http://bugs.php.net/bug.php?id=25876

Apparently the problem was fixed in CVS so you might want to direct your attention here: http://snaps.php.net/ however there is several suggestions in the previous link that will hopefully help you get to the bottom of it.

0
 
LVL 12

Author Comment

by:minichicken
ID: 12274401
Thanks I will go have a look... and let you know how it goes... the thing is that, the site is hosted with a hosting company....
I think I should let them know about the problem and ask them to fix it, as I dont access to the server...

Thanks again... I will give the points as soon as it solved, it might take while though, hope you don't mind....
0
 
LVL 27

Expert Comment

by:Diablo84
ID: 12274582
thats no problem minichicken, best of luck with getting the problem fixed.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Author Comment

by:minichicken
ID: 12333567
Hi Diablo

Sorry that I took so long to accept your answer, I think the problem should be fixed, the hosting company hasnt got back to me yet. They so inefficient..... But I believe your solution is correct....

Thanks for your help :)
0
 

Expert Comment

by:ceciliamtz
ID: 12862528
Thanks to all for responding. I am waiting response from the hosting company but in the meanwhile I post the server's PHP info (sessions) to see if any of you sees something out of the ordinary:

session
Session Support       enabled
Registered save handlers       files user

Directive      Local Value      Master Value
session.auto_start      Off      Off
session.bug_compat_42      On      On
session.bug_compat_warn      On      On
session.cache_expire      180      180
session.cache_limiter      nocache      nocache
session.cookie_domain      no value      no value
session.cookie_lifetime      0      0
session.cookie_path      /      /
session.cookie_secure      Off      Off
session.entropy_file      no value      no value
session.entropy_length      0      0
session.gc_divisor      100      100
session.gc_maxlifetime      1440      1440
session.gc_probability      1      1
session.name      PHPSESSID      PHPSESSID
session.referer_check      no value      no value
session.save_handler      files      files
session.save_path      /tmp/php-ses      /tmp/php-ses
session.serialize_handler      php      php
session.use_cookies      On      On
session.use_only_cookies      Off      Off
session.use_trans_sid      On      On

0
 

Expert Comment

by:ceciliamtz
ID: 12862533
ups!!! SORRY!!! wrong thread!!

Admins: you can go ahead and delete my comments.

sorry again!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Ahax pagination 9 47
Could you point a way to eliminate an array unexpected element? 8 39
Pull Variable from URL  Use php template 1 32
PHP Curl Problem 10 37
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question