Breckland Retail Posted February 14, 2019 Share Posted February 14, 2019 Hi, I have recently developed my forth prestashop site for a customer that has gone terribily wrong. The error, I'm getting in when trying to get to the admin page is: Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /var/www/html/auchterlonies/cache/smarty/compile/aa/d5/a0/wrt5c64e88f5df360.29902930' in /var/www/html/auchterlonies/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /var/www/html/auchterlonies/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/var/www/html/a...', '<?php /* Smarty...', Object(Smarty)) #1 /var/www/html/auchterlonies/tools/smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /var/www/html/auchterlonies/classes/controller/AdminController.php(1456): Smarty_Internal_TemplateBase->fetch() #3 /var/www/html/auchterlonies/classes/controller/Controller.php(198): AdminControllerCore->display() #4 /var/www/html/auchterlonies/classes/Dispatcher.php(373): ControllerCore->run() #5 /var/www/html/auchterlonies/admin0902/index.php(54): DispatcherCore->dispatch() #6 {main} thrown in /var/www/html/auchterlonies/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44 I've cleared all of the smarty files as recommended by someone on here, so the index.php files remain, but there is no sysplugins folder. Is this the issue, how do I fix it? Thanks Paul Link to comment Share on other sites More sharing options...
NemoPS Posted February 15, 2019 Share Posted February 15, 2019 Actually, it's a permission error, it can't write the cache. Check your folder permissions, especially if you just moved the site to a server Link to comment Share on other sites More sharing options...
Breckland Retail Posted February 16, 2019 Author Share Posted February 16, 2019 Thanks, I tried resetting the permissions with no joy, but then changed the owner to the same as apache and it was all fine. Thanks so much 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