Answer the question
In order to leave comments, you need to log in
Opencart gives error 502 or 504, how to fix?
I make a trial order, go to the control panel, click (show order), the panel takes a long time to load and then gives an error 502 or 504 time gateway, what could be the reason for this ??
nginx 1.8
php 5.6.9
debian 8
Answer the question
In order to leave comments, you need to log in
This is not issued by opencart, but by nginx.
You have too little timeout for rnr.
Write the following line in php.ini
max_execution_time 150;
If it doesn't help, share the nginx log (the default directory is /var/log/nginx/error.log
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question