johberg Posted September 9, 2008 Posted September 9, 2008 Can anyone help me with this, please? I'm a newbie at this. I get these errors after I've installed OSC. I'm using Mysql 5.0 if that's any help Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid/gid is 4516/4516 is not allowed to access /tmp owned by uid/gid 0/0 in /mounted-storage/home106a/sub002/sc13550-IRXM/XXXXX/includes/functions/sessions.php on line 169 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mounted-storage/home106a/sub002/sc13550-IRXM/XXXXX/includes/functions/sessions.php:169) in /mounted-storage/home106a/sub002/sc13550-IRXM/XXXXX/includes/functions/sessions.php on line 102 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mounted-storage/home106a/sub002/sc13550-IRXM/XXXXX/includes/functions/sessions.php:169) in /mounted-storage/home106a/sub002/sc13550-IRXM/XXXXX/includes/functions/sessions.php on line 102 I also get this when I try to log in to admin Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid/gid is 4516/4516 is not allowed to access /tmp owned by uid/gid 0/0 in /mounted-storage/home106a/sub002/sc13550-IRXM/XXXXX/admin/includes/functions/sessions.php on line 165 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mounted-storage/home106a/sub002/sc13550-IRXM/XXXXX/admin/includes/functions/sessions.php:165) in /mounted-storage/home106a/sub002/sc13550-IRXM/XXXXX/admin/includes/functions/sessions.php on line 102 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mounted-storage/home106a/sub002/sc13550-IRXM/XXXXX/admin/includes/functions/sessions.php:165) in /mounted-storage/home106a/sub002/sc13550-IRXM/XXXXX/admin/includes/functions/sessions.php on line 102 Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home106a/sub002/sc13550-IRXM/XXXXX/admin/includes/functions/sessions.php:165) in /mounted-storage/home106a/sub002/sc13550-IRXM/XXXXX/admin/includes/functions/general.php on line 22
FIMBLE Posted September 9, 2008 Posted September 9, 2008 Hello Try to run this in your phpmyadmin UPDATE configuration SET configuration_value = 'tmp' WHERE configuration_key='SESSION_WRITE_DIRECTORY' Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
♥Vger Posted September 9, 2008 Posted September 9, 2008 Session Save Path and Safe Mode ------------------------------- The error is a by-product of using PHP in Safe Mode. To get around the problem go to your osCommerce Admin Panel --> Configuration --> Sessions and set Session Save Path to just tmp with no forward slash before or after tmp. You get this error even if you have elected to store sessions in the database. If the error prevents you from accessing your admin panel then access the database via phpMyAdmin, go to the 'configuration' table, find the Session Save Directory entry (there are several pages of entries for this table), open it for editing and change /tmp to just tmp with no slash before (or after) it. Vger
johberg Posted September 11, 2008 Author Posted September 11, 2008 Thx a lot guys. :rolleyes: Problem is fixed
SimpliSites Posted October 28, 2010 Posted October 28, 2010 THANKS GUYS! I am glad this forum is here for us php newbies, wow. The knowledge of a few help the needs of many. :) Take care and thanks again! Carl Towns SimpliSites Your .Com Made EASY
Recommended Posts
Archived
This topic is now archived and is closed to further replies.