Jump to content

Display fatal error 1.6


Recommended Posts

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 by mantas779 (see edit history)
Link to comment
Share on other sites

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 by mantas779 (see edit history)
Link to comment
Share on other sites

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

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

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

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 by mantas779 (see edit history)
Link to comment
Share on other sites

  • 2 months later...

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

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

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