Guest Posted February 26, 2008 Posted February 26, 2008 Can anyone tell me how to correct this warning message - It appears both above my main website pages and on the admin pages? - I am fairly new to OsCommerce so need step by step instructions: Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid/gid is 141283/1290217 is not allowed to access /data owned by uid/gid 0/0 in /data/members/paid/t/h/thepinksweetshop.co.uk/htdocs/www/includes/functions/sessions.php on line 148 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /data/members/paid/t/h/thepinksweetshop.co.uk/htdocs/www/includes/functions/sessions.php:148) in /data/members/paid/t/h/thepinksweetshop.co.uk/htdocs/www/includes/functions/sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /data/members/paid/t/h/thepinksweetshop.co.uk/htdocs/www/includes/functions/sessions.php:148) in /data/members/paid/t/h/thepinksweetshop.co.uk/htdocs/www/includes/functions/sessions.php on line 97 Thank you Nikki
♥Vger Posted February 26, 2008 Posted February 26, 2008 Session Save Path and Safe Mode ------------------------------- The error is a by-product of using PHP in Safe Mode while using a particular version of PHP 4. 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
satish Posted February 27, 2008 Posted February 27, 2008 As vger already stated a way out would be an sql update query or a search query then anupdate. select * from configuration where caofig value like '%tmp%' Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
Guest Posted February 27, 2008 Posted February 27, 2008 Session Save Path and Safe Mode------------------------------- The error is a by-product of using PHP in Safe Mode while using a particular version of PHP 4. 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 vger ---- Your a LIFESAVER Thank you so much. Do you know how I can change the background as I wanted a picture there? My website is - www.thepinksweetshop.co.uk Thank you Nikki
Recommended Posts
Archived
This topic is now archived and is closed to further replies.