Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Found Error in Admin Section Cache Control


mirza_yasir4

Recommended Posts

Posted

Dear All

 

I am finding the following error lines when I open the admin panel cache control section

 

Warning: dir(/tmp/) [function.dir]: failed to open dir: Permission denied in /path_to/shop/admin/cache.php on line 89

Fatal error: Call to a member function on a non-object in /path_to/shop/admin/cache.php on line 91

 

can anybody help me solving this issue

Thanks and Regards

Yasir Imran Mirza

My Contributions

  • 2 weeks later...
Posted
Warning: dir(/tmp/) [function.dir]: failed to open dir: Permission denied in /path_to/shop/admin/cache.php on line 89
Your cache directory is pointing to a section of your server wherein your webhost doesn't allow access.

 

Log in to osc admin panel and under CONFIGURATION--CACHE, try one of these.

 

1. Change /tmp/ to tmp. Check if it works.

--or--

2. Create a folder in the root directory of your webspace and type the absolute path in the CACHE directory box.

Give that folder a 755 permission.

 

Ex: store_cache <-- folder name

 

abs path: /home/path_to/something/public_html/store_cache/ <--Cache directory

Posted

I put the absoluth path, First I see it from file manager and then place it into the configuration->cache->cache directory

now its working fine

 

Can you tell me, is there a difference between session directory and cache directory ?

 

why do we use them, can they be same?

Thanks and Regards

Yasir Imran Mirza

My Contributions

Archived

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

×
×
  • Create New...