Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newbie Dumb Question


glusniffer1

Recommended Posts

Posted

Where and how do I fix this?Now you need to fully explain this I know it goes in my root directory..Just exactly what would this be?

 

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

The Hobby Undergound..."For The Pure Hobbyist"

Posted

The easiest way to fix it is to open the admin panel, select Configuration, then Cache, and set "use cache" to "false".

 

If you want to use the cache, which can speed things up a bit on high-traffic sites, create a folder under your site's top-level FTP folder (usually above the one your HTML/PHP files are in), and change the cache directory setting to give the server path to it. Look at the definition of DIR_FS_CATALOG in your configire.php for the general idea. Then you can set the "use cache" back to true.

Posted

Im getting alot of different answers here should I cache or should I not .....What is the popular vote no this? Also I need to make this file outside of my catalog file?

The Hobby Undergound..."For The Pure Hobbyist"

Posted

I do use the cache, but it is really effective only for high-traffic sites. The biggest benefit is that it cuts down on SQL queries.

 

Yes, the cache directory (it is not a "file") should be outside catalog - it should be outside your HTML root as well, if possible. It should also have protection of 755.

Posted

Is this my root directory?

 

define('DIR_FS_CATALOG', 'c:/hosting/webhost4life/member/fireball/catalog/');

The Hobby Undergound..."For The Pure Hobbyist"

Posted

MOST web hosts provide you with a folder structure that has a top level, accessible only by FTP, and then a "public_html", "htdocs" or similar folder underneath which is where your www files go. You want the cache folder outside the "public_html", such as under the top level folder.

 

If your host doesn't offer that, then you can put it anywhere you want but do protect it as 755 so that HTML users can't write to it. It looks to me as if your host is one of these, since ..member/fireball seems to be the highest you can go and still be your files.

Posted

OK now Im real confused......Also what do you mean by 755 I did it before but cant remember

The Hobby Undergound..."For The Pure Hobbyist"

Archived

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

×
×
  • Create New...