mantas779 Posted July 4, 2014 Share Posted July 4, 2014 (edited) I put PS in debug mode and get this Fatal error Customer login works also fine. Website is working fine, only i cant get in to my admin back end. Can i solve it with replacing some files? Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file './global.tpl' in 'footer.tpl'' in /var/www/domains/scooterdumper.nl/www/tools/smarty/sysplugins/smarty_internal_templatebase.php:127 Stack trace: #0 /var/www/domains/scooterdumper.nl/www/tools/smarty/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL, false, false, true) #1 /var/www/domains/scooterdumper.nl/www/cache/smarty/compile/bd/69/ff/bd69ff822f28ab2b94b6a213c2e44b2b45259ea7.file.footer.tpl.php(49): Smarty_Internal_Template->getSubTemplate('./global.tpl', NULL, NULL, NULL, NULL, Array, 0) #2 /var/www/domains/scooterdumper.nl/www/tools/smarty/sysplugins/smarty_internal_templatebase.php(180): content_53b172f7703193_12731060(Object(Smarty_Internal_Template)) #3 /var/www/domains/scooterdumper.nl/www/classes/controller/AdminController.php(1484): Smarty_Internal_TemplateBase->fetch('footer.tpl') #4 /var/www/domains/scooterdumper.nl/www/classes/controller/Controller.php(198): A in /var/www/domains/scooterdumper.nl/www/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 127 Edited July 4, 2014 by mantas779 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 4, 2014 Share Posted July 4, 2014 what template you use? default one? Link to comment Share on other sites More sharing options...
mantas779 Posted July 4, 2014 Author Share Posted July 4, 2014 what template you use? default one? Default template Link to comment Share on other sites More sharing options...
PSfever.com Posted July 4, 2014 Share Posted July 4, 2014 Have you tried clearing current cache? Link to comment Share on other sites More sharing options...
mantas779 Posted July 4, 2014 Author Share Posted July 4, 2014 Have you tried clearing current cache? yes tried on different pc,s Link to comment Share on other sites More sharing options...
PSfever.com Posted July 4, 2014 Share Posted July 4, 2014 This is not external cache, but internal. Right in Prestashop. Did you clean this one? Link to comment Share on other sites More sharing options...
mantas779 Posted July 5, 2014 Author Share Posted July 5, 2014 (edited) This is not external cache, but internal. Right in Prestashop. Did you clean this one? How can i do that, without logging in to the admin back end? Edited July 5, 2014 by mantas779 (see edit history) Link to comment Share on other sites More sharing options...
PSfever.com Posted July 5, 2014 Share Posted July 5, 2014 How can i do that, without logging in to the admin back end? You can login into your FTP and delete it right from the cache folder. Link to comment Share on other sites More sharing options...
mantas779 Posted July 5, 2014 Author Share Posted July 5, 2014 You can login into your FTP and delete it right from the cache folder. I see the cache folder, which folders in which tree must i delete? Link to comment Share on other sites More sharing options...
PSfever.com Posted July 5, 2014 Share Posted July 5, 2014 Delete the content of the compile folder, ot the folder itself. Keep the index.php file intact. Link to comment Share on other sites More sharing options...
mantas779 Posted July 5, 2014 Author Share Posted July 5, 2014 Delete the content of the compile folder, ot the folder itself. Keep the index.php file intact. ok i will, i deleted also already the content of cache/smarty/cache (not index file) Link to comment Share on other sites More sharing options...
mantas779 Posted July 5, 2014 Author Share Posted July 5, 2014 still no go, can i delete the files in this folders also? tools/smarty/sysplugins/smarty_internal_template.php Link to comment Share on other sites More sharing options...
vekia Posted July 5, 2014 Share Posted July 5, 2014 also, from error code we can read that problem is related to footer.tpl file it's a file from your template can you show contents of this file? Link to comment Share on other sites More sharing options...
mantas779 Posted July 5, 2014 Author Share Posted July 5, 2014 (edited) also, from error code we can read that problem is related to footer.tpl file it's a file from your template can you show contents of this file? Yes , from the bootstrap folder or the one in the admin tree? This is from the bootstrap folder } {if !$content_only} </div><!-- #center_column --> <DIV ALIGN="center"><img src="http://www.santander.nl/retailer-content/images/banner-728x90-scooter.gif"></DIV> {if isset($right_column_size) && !empty($right_column_size)} <div id="right_column" class="col-xs-12 col-sm-{$right_column_size|intval} column">{$HOOK_RIGHT_COLUMN}</div> {/if} </div><!-- .row --> </div><!-- #columns --> </div><!-- .columns-container --> <!-- Footer --> <div class="footer-container"> <footer id="footer" class="container"> <div class="row">{$HOOK_FOOTER}</div> </footer> </div><!-- #footer --> </div><!-- #page --> {/if} {include file="$tpl_dir./global.tpl"} </body> </html> Edited July 5, 2014 by mantas779 (see edit history) Link to comment Share on other sites More sharing options...
PSfever.com Posted July 5, 2014 Share Posted July 5, 2014 From this code it seems Ok. If you have not done any changes to your .tpl files, try reloading the original one from a brand new installation of Prestashop. DO NOT DELETE THAT smarty_internal_template.PHP FILE. Just wanted to make sure, that you won't miss it, that's why I used Caps Lock. After you reload the files, delete cache again and see if there is any result. Also, have you used the same browser again? It might be cached in your browser as well... Link to comment Share on other sites More sharing options...
mantas779 Posted July 5, 2014 Author Share Posted July 5, 2014 From this code it seems Ok. If you have not done any changes to your .tpl files, try reloading the original one from a brand new installation of Prestashop. DO NOT DELETE THAT smarty_internal_template.PHP FILE. Just wanted to make sure, that you won't miss it, that's why I used Caps Lock. After you reload the files, delete cache again and see if there is any result. Also, have you used the same browser again? It might be cached in your browser as well... I fooled around alot with the footer.tpl Ill change it with a fresh one. I tried it on different pc's with different browsers. Link to comment Share on other sites More sharing options...
PSfever.com Posted July 5, 2014 Share Posted July 5, 2014 They might be an error in the footer.tpl but even a small one can cause it not to load. So reloading the old "fresh" one might be a good idea. Link to comment Share on other sites More sharing options...
mantas779 Posted July 5, 2014 Author Share Posted July 5, 2014 They might be an error in the footer.tpl but even a small one can cause it not to load. So reloading the old "fresh" one might be a good idea. No same error, can i delete the cache in themes/default-bootstrap/cache folder? except the index file? Link to comment Share on other sites More sharing options...
tuk66 Posted July 7, 2014 Share Posted July 7, 2014 Probably yes, but I would rather focus at /cache/smarty/cache and /cache/smarty/compile subfolders. You can delete all from these folders, except index.php. Link to comment Share on other sites More sharing options...
mantas779 Posted July 7, 2014 Author Share Posted July 7, 2014 (edited) Probably yes, but I would rather focus at /cache/smarty/cache and /cache/smarty/compile subfolders. You can delete all from these folders, except index.php. Thx, i will try that, only did compile i think. Nothing changed! Need to get drastic now, time is running out, which files can i replace by fresh ones from a clean install? More (WHICH NOT) ? i mean also the : /www/tools/smarty/sysplugins/smarty_internal_templatebase.php Edited July 7, 2014 by mantas779 (see edit history) Link to comment Share on other sites More sharing options...
mantas779 Posted July 9, 2014 Author Share Posted July 9, 2014 Thx for the replys, witch didnt rely help, proberly my fault. I have the solution, you can close the topic. Link to comment Share on other sites More sharing options...
xhums1 Posted October 6, 2014 Share Posted October 6, 2014 Thx for the replys, witch didnt rely help, proberly my fault. I have the solution, you can close the topic. what was the solution? 1 Link to comment Share on other sites More sharing options...
El Patron Posted October 6, 2014 Share Posted October 6, 2014 what was the solution? best to post new topic with your error message. Link to comment Share on other sites More sharing options...
xhums1 Posted October 6, 2014 Share Posted October 6, 2014 best to post new topic with your error message. No, for me the footer.tpl was missing, have no idea why. Just curious what his error was about. I think it was the same, missing file, because I had to look twice to see it was missing (first I had the impression it was there, I guess late time is the issue here ) Link to comment Share on other sites More sharing options...
El Patron Posted October 6, 2014 Share Posted October 6, 2014 No, for me the footer.tpl was missing, have no idea why. Just curious what his error was about. I think it was the same, missing file, because I had to look twice to see it was missing (first I had the impression it was there, I guess late time is the issue here ) thanks for posting your solution! 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