Jump to content

502 Bad Gateway attempting to open admin panel?


Oleg

Recommended Posts

Hello,

When I pass login and pass page is loading so long time then server returns me 502 Bad Gateway
It means that script uses a lot of system resources.
In error logs I have only these errors:

 

jara.md [Sun Apr 01 13:58:18 2018] [error] [pid 27216] sapi_apache2.c(325): [client 54.36.148.188:33466] PHP Fatal error:  Uncaught  --> Smarty: Unable to load template file '/errors/404.tpl' <-- \n  thrown in /home/o/oliwin4/jara/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php on line 129
jara.md [Sun Apr 01 14:08:36 2018] [error] [pid 26496] sapi_apache2.c(325): [client 46.166.45.171:36344] PHP Fatal error:  Uncaught  --> Smarty: Unable to load template file '/index.tpl' <-- \n  thrown in /home/o/oliwin4/jara/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php on line 129
jara.md [Sun Apr 01 14:08:48 2018] [error] [pid 26886] sapi_apache2.c(325): [client 46.166.45.171:36908] PHP Fatal error:  Uncaught  --> Smarty: Unable to load template file '/index.tpl' <-- \n  thrown in /home/o/oliwin4/jara/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php on line 129
jara.md [Sun Apr 01 14:09:16 2018] [error] [pid 31507] sapi_apache2.c(325): [client 46.166.45.171:38276] PHP Fatal error:  Uncaught  --> Smarty: Unable to load template file '/index.tpl' <-- \n  thrown in /home/o/oliwin4/jara/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php on line 129
jara.md [Sun Apr 01 14:09:29 2018] [error] [pid 31931] sapi_apache2.c(325): [client 46.166.45.171:38846] PHP Fatal error:  Uncaught  --> Smarty: Unable to load template file '/index.tpl' <-- \n  thrown in /home/o/oliwin4/jara/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php on line 129
jara.md [Sun Apr 01 14:23:35 2018] [error] [pid 17863] sapi_apache2.c(325): [client 54.36.148.121:51898] PHP Fatal error:  Uncaught  --> Smarty: Unable to load template file '/errors/404.tpl' <-- \n  thrown in /home/o/oliwin4/jara/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php on line 129

 

Can someone help me?

Maybe I can reset cache of smarty or replace all files? Seems it happens after deleting languages in system.

 

Frontend is working!

Edited by Oleg (see edit history)
Link to comment
Share on other sites

1) You are again having problems with permissions on your server (or files are missing). Please contact your provider and set the permissions accordingly (read the errors you added on post before -> unable to load) and check if the files are available there where your server are searching for it.

 

2) Activate debug mode and debug all errors you are having there: https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/

Link to comment
Share on other sites

BTW: the files index.tpl and /error/404.tpl are not coming from Prestashop. Prestashop does not search or use that files on the location your server is writing the error.

On root of the shop there is no index.tpl and also no /error/404.tpl. You should contact your provider and ask him to debug the rights and location your server is looking for the root of your shop. Seems that in the ini of your webspace there are wrong folders set.

Your problems are not a bug, but a server misconfiguration. Are you trying to install on xampp, or it is a live server ?

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