Jump to content



Photo
- - - - -

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


This topic has been archived. This means that you cannot reply to this topic.
7 replies to this topic

#1   Razerz

Razerz
  • Members
  • 4 posts

Posted 03 April 2008 - 16:44

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

#2   Vger

Vger
  • Members
  • 16,978 posts

Posted 03 April 2008 - 17:24

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

#3   Razerz

Razerz
  • Members
  • 4 posts

Posted 03 April 2008 - 18:51

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).

#4   lanyelle

lanyelle
  • Members
  • 1 posts

Posted 04 April 2008 - 16:09

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!

#5   Coopco

Coopco
  • Members
  • 9,557 posts

Posted 05 April 2008 - 01:08

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.yourdomai...m/catalog/admin or http://www.yourdomainname.com/admin

or something similar, depending on how your site is set up.


The Coopco Underwear Shop



If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

#6   dharvn

dharvn
  • Members
  • 18 posts

Posted 01 May 2008 - 22:28

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?

#7   WWWCur

WWWCur
  • Members
  • 1 posts

Posted 07 February 2010 - 16:50

Please, take a look at kinglogic.ru/content/view/123/72 Your problem has been solved there.

Edited by Jan Zonjee, 07 February 2010 - 17:28.


#8   Guardian_Tech

Guardian_Tech
  • Members
  • 22 posts

Posted 27 July 2011 - 17:48

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.

Edited by Guardian_Tech, 27 July 2011 - 17:50.