• error display 502 BAD Gateway Ngix

  • Tell error you get when using VPSSIM & Other members help fix it

Tell error you get when using VPSSIM & Other members help fix it
Get 25 USD Free To USE VPSSIM
 #2506  by vpssim82
 01 Oct 2018 09:39
its weird that i can access the wp-admin but not the page

domain.com/wp-admin <- it works
domain.com <- error 502

any idea what is the error about?

i was trying to download the php-fpm log , it to big 7.3G , it already start, i will try to clear all the log then download it again after one hours.
 #2507  by nguyenoanh
 01 Oct 2018 09:44
Your error happened because of the code error.
You need to fix your code.
(maybe you should change to other themes and check .. i am not sure)

When the PHP code error happend many times, it will create Big size of PHP-PHM error log as yours.
Now, you should disabled the PHP-FPM errors log when you fix it:

VPSSIM menu ==> Change PHP Settings ==> On/Off PHP Error Log
=========================================================================
        VPSSIM (4.6.0.4) - Manage VPS/Server By HTTP://VPSSIM.COM
=========================================================================
                         Change PHP Settings
=========================================================================
Max Execution Time: 120 | Max Input Time: 120 | Allow url fopen: On
=========================================================================
Display Errors: Off | Allow url include = Off | Memory Limit: 120M
=========================================================================
File Uploads = Off | Upload Max Filesize: 927M | Max Input Vars: 10000
=========================================================================
Write PHP Error Log: Off
=========================================================================
Disabled Functions:
-------------------------------------------------------------------------
All PHP functions are being enabled
=========================================================================
How to use: http://go.vpssim.vn/configphpini
=========================================================================

1) Max Execution Time		   8) On/Off PHP Error Log
2) Max Input Time		   9) Upload Max Filesize
3) On/Off Allow Url Fopen	  10) Max Input Vars
4) On/Off Display Errors	  11) Enable/Disable PHP Functions
5) Memory Limit			  12) Install / Remove Imagick
6) On/Off Allow Url Include	  13) Install / Remove Ioncube
7) On/Off File Upload		  14) Install / Remove Suhosin
Type in your choice (0-Exit): 8
=========================================================================
Using this function to config On/Off write error log of PHP
-------------------------------------------------------------------------
Default: log_errors = On
-------------------------------------------------------------------------
Current: log_errors = Off
=========================================================================
You want to set [log_errors = On] ?  [y/N]
Get 25 USD Free To USE VPSSIM