skatos Posted September 13, 2005 Posted September 13, 2005 Hi, Im sorry for the bad error description in topic. I made a website for a client some months ago... and i installed him oscommerce and set up his little webshop. He then begann to fill it up with all his stuff... Everything worked fine... Now some months later he called me and asked me to fix some errors which appeared... I don?t know much about oscommerce or mysql... so pls don?t be angry if this is a nub problem... i just somehow managed to set up the shop :) so here is the error which comes when i open the shop: Warning: session_save_path(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/hosting/webs/home/i16264911) in /hosting/webs/home/i16264911/html/catalog/includes/functions/sessions.php on line 118 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /hosting/webs/home/i16264911/html/catalog/includes/functions/sessions.php:118) in /hosting/webs/home/i16264911/html/catalog/includes/functions/sessions.php on line 67 . . So plz... can anyone tell me what to do to get rid of those errors ? the shop still works fine... but it displays those errors on every page. what am i to do ? thx verry much in advance. greets from vienna /tim
AlanR Posted September 13, 2005 Posted September 13, 2005 First off... in catalog/includes/configure.php set the very last line like this: define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' That may solve all the problems. Try that first. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
skatos Posted September 13, 2005 Author Posted September 13, 2005 Hi, Allready did that... Before i did i had 1 more error :) thx greets /tim
AlanR Posted September 13, 2005 Posted September 13, 2005 OK, all the errors are related to the location of the /tmp folder although the open_basedir restriction may cause more problems. Create a tmp folder within your webspace, inside the catalog folder is fine. Then in your admin section, under Configuration -> Sessions set that to be the sessions directory. (You don't really have to name the folder tmp, it could be anything but you may as well.) See how you go. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
skatos Posted September 22, 2005 Author Posted September 22, 2005 Hi, still have the same problem... anyone any suggestions ? pleeeaaasse thx verry much greets /tim
Recommended Posts
Archived
This topic is now archived and is closed to further replies.