Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Home Page errors


Bazkaz

Recommended Posts

Hello,

 

So I logged on today and I'm seeing errors across the top of my site. I haven't even been changing things in the past two weeks so not sure why they are coming up now. Any help would be appreciated.

 

Errors:

Warning: session_save_path(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/tmp-www:/usr/local/share/pear:/usr/local/www/hostbaby:/www/mydomain.com) in /www/mydomain.com/web/catalog/includes/functions/sessions.php on line 118

 

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /www/mydomain.com/web/catalog/includes/functions/sessions.php:118) in /www/mydomain.com/web/catalog/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /www/mydomain.com/web/catalog/includes/functions/sessions.php:118) in /www/mydomain.com/web/catalog/includes/functions/sessions.php on line 67

 

Also getting two on my Admin page:

Warning: session_save_path(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/tmp-www:/usr/local/share/pear:/usr/local/www/hostbaby:/www/mydomain.com) in /www/mydomain.com/web/catalog/admin/includes/functions/sessions.php on line 110

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /www/mydomain.com/web/catalog/admin/includes/functions/sessions.php:110) in /www/mydomain.com/web/catalog/admin/includes/functions/sessions.php on line 67

 

I'm mainly worried about the homepage though as my customer can see it... :(

 

Any help would be greatly appreciated.

Link to comment
Share on other sites

I just had this too & had my hosting co. look into it. They said:

 

"This problem occured as we have introduced a new security feature called php_basedir protection. This protection will stop people from accessing other users' files via php scripts."

 

My host offered to disable the feature on affected accounts, which was nice :) Check to see if that's the problem with yours.

 

Hope that helps!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...