D
D
DaNko882015-08-24 13:44:12
PHP
DaNko88, 2015-08-24 13:44:12

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

2 answer(s)
R
ramjke, 2015-08-24
@ramjke

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

D
DaNko88, 2015-08-24
@DaNko88

also, only nginx hangs longer.
on apache, it works without problems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question