Jump to content

Problem with Smarty after upgrading to 1.6.1.1


Recommended Posts

Hi !!

I just upgraded my store to Prestashop 1.6.1.1 and everything seemed to be working perfectly, but sometimes I get error pages in both front and backend, with this kind of text:

 

---
Fatal error: Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(/var/www/vhosts/juanitajo.com/httpdocs/cache/smarty/compile/80/eb/58): failed to open dir: No such file or directory' in /var/www/vhosts/juanitajo.com/httpdocs/tools/smarty/sysplugins/smarty_internal_utility.php:242 Stack trace: #0 [internal function]: RecursiveDirectoryIterator->__construct('/var/www/vhosts...', 0) #1 /var/www/vhosts/juanitajo.com/httpdocs/tools/smarty/sysplugins/smarty_internal_utility.php(242): RecursiveDirectoryIterator->getChildren() #2 /var/www/vhosts/juanitajo.com/httpdocs/tools/smarty/Smarty.class.php(1469): Smarty_Internal_Utility::clearCompiledTemplate(NULL, NULL, NULL, Object(SmartyCustom)) #3 /var/www/vhosts/juanitajo.com/httpdocs/classes/SmartyCustom.php(99): Smarty->clearCompiledTemplate() #4 /var/www/vhosts/juanitajo.com/httpdocs/classes/SmartyCustom.php(109): SmartyCustomCore->check_compile_cache_invalidation() #5 /var/www/vhosts/juanitajo.com/httpdocs/classes/controller/AdminCo in/var/www/vhosts/juanitajo.com/httpdocs/tools/smarty/sysplugins/smarty_internal_utility.php on line 242

---

 

If I refresh the page I get a similar error, and after refreshing a couple more times, it loads perfectly.

 

Please help!! I'm really confused on this and it was working really great before upgrading.

 

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...