Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error Error Messages! Please help


Guest

Recommended Posts

How to rectify these error messages:

 

At the online catalogue page:

Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 32037 is not allowed to access /tmp owned by uid 0 in /home/blue/public_html/catalog/includes/functions/sessions.php on line 118

 

Warning: Cannot modify header information - headers already sent by (output started at /home/blue/public_html/catalog/includes/functions/sessions.php:118) in /home/blue/public_html/catalog/includes/functions/general.php on line 1174

 

Warning: I am able to write to the configuration file: /home/blue/public_html/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

At the administration page:

Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 32037 is not allowed to access /tmp owned by uid 0 in /home/blue/public_html/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 /home/blue/public_html/catalog/admin/includes/functions/sessions.php:110) in /home/blue/public_html/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 /home/blue/public_html/catalog/admin/includes/functions/sessions.php:110) in /home/blue/public_html/catalog/admin/includes/functions/sessions.php on line 67

 

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

Link to comment
Share on other sites

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.

 

...and for the second error:

http://www.oscommerce.com/forums/index.php?sho...mp;#entry695675

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...