cinder Posted November 20, 2006 Posted November 20, 2006 After installing oscommerce i get these warning can some one please help i have tried every thing i know. --------------------------------------------------------------------------------------------------------------------------- Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid/gid is 19298/19298 is not allowed to access owned by uid/gid 0/0 in /mounted-storage/my -server - info/pigleystreasures.org/catalog/includes/functions/sessions.php on line 148 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mounted-storage/my -server - info/pigleystreasures.org/catalog/includes/functions/sessions.php:148) in /mounted-storage/my -server - info/pigleystreasures.org/catalog/includes/functions/sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mounted-storage/my -server - info/pigleystreasures.org/catalog/includes/functions/sessions.php:148) in /mounted-storage/my -server - info/pigleystreasures.org/catalog/includes/functions/sessions.php on line 97 Warning Warning: The sessions directory does not exist: /sessions. Sessions will not work until this directory is created.
Guest Posted November 20, 2006 Posted November 20, 2006 Download and open both /includes/configure.php and /admin/includes/configure.php in a text editor and set: define('STORE_SESSIONS', 'mysql'); (its at the bottom of each file) Upload the files to your server :) Sonia
cinder Posted November 21, 2006 Author Posted November 21, 2006 I looked at both files and they already seems to be set that way and im not able to fix it and wondered if you had any other ideas?
Guest Posted November 22, 2006 Posted November 22, 2006 I have the same problem, does the define('STORE_SESSIONS', 'mysql'); have to be the last text on the page, as mine reads this... define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?>
Druid6900 Posted November 22, 2006 Posted November 22, 2006 I have the same problem, does the define('STORE_SESSIONS', 'mysql'); have to be the last text on the page, as mine reads this... define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> A question to both of you. What hosting company are you with? I believe your problem may be that both of your ISPs have safe_mode set to ON and it is interferring with the fuctioning of (all or part of) the script. You may want to get in touch with your ISP(s) and ask them if they would turn it off on the server you're hosted on or move you to a server where it's already set to OFF (some places have servers set up both ways). I wouldn't hold out too much hope though as some Providers see having it set to OFF as an unacceptable security risk (which, of course, it isn't. No Good Deed EVER Goes Unpunished
♥Vger Posted November 22, 2006 Posted November 22, 2006 Go to your osCommerce admin panel --> Configuration --> Sessions and set the session path to just tmp with no slash before or after tmp. That will solve the problem. Vger
cinder Posted November 24, 2006 Author Posted November 24, 2006 Yes your right the safe_mode was on and i turned it off and am running now. and thanks for the help :)
Druid6900 Posted November 24, 2006 Posted November 24, 2006 Yes your right the safe_mode was on and i turned it off and am running now. and thanks for the help :) Always a pleasure to help someone out. After a while, you'll be able to offer advice on the things that drove YOU nuts too :D No Good Deed EVER Goes Unpunished
Recommended Posts
Archived
This topic is now archived and is closed to further replies.