giftmaster Posted November 12, 2004 Posted November 12, 2004 When I try to add or edit products I get this code: Fatal error: session_start(): Failed to initialize storage module: user (path: /tmp) in /home/chcgift/public_html/shop/admin/includes/functions/sessions.php on line 67 It goes away after I refersh my brouser a few times Any help would be great!! Ray
Guest Posted November 12, 2004 Posted November 12, 2004 you need to create a tmp directory, i would create a tmp directory at /home/chcgift so it is /home/chcgift/tmp for the path and in the store admin there are a few spots, logging and sessions which need to be changed. set the tmp to be 777 also, if u dont have it, set store sessions to mysql in the configure.php files
giftmaster Posted November 12, 2004 Author Posted November 12, 2004 I do have the tep folder already. The permission was set to 777. I changed it to 700 but still no luck. Ray
giftmaster Posted November 12, 2004 Author Posted November 12, 2004 I do have the tep folder already. The permission was set to 777. I changed it to 700 but still no luck.Ray <{POST_SNAPBACK}> I'm sorry, :blink: the permission was at 700 and I changed it to 777 sorry for the confusion Ray
giftmaster Posted November 12, 2004 Author Posted November 12, 2004 I'm sorry, :blink: the permission was at 700 and I changed it to 777sorry for the confusion Ray <{POST_SNAPBACK}> Any more??? :-"
Guest Posted November 12, 2004 Posted November 12, 2004 where do you have the directory located in your document root path? is it along the lines of what i proposed? and what do you have set in the admin area of the store for the path?
giftmaster Posted November 12, 2004 Author Posted November 12, 2004 I think I see the problem what you are talking about. In admin I see this in sessions Sessions Title Value Action Session Directory /tmp Force Cookie Use False Check SSL Session ID False Check User Agent False Check IP Address False Prevent Spider Sessions False Recreate Session False Session Directory If sessions are file based, store them in this directory. Date Added: 09/24/2004 Does the part in red have to go to my temp dir which is home/chc/temp ?
Guest Posted November 12, 2004 Posted November 12, 2004 yes. also look in the logging just above sessions. needs to go there too.
giftmaster Posted November 12, 2004 Author Posted November 12, 2004 I did the change in Admin and got this error: Warning: session_start(): open(home/chcgift/tmp/sess_fe3f4332a88fb714da813d31edabe9c8, O_RDWR) failed: No such file or directory (2) in /home/chcgift/public_html/shop/admin/includes/functions/sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/chcgift/public_html/shop/admin/includes/functions/sessions.php:67) in /home/chcgift/public_html/shop/admin/includes/functions/sessions.php on line 67 Could mabe I have 2 temp folders?
Guest Posted November 12, 2004 Posted November 12, 2004 if you are using this: Does the part in red have to go to my temp dir which is home/chc/temp ? then you need to have the path in the logging and sessions to temp and not to tmp and it should be /home/chc/temp or /home/chc/tmp and not home/chc/temp . . .
giftmaster Posted November 12, 2004 Author Posted November 12, 2004 Ok I got it....I think, Sessions are /home/chcgift/temp What part of Loggin do I change? is it /var/log/www/tep/page_parse_time.log ?
0zzie Posted November 26, 2004 Posted November 26, 2004 catalog/includes/configure.php and admin/includes/configure.php the last line was like this define('STORE_SESSIONS', ''); then I made it like this define('STORE_SESSIONS', 'mysql'); and problem went away.. my guess is that you arewriting to the tmp file in the root and when you refresh the browser a few times it overwrites all the files in th tmp dir so the error goes away but not for long until the file is overwritten again.. This hack keeps the tmp files in mysql Oz
mpgram Posted December 14, 2004 Posted December 14, 2004 I hate to add on to this thread, but I have the exact same problem and cannot figure it out. I have changed the setting from define('STORE_SESSIONS', ''); to define('STORE_SESSIONS', 'mysql'); With the first one I get errors and with the second I get errors. I have cleared out folders, created folders, cleared out the database sessions table, still no luck. Is there anything else to try here or am I over looking something obvious?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.