benbow Posted July 25, 2008 Share Posted July 25, 2008 Hi, I have been taking a look through my files etc as i am having a problem on the purchase pages on my website. I have found a fatal error in my cache control as below Warning: dir() [function.dir]: SAFE MODE Restriction in effect. The script whose uid/gid is 144474/1306378 is not allowed to access /tmp/ owned by uid/gid 0/0 in /data/members/paid/f/a/fairytale-bridalwear.co.uk/htdocs/www/admin/cache.php on line 89 Warning: dir(/tmp/) [function.dir]: failed to open dir: No such file or directory in /data/members/paid/f/a/fairytale-bridalwear.co.uk/htdocs/www/admin/cache.php on line 89 Fatal error: Call to a member function on a non-object in /data/members/paid/f/a/fairytale-bridalwear.co.uk/htdocs/www/admin/cache.php on line 91 Could someone please point me in the right direction on how to solve this. Thanks in advance Link to comment Share on other sites More sharing options...
BryceJr Posted July 25, 2008 Share Posted July 25, 2008 Here are your options. 1. Log in to your osc admin panel >>configuration>>cache and set cache to false --OR-- 2.Create a folder and point your cache directory to it. Click Me for instructions Link to comment Share on other sites More sharing options...
benbow Posted July 25, 2008 Author Share Posted July 25, 2008 Hi, Thanks for replying so fast, I have already checked the configuration for the cache and it is already set to false, so i will give option two a try, Will let you know if this works. Thanks for your time and help. Link to comment Share on other sites More sharing options...
benbow Posted July 25, 2008 Author Share Posted July 25, 2008 Hi, Used the option 2, got rid of all red error messages, but now left with one at the top of the page in pink highlighted box message reads Error: Cache directory does not exist. Please set this Configuration->Cache. Could someone please advise me. Thanks again in advance. Link to comment Share on other sites More sharing options...
BryceJr Posted July 26, 2008 Share Posted July 26, 2008 Hi, Used the option 2, got rid of all red error messages, but now left with one at the top of the page in pink highlighted box message reads Error: Cache directory does not exist. Please set this Configuration->Cache. Could someone please advise me. Thanks again in advance. In tools--cache control... could you take a screenshot and post it here? Link to comment Share on other sites More sharing options...
benbow Posted July 26, 2008 Author Share Posted July 26, 2008 In tools--cache control... could you take a screenshot and post it here? Error: Cache directory does not exist. Please set this Configuration->Cache. Administration Support Site | Online Catalog | Administration Configuration Catalog Modules Customers Locations / Taxes Localization Reports Tools Database Backup Banner Manager Cache Control Define Languages File Manager Send Email Newsletter Manager Server Info Who's Online Cache Control Cache Blocks Date Created Action Cache Directory: /data/members/paid/f/a/fairytale-bridalwear.co.uk/htdocs/www/admin/saved_cache"/" E-Commerce Engine Copyright © 2005 osCommerce osCommerce provides no warranty and is redistributable under the GNU General Public License Powered by osCommerce "/" Not quite sure how to do a screenshot, but this is whats on the page. Link to comment Share on other sites More sharing options...
BryceJr Posted July 26, 2008 Share Posted July 26, 2008 Change this Cache Directory:/data/members/paid/f/a/fairytale-bridalwear.co.uk/htdocs/www/admin/saved_cache"/" To this Cache Directory: /data/members/paid/f/a/fairytale-bridalwear.co.uk/htdocs/www/admin/saved_cache/ To change that go to configuration>>cache-->cache directory You need to enable cache set to true. If everything works, you'll see in tools-cache control that files are being created. Link to comment Share on other sites More sharing options...
benbow Posted July 26, 2008 Author Share Posted July 26, 2008 Change thisCache Directory:/data/members/paid/f/a/fairytale-bridalwear.co.uk/htdocs/www/admin/saved_cache"/" To this Cache Directory: /data/members/paid/f/a/fairytale-bridalwear.co.uk/htdocs/www/admin/saved_cache/ To change that go to configuration>>cache-->cache directory You need to enable cache set to true. If everything works, you'll see in tools-cache control that files are being created. Hi, I have done what you suggested, but it still gives the message at the top of the page. All files have been created in the file manager / Admin. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.