Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What do this error message means?


Guest

Recommended Posts

Posted

Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid/gid is 1493/80 is not allowed to access /tmp owned by uid/gid 0/0 in /usr/home/web/xxxxxx/admin/includes/functions/sessions.php on line 161

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /usr/home/web/xxxxxxx/admin/includes/functions/sessions.php:161) in /usr/home/web/xxxxxxx/admin/includes/functions/sessions.php on line 97

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/home/web/xxxxxxx/admin/includes/functions/sessions.php:161) in /usr/home/web/wxxxxxxx/admin/includes/functions/sessions.php on line 97

 

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/web/wxxxxxxx/admin/includes/functions/sessions.php:161) in /usr/home/web/xxxxxxx/admin/includes/functions/general.php on line 22

 

I got it right after the installation of oscommerce.

 

How can I get rid of this?

Posted

the only thing I can figure out that the path durring installation was incorrect.Is that your own server?

Posted

Try this: Go into the includes/configure.php, near the end, and change this:

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

to this

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

Also, try going into the osC Admin>> Configuration >> Sessions and set the temp directory to some directory under your own account. It's set to /tmp by default, which PHP may not actually have rights to write to.

 

-jared

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...