Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What do these warnings mean?


daioyayubi

Recommended Posts

I've been working on my site and it was close to going live, then I took some time off and when I went back to work on the site, I started getting these warnings on the main page and other similar ones on other pages:

 

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/usr/www/benscookies/web) in /usr/www/benscookies/web/store/includes/functions/sessions.php on line 148

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/www/benscookies/web/store/includes/functions/sessions.php:148) in /usr/www/benscookies/web/store/includes/functions/sessions.php on line 97

 

 

 

I don't know exactly what they are telling me and what caused them to appear all of the sudden. It was working when I last checked so I don't think it was anything I did to it. It's possible that the web host changed something and now they're showing up I just wanted to see if anyone else has seen warnings like this pop up and figured out how to fix it?

Link to comment
Share on other sites

***update***

 

I think I found out the problem. I think my hosting service turned on safe mode and that is why i was getting the warnings. I followed the advice of this post:

 

http://www.oscommerce.com/forums/index.php?sho...=181312&hl=

 

making sure this line was in my config file:

 

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

 

and then I went into my admin->configure->sessions and then just deleted the /tmp in the session directory spot and it seemed to fix all the errors I was having

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...