Guest smo Posted April 30, 2012 Share Posted April 30, 2012 I'm getting these error messages pop up a lot when adding, editing products, options, skins or just about anything!! Can anyone shed some light? Warning: file_get_contents(/var/sites/r/rathernice.co.uk/public_html/shop/cache/f54d5.sql.05325ecb678af55c23315587fc14f74c.cache) [function.file-get-contents]: failed to open stream: No such file or directory in /var/sites/r/rathernice.co.uk/public_html/shop/classes/cache/file.class.php on line 147 Warning: unlink(/var/sites/r/rathernice.co.uk/public_html/shop/cache/f54d5.sql.05325ecb678af55c23315587fc14f74c.cache) [function.unlink]: No such file or directory in /var/sites/r/rathernice.co.uk/public_html/shop/classes/cache/file.class.php on line 151 Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 30, 2012 Share Posted April 30, 2012 I can't help, but those who can will want to know what version you're using, upgrade from what or clean install, what happens when you disable cache, was it ever working correctly, and possibly the url of your store - plus other info I can't think of at the moment. The more you can describe your situation the more likely someone is to be able to help. Quote Link to comment Share on other sites More sharing options...
Guest smo Posted April 30, 2012 Share Posted April 30, 2012 It was a clean install v5.0.8 No idea about disabling cache No it never worked correctly, this is the first install and its always done this. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 30, 2012 Share Posted April 30, 2012 Go to Store Settings, the Advanced tab. In the Performance section you can Disable Cache. Then go to Maintenance on the Sidebar and clear all the Cache settings there and save. Mark all the error messages as Read, then empty your browser cache and use the link to your shop at the right hand top of the Admin screen to open your store. See if you still get new copies of the error messages. Quote Link to comment Share on other sites More sharing options...
Guest smo Posted May 1, 2012 Share Posted May 1, 2012 Surely turning off Caching will make it slower, which is bad. I'd rather know what causes the error and fix it, than just turn that section off and end up with a slow system! Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted May 1, 2012 Share Posted May 1, 2012 No, I don't mean turn it off forever. But it should help coders know how to attack your problem if they know whether it exists or not when cache is disabled. Quote Link to comment Share on other sites More sharing options...
Toucan Web Design Posted May 1, 2012 Share Posted May 1, 2012 Might also be worth just clearing the cache from maintenance, it's possible that file got corrupted somehow, they'll just get regenerated if it finds them empty anyhow Quote Link to comment Share on other sites More sharing options...
Robsta Posted May 1, 2012 Share Posted May 1, 2012 Ensure the 'cache' directory has write permissions, CHMOD 777. Quote Link to comment Share on other sites More sharing options...
Guest smo Posted May 1, 2012 Share Posted May 1, 2012 I regenerated the cache files several times to try and clear the error (which is sporadic, doesnt happen evert time!) Directory is already CHMOD 777 :) Quote Link to comment Share on other sites More sharing options...
UGAChance Posted May 5, 2012 Share Posted May 5, 2012 I am getting with 5.0.8: PHP: [Warning] /hermes/bosweb/web061/b616/ipw.cccoinsatlanta/public_html/CUBECART_5/includes/lib/smarty/sysplugins/smarty_resource.php:693 - filemtime() [function.filemtime.php]: stat failed for /hermes/bosweb/web061/b616/ipw.cccoinsatlanta/public_html/CUBECART_5/cache/skin/1fc4f18114799b188bdaf6649f70cb984f06a36c.file.maintenance.index.php.php [Warning] /hermes/bosweb/web061/b616/ipw.cccoinsatlanta/public_html/CUBECART_5/includes/lib/smarty/sysplugins/smarty_internal_write_file.php:49 - unlink(/hermes/bosweb/web061/b616/ipw.cccoinsatlanta/public_html/CUBECART_5/cache/skin/1fc4f18114799b188bdaf6649f70cb984f06a36c.file.maintenance.index.php.php) [function.unlink.php]: No such file or directory [Warning] /hermes/bosweb/web061/b616/ipw.cccoinsatlanta/public_html/CUBECART_5/includes/lib/smarty/sysplugins/smarty_resource.php:693 - filemtime() [function.filemtime.php]: stat failed for /hermes/bosweb/web061/b616/ipw.cccoinsatlanta/public_html/CUBECART_5/cache/skin/244674c60a366fbe64cd9cdf7032eda2a5214e6b.file.main.php.php [Warning] /hermes/bosweb/web061/b616/ipw.cccoinsatlanta/public_html/CUBECART_5/includes/lib/smarty/sysplugins/smarty_internal_write_file.php:49 - unlink(/hermes/bosweb/web061/b616/ipw.cccoinsatlanta/public_html/CUBECART_5/cache/skin/244674c60a366fbe64cd9cdf7032eda2a5214e6b.file.main.php.php) [function.unlink.php]: No such file or directory [Warning] /hermes/bosweb/web061/b616/ipw.cccoinsatlanta/public_html/CUBECART_5/includes/lib/smarty/sysplugins/smarty_resource.php:693 - filemtime() [function.filemtime.php]: stat failed for /hermes/bosweb/web061/b616/ipw.cccoinsatlanta/public_html/CUBECART_5/cache/skin/5f12b3844da8e78166bbf16c7e23e744b32114b1.file.common.gui_message.php.php [Warning] /hermes/bosweb/web061/b616/ipw.cccoinsatlanta/public_html/CUBECART_5/includes/lib/smarty/sysplugins/smarty_internal_write_file.php:49 - unlink(/hermes/bosweb/web061/b616/ipw.cccoinsatlanta/public_html/CUBECART_5/cache/skin/5f12b3844da8e78166bbf16c7e23e744b32114b1.file.common.gui_message.php.php) [function.unlink.php]: No such file or directory Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.