tonymouse9 Posted June 10, 2008 Share Posted June 10, 2008 Greetings, I just installed the latest version of osC and everything went very smoothly (my 4th installation) but I receive the following error code: Warning: session_save_path() [function.session-save-path]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/www/eh6227) in /www/eh6227/public_html/catalog/includes/functions/sessions.php on line 169 This is not one of the "internal" osC error codes that one encounters after install, and I can't find any examples of similar issues in the forum. It looks like /tmp is defined instead of /www/eh6227/sessiondata but I don't see a reference to the incorrect path in that specific file. Might there be other places that osC references /tmp? Or can anyone point me in another direction? Thanks, TMN Link to comment Share on other sites More sharing options...
BryceJr Posted June 10, 2008 Share Posted June 10, 2008 Locate STORE_SESSIONS definition in the your_store/admin/includes/configure.php file and your_store/includes/configure.php file and make it like this. define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' then Log in to your osc admin panel -- Configuration --> Sessions >> Session Save Path - change /tmp to tmp If you can't get to your osc admin panel, click here http://www.oscommerce.com/forums/index.php?sho...t&p=1246029 Link to comment Share on other sites More sharing options...
tonymouse9 Posted June 14, 2008 Author Share Posted June 14, 2008 Bryce, A tardy but very sincere thanks for that...I had never encountered anything like that before with similar installs on the same ISP. I would love to know why this happens, when you get a chance. Again, thanks very much! Link to comment Share on other sites More sharing options...
satish Posted June 14, 2008 Share Posted June 14, 2008 Your configuration file has some wrong values. Chek Your FS path. generally if the File path is pointing to a wrong location wher access is not then this will come. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
sondara Posted August 8, 2008 Share Posted August 8, 2008 Locate STORE_SESSIONS definition in the your_store/admin/includes/configure.php fileand your_store/includes/configure.php file and make it like this. define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' then Log in to your osc admin panel -- Configuration --> Sessions >> Session Save Path - change /tmp to tmp If you can't get to your osc admin panel, click here http://www.oscommerce.com/forums/index.php?sho...t&p=1246029 Thanks a lot, finally it works without error messages. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.