mivox Posted January 22, 2004 Share Posted January 22, 2004 I get the following error sometimes in MS2.2, but it's periodic. It happens wherever in the osCommerce system I happen to be in, and other people have seen it happen on our store as well, in both the admin and public areas. The site will be working fine, and then when you click a link to move to another osCommerce page, this error pops up: Fatal error: session_start(): Failed to initialize storage module. in /path/to/admin/directory/includes/functions/sessions.php on line 67 I assumed it must be a server problem, since it comes and goes seeminly regardless of when, where or how I am accessing the site, but pair.com support says they don't know anything about it, and there are no problems with the server. Hoping someone else may have seen and fixed this before... Last night it got so frequent I could hardly update the product database, and I certainly don't want customers running into it. Link to comment Share on other sites More sharing options...
PrettyPink Posted February 8, 2004 Share Posted February 8, 2004 Seems like a world wide problem with php/apache Do a google on : " Failed to initialize storage module" and you will see what I mean. IMO .. it will mostly result when we choose to store sessions in DATABASE while installing/configuring oscommerce (and that seems to be the most secure way too) .. I understand the default location for php to store sessions is in FILES .. and storage in FILES is an unsecure way I understand .. anyone could steal vital information on an ecommerce site that way. My thinking stops here .. any clues on this would be most appreciated. Rgds PP Link to comment Share on other sites More sharing options...
Guest Posted March 13, 2004 Share Posted March 13, 2004 Here's your solution... In both configure.php scripts (catalog/includes and admin/includes) change: define('STORE_SESSIONS', ''); to: define('STORE_SESSIONS', 'mysql'); Problem solved, at least for me... :D JP Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.