Steve Joms Posted August 25, 2016 Share Posted August 25, 2016 (edited) HI All, Does anyone here encountered this error? Fatal error: Uncaught --> Smarty: Invalid compiled template for 'helpers/list/list_header.tpl' <-- thrown in /var/www/html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 182 Please help me troubleshoot it. Then I enabled the PS_MODE_DEV and this the pointing error of http error 500 Fatal error: Uncaught --> Smarty: Invalid compiled template for '/var/www/html/modules/leobootstrapmenu/views/templates/hook/megamenu.tpl' <-- thrown in /var/www/html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 182 Thanks, Joe Edited August 30, 2016 by joms (see edit history) Link to comment Share on other sites More sharing options...
Steve Joms Posted August 25, 2016 Author Share Posted August 25, 2016 Then now I can't access my website HTTP Error 500 Link to comment Share on other sites More sharing options...
Dh42 Posted August 25, 2016 Share Posted August 25, 2016 Something is wrong with that template file, did you edit it? Link to comment Share on other sites More sharing options...
Steve Joms Posted August 25, 2016 Author Share Posted August 25, 2016 At first I can't access my back end due to smarty_internal_write_file.php on line 46 and then I manually cleared my cached in deleting folders in cache/smarty/compile. When I try to access again the back office now still same error so I put back again the back up of compile folder then now thats the error Fatal error: Uncaught --> Smarty: Invalid compiled template for '/var/www/html/modules/leobootstrapmenu/views/templates/hook/megamenu.tpl' <-- thrown in /var/www/html/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 182 then error 500 Link to comment Share on other sites More sharing options...
Dh42 Posted August 25, 2016 Share Posted August 25, 2016 Have you edited anything on your site recently? Link to comment Share on other sites More sharing options...
Steve Joms Posted August 25, 2016 Author Share Posted August 25, 2016 I edited the blockcart.tpl and blockcart.php but I revert it back my changes Link to comment Share on other sites More sharing options...
Dh42 Posted August 25, 2016 Share Posted August 25, 2016 It looks like something is wrong in that template. But it might be a disk space / permissions issue as well. Link to comment Share on other sites More sharing options...
Steve Joms Posted August 25, 2016 Author Share Posted August 25, 2016 That's right I didn't check first the storage, upon checking it I see that my storage is full and I free up some space and now Im reverting again my cache folder. i let you know if it works Link to comment Share on other sites More sharing options...
Dh42 Posted August 25, 2016 Share Posted August 25, 2016 Cool, good luck. Link to comment Share on other sites More sharing options...
Steve Joms Posted August 25, 2016 Author Share Posted August 25, 2016 If that step would not work maybe I will replace the whole website files with its backup. Link to comment Share on other sites More sharing options...
Steve Joms Posted August 25, 2016 Author Share Posted August 25, 2016 Still it does not work. I can access the BO but then I click some menu this is the error Fatal error: Uncaught --> Smarty: unable to write file /var/www/html/cache/smarty/compile/8a/9a/aa/wrt57be8714997547_14409884 <-- thrown in /var/www/html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46 And also error 500 still for the website Link to comment Share on other sites More sharing options...
Steve Joms Posted August 25, 2016 Author Share Posted August 25, 2016 (edited) This is now the error when I am accessing my website URL, I set the PS_MODE_DEV to true Warning: touch(): Utime failed: Permission denied in /var/www/html/tools/smarty/sysplugins/smarty_internal_template.php on line 192Fatal error: Uncaught --> Smarty: unable to write file /var/www/html/cache/smarty/compile/29/ef/a5/wrt57be87bdb4c6b0_49326885 <-- thrown in/var/www/html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46 I can't change the permission of this two files smarty_internal_write_file.php and smarty_internal_template.php Edited August 25, 2016 by joms (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted August 25, 2016 Share Posted August 25, 2016 That is a permissions issue, you should put in a ticket with your host about it. Link to comment Share on other sites More sharing options...
Sathyaseelan133 Posted August 25, 2016 Share Posted August 25, 2016 Hi joms, you have edited the "modules/leobootstrapmenu/views/templates/hook/megamenu.tpl". Pls check that template file and revert back the changes. And also try to clear the cache and choose "Never recompile template files" in the "Advanced parameters -> Performance" in backoffice this will solve the problem temporarily and to resolve the problem permanently you need to check the every edited template file. Link to comment Share on other sites More sharing options...
Steve Joms Posted August 25, 2016 Author Share Posted August 25, 2016 Im okay with that error the megamenu. When I select the performance menu this is the error Fatal error: Uncaught --> Smarty: unable to write file /var/www/html/cache/smarty/compile/29/ef/a5/wrt57be87bdb4c6b0_49326885 <-- thrown in/var/www/html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46 Link to comment Share on other sites More sharing options...
Steve Joms Posted August 25, 2016 Author Share Posted August 25, 2016 Hi All, my website is now working thanks to all of your comments 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