Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Install errors w/ sessions.php


o0obruceleeo0o

Recommended Posts

Posted

I have searched for this quite a bit, but couldn't find my solution. I already tried the whitespace fix dealing with the headers, but there wasn't any whitespace. If anyone could point me in the right direction I would be much obliged. Heres the errors:

 

Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 107966 is not allowed to access owned by uid 0 in /mnt/storage/users/f/a/s/fasiclothing/catalog/admin/includes/functions/sessions.php on line 110

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mnt/storage/users/f/a/s/fasiclothing/catalog/admin/includes/functions/sessions.php:110) in /mnt/storage/users/f/a/s/fasiclothing/catalog/admin/includes/functions/sessions.php on line 67

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/storage/users/f/a/s/fasiclothing/catalog/admin/includes/functions/sessions.php:110) in /mnt/storage/users/f/a/s/fasiclothing/catalog/admin/includes/functions/sessions.php on line 67

Posted

Okay, the later errors are caused by the first. The first error is caused by your web hosting company running PHP in Safe Mode.

 

Even if you have your configure.php files set to store sessions in the database, and your website does store sessions in the database, Safe Mode still insists upon what it thinks is the correct pathway to a 'tmp' folder.

 

If you haven't already done so then set up a folder called 'tmp' in the root of your domain. Then in your osC admin panel, under Configuration --> Sessions use the full pathway to your 'tmp' folder e.g. /var/www/html/tmp or usr/local/apache/htdocs/tmp

 

This will get rid of the error message.

 

Vger

  • 3 weeks later...
Posted

I have the same problem, and understand how to fix it. But I haven't been able to get access to the admin control panel. Along the lines of the error messages listed above, I also get this:

 

Fatal error: Cannot re-assign $this in /sites/users/home/public_html/catalog/admin/includes/classes/upload.php on line 31

 

Anyway I can get rid of that and/or set the tmp folder manually without going through the control panel?

Archived

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

×
×
  • Create New...