n0lla Posted October 20, 2006 Posted October 20, 2006 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!
Guest Posted October 22, 2006 Posted October 22, 2006 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'
Recommended Posts
Archived
This topic is now archived and is closed to further replies.