Jump to content

Uncaught exception 'UnexpectedValueException' PRESTA 1.6


mrvirek

Recommended Posts

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

  • 3 weeks later...
  • 3 years later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...