glusniffer1 Posted May 17, 2004 Posted May 17, 2004 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"
stevel Posted May 17, 2004 Posted May 17, 2004 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. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
Aziz Posted May 17, 2004 Posted May 17, 2004 220 Replies?? Newbie?? :P --------------------------------
glusniffer1 Posted May 18, 2004 Author Posted May 18, 2004 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"
stevel Posted May 18, 2004 Posted May 18, 2004 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. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
glusniffer1 Posted May 18, 2004 Author Posted May 18, 2004 When you say outside my html..what does that mean,also you mean a folder correct? The Hobby Undergound..."For The Pure Hobbyist"
glusniffer1 Posted May 18, 2004 Author Posted May 18, 2004 Is this my root directory? define('DIR_FS_CATALOG', 'c:/hosting/webhost4life/member/fireball/catalog/'); The Hobby Undergound..."For The Pure Hobbyist"
stevel Posted May 18, 2004 Posted May 18, 2004 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. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
glusniffer1 Posted May 18, 2004 Author Posted May 18, 2004 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"
stevel Posted May 18, 2004 Posted May 18, 2004 That is a protection code for the folder. Your FTP client can set it. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
Recommended Posts
Archived
This topic is now archived and is closed to further replies.