Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Big problem! Plz Help!


rizkhan

Recommended Posts

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

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

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

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

Archived

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

×
×
  • Create New...