mrvirek Posted December 17, 2019 Share Posted December 17, 2019 Hello i have a problem when i try to clear cache. Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(/var/www/prestashop/cache/smarty/compile/fa): failed to open dir: Permission denied' in /var/www/prestashop/tools/smarty/sysplugins/smarty_internal_utility.php:242 Stack trace: #0 [internal function]: RecursiveDirectoryIterator->__construct('/var/www/presta...', 0) #1 /var/www/prestashop/tools/smarty/sysplugins/smarty_internal_utility.php(242): RecursiveDirectoryIterator->getChildren() #2 /var/www/prestashop/tools/smarty/Smarty.class.php(1469): Smarty_Internal_Utility::clearCompiledTemplate(NULL, NULL, NULL, Object(SmartyCustom)) #3 /var/www/prestashop/classes/SmartyCustom.php(99): Smarty->clearCompiledTemplate() #4 /var/www/prestashop/classes/SmartyCustom.php(118): SmartyCustomCore->check_compile_cache_invalidation() #5 /var/www/prestashop/classes/module/Module.php(2335): SmartyCustomCore->createTemplate('/var/www/presta...', NULL, NULL, Object(Smarty_Data)) #6 /var/www/prestashop/classes/module/Module.php(230 in /var/www/prestashop/tools/smarty/sysplugins/smarty_internal_utility.php on line 242 Prestashop 1.6.1.5 Link to comment Share on other sites More sharing options...
selectshop.at Posted December 17, 2019 Share Posted December 17, 2019 You are using a theme or a theme module incompatibel with your Prestashop and/or php version. If you are using non default theme, please revert with the problem to the developer. The same for modules integrated with the theme. Link to comment Share on other sites More sharing options...
mrvirek Posted January 7, 2020 Author Share Posted January 7, 2020 When i remove cache manually, everythink is fine for sometime, after 2 days. I can't remove cache from backend. So i need to disable modules one by one? Link to comment Share on other sites More sharing options...
Shwetab55 Posted August 3, 2023 Share Posted August 3, 2023 Hi @mrvirek I'm facing same issue, I'm getting 500 error on catalog price rules page, and when I delete cache manually from backend, everything works, but after few hours, it shows 500 error again. Would you please let me know how did you resolve this error? I'm using PS 1.7.6.5 Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now