mocart Posted April 12, 2021 Share Posted April 12, 2021 (edited) Hi! when i try to go to CLINETS in BO i get error "502 Bad Gateway". all works, but only CLIENTS link not works. in php log i see this lines: 2021/04/13 06:17:59 [error] 1714#1714: *112 FastCGI sent in stderr: "ned index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.ph 2021/04/13 06:17:59 [error] 1714#1714: *112 upstream sent too big header while reading response header from upstream, client: 85.174.197.62, server: new.example.com, request: "GET /admin455uphrcp/index.php?controller=AdminCustomers&token=1dc27bdc261ff5a9b5178c412701cf80 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "new.example.com", referrer: "http://new.example.com/admin455uphrcp/index.php?controller=AdminLogin&token=5f500f10a685e82e877221520240d38f&redirect=AdminCustomers" how i can solve it? Thanks PS v. 1.6.1.1 php-fpm: PHP 7.0.33-47+ubuntu20.04.1+deb.sury.org+1 (cli) (built: Feb 23 2021 15:04:06) ( NTS ) nginx/1.18.0 (Ubuntu) upd: i tryed to clear cache folder, besides index.php but it not helps me Edited April 13, 2021 by mocart (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted April 13, 2021 Share Posted April 13, 2021 21 hours ago, mocart said: Hi! when i try to go to CLINETS in BO i get error "502 Bad Gateway". all works, but only CLIENTS link not works. in php log i see this lines: 2021/04/13 06:17:59 [error] 1714#1714: *112 FastCGI sent in stderr: "ned index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221 PHP message: PHP Notice: Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.ph 2021/04/13 06:17:59 [error] 1714#1714: *112 upstream sent too big header while reading response header from upstream, client: 85.174.197.62, server: new.example.com, request: "GET /admin455uphrcp/index.php?controller=AdminCustomers&token=1dc27bdc261ff5a9b5178c412701cf80 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "new.example.com", referrer: "http://new.example.com/admin455uphrcp/index.php?controller=AdminLogin&token=5f500f10a685e82e877221520240d38f&redirect=AdminCustomers" how i can solve it? Thanks PS v. 1.6.1.1 php-fpm: PHP 7.0.33-47+ubuntu20.04.1+deb.sury.org+1 (cli) (built: Feb 23 2021 15:04:06) ( NTS ) nginx/1.18.0 (Ubuntu) upd: i tryed to clear cache folder, besides index.php but it not helps me Look what the error says. So open the file /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php in an editor and look at line 221. You will see that this file is related to list_content.tpl of your theme but that the line numbers differ. Also, read this: https://stackoverflow.com/questions/23844761/upstream-sent-too-big-header-while-reading-response-header-from-upstream Link to comment Share on other sites More sharing options...
mocart Posted April 13, 2021 Author Share Posted April 13, 2021 6 minutes ago, musicmaster said: Look what the error says. So open the file /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php in an editor and look at line 221. You will see that this file is related to list_content.tpl of your theme but that the line numbers differ. Also, read this: https://stackoverflow.com/questions/23844761/upstream-sent-too-big-header-while-reading-response-header-from-upstream Thank you, very much! i added fastcgi_buffers 16 16k; fastcgi_buffer_size 32k; to nginx vhost conf and problem is solved. 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