rizkhan Posted January 17, 2004 Share Posted January 17, 2004 Hi everybody! This kind of err I have on the top of index.php after the first installation of os. Can you exlpain me what does it mean? Warning: is_dir(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/lib/php:/usr/local/mysql/bin:/usr/local/share/pear:/pub/home/onlineshop) in /pub/home/onlineshop/my/dukan/includes/header.php on line 30 Thanks! Link to comment Share on other sites More sharing options...
OceanRanch Posted January 17, 2004 Share Posted January 17, 2004 safe_mode needs to be set "off" in your php.ini file. Very the setting by going to your admin-->tools-->server_info and veryfing in the php section what your safe_mode set is. HTH Tom Link to comment Share on other sites More sharing options...
rizkhan Posted January 18, 2004 Author Share Posted January 18, 2004 it's off! safe_mode Off Off safe_mode_exec_dir no value no value safe_mode_gid Off Off safe_mode_include_dir no value no value Link to comment Share on other sites More sharing options...
Guest Posted January 18, 2004 Share Posted January 18, 2004 perhaps you do not have 'rights' to the root directory, and the /tmp folder . .l . Link to comment Share on other sites More sharing options...
Guest Posted January 18, 2004 Share Posted January 18, 2004 In catalog/includes/configure.php and admin/includes/configure.php set: define('STORE_SESSIONS', 'mysql'); or move your /tmp directory and redefine the paths in the same files. Matti Link to comment Share on other sites More sharing options...
rizkhan Posted January 18, 2004 Author Share Posted January 18, 2004 Respect to Johnson! I had define('STORE_SESSIONS', ''); now: define('STORE_SESSIONS', 'mysql'); Thanks also for all! Link to comment Share on other sites More sharing options...
rizkhan Posted January 18, 2004 Author Share Posted January 18, 2004 Sorry but when I entered admin area Tools>Cache Control on the top there is an error: Warning: is_dir(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/lib/php:/usr/local/mysql/bin:/usr/local/share/pear:/pub/home/onlineshop) in /pub/home/onlineshop/my/dukan/admin/cache.php on line 26 Error: Cache directory does not exist. Please set this Configuration->Cache. Link to comment Share on other sites More sharing options...
OceanRanch Posted January 18, 2004 Share Posted January 18, 2004 You can turn cache off in admin->configuration-cache and set it to false. Or you can set your cache directory to one that your web server can write to. "Johnson" had you set your seesions to be stored in the database - good idea. But the cache folder defaults to /tmp which you still don't have access to (for some reason). HTH Tom Link to comment Share on other sites More sharing options...
rizkhan Posted January 18, 2004 Author Share Posted January 18, 2004 :P in config>cache i just added the hole path to the folder! now it's working!!! Thanks all!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.