wbackup83 Posted February 24, 2016 Share Posted February 24, 2016 Hello everyone, the shop I developed is based on 1.6.1.4. and i have a problem with the invoice view from the admin ...the client receive the mail with the invoice but when i click on the invoice from the order i receive the error 500. Analyzing the server log the problem is : [Wed Feb 24 20:38:58 2016] [error] [client 5.2.2.177:35160] - www.petfood.it - AH01215: thrown in /web/htdocs/www.petfood.it/home/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 129: /web/htdocs/www.petfood.it/home/admin823is1sns/index.php, referer http://www.petfood.it/admin823is1sns/index.php?controller=AdminOrders&id_order=4003&vieworder&token=5826697c9f95563ed51800cea318881a [Wed Feb 24 20:38:58 2016] [error] [client 5.2.2.177:35160] - www.petfood.it - AH01215: PHP Fatal error: Uncaught --> Smarty: Unable to load template file './global.tpl' in '/web/htdocs/www.petfood.it/home/pdf/footer.tpl' <-- : /web/htdocs/www.petfood.it/home/admin823is1sns/index.php, referer http://www.petfood.it/admin823is1sns/index.php?controller=AdminOrders&id_order=4003&vieworder&token=5826697c9f95563ed51800cea318881a Do you have an idea? I set the 755 permission on that controller but nothing Link to comment Share on other sites More sharing options...
globosoftware.net Posted February 25, 2016 Share Posted February 25, 2016 did you modify footer.tpl file? I guess you include 'global.tpl' to footer.tpl. I think you should upload footer.tpl file here. Link to comment Share on other sites More sharing options...
tuk66 Posted February 25, 2016 Share Posted February 25, 2016 I don't think that mentioned log message is related to your problem. Can see other errors? Link to comment Share on other sites More sharing options...
wbackup83 Posted February 25, 2016 Author Share Posted February 25, 2016 nope...i didn't modify anything....concerning the log ...i just clicked the button and the server log updated to the same error...so it's the old one [Thu Feb 25 15:54:28 2016] [error] [client 192.150.195.23:15642] - www.petfood.it - AH01215: thrown in /web/htdocs/www.petfood.it/home/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 129: /web/htdocs/www.petfood.it/home/admin823is1sns/index.php, referer http://www.petfood.it/admin823is1sns/index.php?controller=AdminOrders&id_order=4017&vieworder&token=5826697c9f95563ed51800cea318881a [Thu Feb 25 15:54:28 2016] [error] [client 192.150.195.23:15642] - www.petfood.it - AH01215: PHP Fatal error: Uncaught --> Smarty: Unable to load template file './global.tpl' in '/web/htdocs/www.petfood.it/home/pdf/footer.tpl' <-- : /web/htdocs/www.petfood.it/home/admin823is1sns/index.php, referer http://www.petfood.it/admin823is1sns/index.php?controller=AdminOrders&id_order=4017&vieworder&token=5826697c9f95563ed51800cea318881a Link to comment Share on other sites More sharing options...
tuk66 Posted February 26, 2016 Share Posted February 26, 2016 OK. You are right. There is no link to global.tpl template in the default /pdf/footer.tpl file. Try to replace this file by its original version. Link to comment Share on other sites More sharing options...
wbackup83 Posted February 26, 2016 Author Share Posted February 26, 2016 Thank you, that's solved the issue. 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