Razerz Posted April 3, 2008 Share Posted April 3, 2008 Warning: session_save_path(): SAFE MODE Restriction in effect. The script whose uid/gid is 145445/145445 is not allowed to access owned by uid/gid 0/0 in /hsphere/local/home/creativu/iknos.se/catalog/includes/functions/sessions.php on line 169 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /hsphere/local/home/creativu/iknos.se/catalog/includes/functions/sessions.php:169) in /hsphere/local/home/creativu/iknos.se/catalog/includes/functions/sessions.php on line 102 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /hsphere/local/home/creativu/iknos.se/catalog/includes/functions/sessions.php:169) in /hsphere/local/home/creativu/iknos.se/catalog/includes/functions/sessions.php on line 102 This is the error I get after installing osCommerce 2.2 RC2a. I am not very fluent in php, so I can't really make something useful out of the error message. The only thing I know is that I can't log in to the admin panel as this is the only thing appearing. It also appears at the top of the page in the store. Any help is greatly appreciated. The site is www.iknos.se/catalog Thanks beforehand Sebastian Link to comment Share on other sites More sharing options...
♥Vger Posted April 3, 2008 Share Posted April 3, 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 Link to comment Share on other sites More sharing options...
Razerz Posted April 3, 2008 Author Share Posted April 3, 2008 Thank you very much! It worked! The only thing is that I changed the SESSION_WRITE_DIRECTORY from /tmp to tmp and not the Session Save Directory (as I couldn't find that entry). Link to comment Share on other sites More sharing options...
lanyelle Posted April 4, 2008 Share Posted April 4, 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 How so I access the osCommerce Admin Panel --> Configuration --> Sessions? I am having a similar errors, Warning: session_save_path(): SAFE MODE Restriction in effect. The script whose uid is 508 is not allowed to access owned by uid 0 in /home/virtual/site304/fst/var/www/html/catalog/includes/functions/sessions.php on line 169 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/virtual/site304/fst/var/www/html/catalog/includes/functions/sessions.php:169) in /home/virtual/site304/fst/var/www/html/catalog/includes/functions/sessions.php on line 102 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/virtual/site304/fst/var/www/html/catalog/includes/functions/sessions.php:169) in /home/virtual/site304/fst/var/www/html/catalog/includes/functions/sessions.php on line 102 Any help would be most appreciated! Link to comment Share on other sites More sharing options...
Guest Posted April 5, 2008 Share Posted April 5, 2008 How so I access the osCommerce Admin Panel --> Configuration --> Sessions? I am having a similar errors, Warning: session_save_path(): SAFE MODE Restriction in effect. The script whose uid is 508 is not allowed to access owned by uid 0 in /home/virtual/site304/fst/var/www/html/catalog/includes/functions/sessions.php on line 169 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/virtual/site304/fst/var/www/html/catalog/includes/functions/sessions.php:169) in /home/virtual/site304/fst/var/www/html/catalog/includes/functions/sessions.php on line 102 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/virtual/site304/fst/var/www/html/catalog/includes/functions/sessions.php:169) in /home/virtual/site304/fst/var/www/html/catalog/includes/functions/sessions.php on line 102 Any help would be most appreciated! browse to http://www.yourdomainname.com/catalog/admin or http://www.yourdomainname.com/admin or something similar, depending on how your site is set up. Link to comment Share on other sites More sharing options...
dharvn Posted May 1, 2008 Share Posted May 1, 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 _____________________________________ i don't understand, where do i go to find this? Link to comment Share on other sites More sharing options...
WWWCur Posted February 7, 2010 Share Posted February 7, 2010 Please, take a look at kinglogic.ru/content/view/123/72 Your problem has been solved there. Link to comment Share on other sites More sharing options...
Guardian_Tech Posted July 27, 2011 Share Posted July 27, 2011 vger your my hero man! But what would cause this? Would server updates or problems with the server? I have done no updates to my website and then came in today to this error. I made the change to /tmp to tmp and it fixed it but why? I never changed that in the first place nor was any other updates done "website side" before this error happend. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.