charles Posted December 18, 2003 Share Posted December 18, 2003 In 'admin' I find the following under Tools_Cache Contol Cache Control Date Created Action Categories Box File does not exist Manufacturers Box File does not exist Also Purchased Module File does not exist Cache Directory: /tmp/ I have verified that the files do exist so it is a path name problem. Does anyone have any ideas where to look or what to change in configure.php? Thanks, Charles We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding. Link to comment Share on other sites More sharing options...
geenygreat Posted December 18, 2003 Share Posted December 18, 2003 Have you turned Cache on through Admin -> configuration -> Cache There after once you access your site (catalog) , cache will be automatically created. Link to comment Share on other sites More sharing options...
charles Posted December 19, 2003 Author Share Posted December 19, 2003 Geen, Thanks for the suggestion. Well, I got into admin/configuration/cach and set cache to 'true'. Then I brought up the catalog site and even logged in as a site user. Still no luck. Any more suggestions? Do I need to do anything specific on the site, like buy something, to cause these cache files to be created? Thanks, Charles We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding. Link to comment Share on other sites More sharing options...
geenygreat Posted December 19, 2003 Share Posted December 19, 2003 What is cache directory path defined in Admin -> Configurations -> Cache? Link to comment Share on other sites More sharing options...
charles Posted December 19, 2003 Author Share Posted December 19, 2003 Cache Directory => /temp/ I've searched through the WIKI docs => nothing. Also some bug reports. Ive seen references to creating a cache directory but nothing tells where to create it. Also, I've seen reference to the boxes which gave me the impression that each box is a cache? But how? A box is a file not a folder. Besides, the boxes are in their own directory, 'BOXES'. Is that the cache? Now I know the difference between cache and boxes and... cash boxes, the filling of which is the whole purpose of OSC. But I can't fill the cash boxes if the boxes aren't in the cache. To say the least, I'm cache poor. :lol: But seriously, I'm very confused. One example shows the cache directory in a server root somewhere. Another post refers to the cache.php file. In that file I find the following: $filename = DIR_FS_CACHE . $filename; However, in examining catalog/includes/configure.php and admin/includes/configure.php I can fine no DEFINE line defining a path to cache. In short, I find a lot of sketchy hints, but no instructions, for setting up a cache directory. Any help would be appreciated. Thanks, Charles We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding. Link to comment Share on other sites More sharing options...
geenygreat Posted December 19, 2003 Share Posted December 19, 2003 set this directory path as the absolute path to your catalog folder like /home/.../.../catalog/tmp/ (whatever absolute path to your catalog folder and tmp directory in catalog folder. create tmp directory in catalog and set the permission to 777 . then access your site and see if it works. Link to comment Share on other sites More sharing options...
geenygreat Posted December 19, 2003 Share Posted December 19, 2003 $filename = DIR_FS_CACHE . $filename; However, in examining catalog/includes/configure.php and admin/includes/configure.php I can fine no DEFINE line defining a path to cache. It is nowhere defined in the files, but defined only in database through configuration values. Link to comment Share on other sites More sharing options...
charles Posted December 19, 2003 Author Share Posted December 19, 2003 OK Through my FTP program I created a folder in the root directory (called 'html' on my server) and named it 'OSC_cache'. In Admin_Configuration_Cache I set 'Use Cache' to 'true' and the absolute directory path to the same root path as is listed by Admin for my database 'backups' folder. I did this to be sure that I used the correct directory path. To the end of that path I appended 'OSC_cache/'. So, now I have the absolute path for my cache set to /home/../../www/html/OSC_cache/ Now, checking in Admin_Tools_Cache Control, the pink error message saying Error: Cache directory does not exist. Please set this Configuration->Cache. has dissappeared, indicating that I have successfully created a cache folder. At this point the 'File does not exist' message still appears for Catagories Box, Manufacturers Box, and Also Purchased Module Next, I went to the live site, someserver.com/Catalog/ and refreshed the screen. I also logged in under a user name to be sure I put the shopping cart to some use. Upon returning to Admin_Tools_Cache Control, those same messages still appear, even after refreshing the screen. I have paid very close attention to case sensitivity, so, what am I missing? Thanks, Charles We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding. Link to comment Share on other sites More sharing options...
geenygreat Posted December 19, 2003 Share Posted December 19, 2003 Have you set the permission the cache directory as 777? Link to comment Share on other sites More sharing options...
charles Posted December 19, 2003 Author Share Posted December 19, 2003 I just FTP'd to verify and yes. Charles We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding. Link to comment Share on other sites More sharing options...
charles Posted December 19, 2003 Author Share Posted December 19, 2003 I also checked the directory paths in configure.php and verified that the three files were in their respective folders. but, are the three files those found in catalog or are they actually three different files which are supposed to get created in OSC_cache? Charles We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding. Link to comment Share on other sites More sharing options...
geenygreat Posted December 19, 2003 Share Posted December 19, 2003 upload three blank files in your cache directory: categories_box-english.cache manufacturers_box-english.cache also_purchased-english.cache if there are more languages, create more files replacing engish with language name and upload. Link to comment Share on other sites More sharing options...
charles Posted December 19, 2003 Author Share Posted December 19, 2003 Yep, that was it. Thank you very much. :D Charles We stand in ignorance only for questions not asked. Plug up the leaks in your knowledge base and open up a flood of understanding. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.