Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No such file or directory cache.php


opheliapayne

Recommended Posts

Posted

On page 15 of the documentation, it discusses turning the cache on.

 

Following the directions, I created a folder called "cache" and chmod 777.

 

I then went to the config>cache and changed the absolute directory for the cache directory and turned it on.

 

I made sure it was the absolute path by taking what was in backup and putting this before the /cache/

 

I also had to create the 3 files it suggests, and did so, naming them correctly.

 

When I go into tools > cache control, I no longer get the "file does not exist" error. I get a different error instead. This is what is on my page.

 

Cache Control

 

Warning: filemtime(): Stat failed for /home/mysite/public_html/store/cachecategories_box-english.cache (errno=2 - No such file or directory) in /home/mysite/public_html/store/admin/cache.php on line 95

 

Warning: filemtime(): Stat failed for /home/mysite/public_html/store/cachemanufacturers_box-english.cache (errno=2 - No such file or directory) in /home/mysite/public_html/store/admin/cache.php on line 95

 

Warning: filemtime(): Stat failed for /home/mysite/public_html/store/cachealso_purchased-english.cache (errno=2 - No such file or directory) in /home/mysite/public_html/store/admin/cache.php on line 95

 

Cache Blocks Date Created Action

Categories Box 12/31/1969 19:00:00 Reset

Manufacturers Box 12/31/1969 19:00:00 Reset

Also Purchased Module 12/31/1969 19:00:00 Reset

 

Cache Directory: /home/mysite/public_html/store/cache

 

--

 

Any ideas what I've done wrong and how to fix it?

Posted
store/cachecategories_box-english
It gave you a hint. There should be a / between cache and categories. You apparently don't have something defined correctly. when you define your cache directory, remove the second / and see if that works.

Archived

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

×
×
  • Create New...