Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 24

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Archive > Mambo 4.5 > Mambo 4.5 General Talk

 
 
LinkBack Thread Tools Display Modes
Old 13.04.2004, 05:25   #1 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 24
jasonv is on a distinguished road
Default [FIXED] Site dead from content update. "failed to initialize storage module"

I was trying to address the weird problem I described in my previous post and I created a new "News" section with a new content category. When trying to save it, I got this in admin:

Code:
Fatal error: session_start(): Failed to initialize storage module. in /home/wfc/public_html/site/administrator/index2.php on line 40
This shows up after I log-in and it's all I see. I can't get past this.

Any ideas? My site's dead in the water right now.
jasonv is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 13.04.2004, 05:26   #2 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 24
jasonv is on a distinguished road
Default Re: HELP! Site dead from content update. "failed to initialize storage module"

Oh yeah, I was running 4.5 1.0.3 and just upgraded to 1.0.7, which didn't fix this.

<sigh>
jasonv is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.04.2004, 05:28   #3 (permalink)
Expert Mamber
 
visualdensity's Avatar
 
Join Date: Apr 2004
Location: Melbourne
Posts: 385
visualdensity is on a distinguished road
Send a message via ICQ to visualdensity Send a message via MSN to visualdensity
Default Re: HELP! Site dead from content update. "failed to initialize storage module"

Hmm... strange.. can you please paste your PHP info here?

It may be your session settings.
__________________
"If you cannot win, make the one ahead of you break the record."
| Visualdensity.com |
visualdensity is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 13.04.2004, 05:32   #4 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 24
jasonv is on a distinguished road
Default Re: HELP! Site dead from content update. "failed to initialize storage module"

Fixed it. Permissions problem, apparently.
jasonv is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 26.04.2004, 14:08   #5 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 2
habbers is on a distinguished road
Default Re: HELP! Site dead from content update. "failed to initialize storage module"

Can you please give a bit more information concerning just where the permission problem was. I am having the same problem and have tried upgrading my php version, made sure that the session_handler is set to files but nothing seems to get me past this error:

"Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /var/www/communityweb/administrator/index.php on line 64"

when I try and log in to the Adminstrator section. I installed mambo on my laptop first without any problems and the permissions appear to be identical.
habbers is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 27.04.2004, 06:38   #6 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 2
habbers is on a distinguished road
Default Re: HELP! Site dead from content update. "failed to initialize storage module"

Hmmm not sure what happened but today I tried accessing the site this time using a virtual domain that pointed straight at the Mambo install and was able to log into the administrator without any problems. However when I try and login using mydomain.com/mambodir I am still getting the same problem. Anyone have any ideas of why this would happen?

Not really a problem now but I am just curious

cheers
habbers is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 27.04.2004, 06:43   #7 (permalink)
Expert Mamber
 
visualdensity's Avatar
 
Join Date: Apr 2004
Location: Melbourne
Posts: 385
visualdensity is on a distinguished road
Send a message via ICQ to visualdensity Send a message via MSN to visualdensity
Default Re: HELP! Site dead from content update. "failed to initialize storage module"

Quote:
Originally Posted by habbers
Can you please give a bit more information concerning just where the permission problem was. I am having the same problem and have tried upgrading my php version, made sure that the session_handler is set to files but nothing seems to get me past this error:

"Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /var/www/communityweb/administrator/index.php on line 64"

when I try and log in to the Adminstrator section. I installed mambo on my laptop first without any problems and the permissions appear to be identical.
Is your /tmp file set to the correct permission? It might be because PHP could not write to it.

Quote:
Hmmm not sure what happened but today I tried accessing the site this time using a virtual domain that pointed straight at the Mambo install and was able to log into the administrator without any problems. However when I try and login using mydomain.com/mambodir I am still getting the same problem. Anyone have any ideas of why this would happen?
THAT.. I seriously do not know.. may be the path settings. Are they all correct ?
__________________
"If you cannot win, make the one ahead of you break the record."
| Visualdensity.com |
visualdensity is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 30.04.2004, 08:20   #8 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 1
sybbie is on a distinguished road
Default Re: HELP! Site dead from content update. "failed to initialize storage module"

This is a really common problem with new installations of Mambo when you're also setting up a server (Apache+PHP) at the same time.

Check the php conf files to find out where it's saving session data, then make sure the server user (apache on linux is usually 'nobody') has read-write permissions for that directory. New installations of PHP sometimes point to a temporary directory that's not permissioned correctly.

When Mambo saves data into session variables, a cookie is set userside, which identifies the data serialised in the session data stored in the temporary directory (often it's /tmp). If it can't create the file it'll crash out.

But I think there's a confounding variable here, due to the weirdness of being able to access it from the virtualhost but not the directory - I'll post when I have some clues!
sybbie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 30.10.2005, 17:21   #9 (permalink)
Baby Mamber
 
Join Date: Oct 2005
Posts: 1
futurahost is on a distinguished road
Default Re: HELP! Site dead from content update. "failed to initialize storage module"

Hello

Strong workaround is:

Edit your php.ini this way:
auto_prepend_file = /usr/local/lib/php.ini.prepend

On your /usr/local/lib/php.ini.prepend file put this:
<? session_module_name("files"); ?>

Of course, you can place your prepended file wherever you like, as long as you state it correctly on your auto_prepend_file directive of php.ini

Regards

Agustín Povarchik
FuturaHost.Com
futurahost is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
My Site getting "Attacked" What Can I DO? NarutoSeal Community Smalltalk 18 15.02.2006 21:03
Hide more content item info on category pages bulldog Mambo 5.0 Wishlist 13 07.05.2005 05:20
Better Site messenger for Mambo like that Lala Mambo 5.0 Wishlist 6 01.06.2004 11:56
How to have the PATH as SITE NAME? alfri Mambo 4.5 'How Do I' Questions 1 24.05.2004 02:18
How to link content items to main menu afru Mambo 4.5 'How Do I' Questions 3 11.04.2004 16:16


All times are GMT +2. The time now is 07:52.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.