Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error i the admin area in tools then Cache Control


firbest

Recommended Posts

Hi

 

the error i want to solve is the error in Error i the admin area in tools then Cache Control.

 

The erros is:

 

Error: Cache directory does not exist. Please set this Configuration->Cache.

 

 

Can any one help...

Link to comment
Share on other sites

The message is pretty obvious, go to Configuration->Cache and set the value to a directory that exists and has 777 permissions. :-"

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

  • 7 months later...
Is there anyone who can help me please !! :'(

 

If I give too much info here bear with me-- I saw several unanswered threads when I came looking for an answer to the same problem, discovered the resolution and I'm going to cut and paste this resolution into each of these threads so if I overexplain forgive me-- take what you need and go ;)

 

In the OSC admin tool under 'Configuration' select 'Cache'. Set 'Use Cache' to true and set the 'Cache Directory' to THE FULL PATH to your cache directory. That means the full path from the root of the file system on your server. You can pull this most of this from your /catalogs/includes/configure.php file-- the 'DIR_FS_CATALOG' has the path you need, just add 'cache/' to the end. So in the example below:

 

define('DIR_FS_CATALOG', '/home/myhostingacct/public_html/catalog/');

 

Add 'cache/' to the end making it '/home/myhostingacct/public_html/catalog/cache/' (without the singles quotes)

 

Plug this into the 'Cache Directory' entry and save it. Make sure there there are CHMOD 777 (full read/write access for all) permissions to the cache folder and you should be golden.

 

TESTING

------------

 

From the Admin tool go to 'Tools' and select 'Cache Control'. That pesky pink error message at the top should be gone now. If not, something is wrong. Check the path and check the permissions, that's all that could be wrong.

 

Notice that the file 'date created' for the three cache files is 'File does not exist'. Now browse your site, click a couple of the categories, and select a manufacturer from the box. Then refresh the 'Cache Control' page. You should see that they are updated now. If so-- it's working... have a nice day!

Jerry a.k.a. 'FoundSoul'

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...