Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Im getting som weird errors..


n0lla

Recommended Posts

Posted

Hi all.. Just installed oscommerce and im getting some weird sql errors witch i dont understand.

Can some one help me with these?:

 

Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/biz:/system/php) in /biz/sandborg.fi/html/shop/includes/functions/sessions.php on line 148

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /biz/sandborg.fi/html/shop/includes/functions/sessions.php:148) in /biz/sandborg.fi/html/shop/includes/functions/sessions.php on line 97

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /biz/sandborg.fi/html/shop/includes/functions/sessions.php:148) in /biz/sandborg.fi/html/shop/includes/functions/sessions.php on line 97

 

Thanks to you all!

Posted

Instead of using file based sessions it is better to use database sessions.

 

Edit your includes/configure.php file - find the line:

 

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

 

and change to

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

Archived

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

×
×
  • Create New...