Error 500 - Looking for a detailed error

MaxenceDef

Member
Sep 28, 2017
5
0
1
France
cPanel Access Level
DataCenter Provider
Hi guys,

I got an account with display_errors ON but when I got an Error 500 I got nothing on my logs to know more about this error.

If I check my logs account :
/home/myclient/logs/myclient.com-ssl_log-Oct-2017.gz
I got something like this :
xxx.xxx.xxx.xxx - - [02/Oct/2017:16:41:29 +0200] "GET /modules/paybox/validation.php?alotofparameters HTTP/1.1" 500 - "-" "Paybox System IPN"

But I checked apache2 error_log (/var/log/apache2/error_log) and the error view on dashboard client, but I got nothing there.

Where should I look to get the correct error of this 500 ?

Thanks
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
Hi,

You should check the logs at /usr/local/apache/logs/error_log intead of searching for it in /var/log/
# tail -f /usr/local/apache/logs/error_log

Hit the above command and then browse your website and see the error in it..
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
Hello,

Are you sure there are no entries in the Apache error log (/var/log/apache2/error_log) when you encounter the "500" error code in your web browser? If not, can you verify the domain name resolves to the IP address associated with it's cPanel account?

Thank you.
 

MaxenceDef

Member
Sep 28, 2017
5
0
1
France
cPanel Access Level
DataCenter Provider
Thanks guys for your help.

I didnt know about this file /usr/local/apache/logs/error_log thanks @24x7server
I checked, but I got nothing there.

@cPanelMichael Yes Im sure, I used tail -f on access_log file and error file but when I hit a 500 on access_log, I see nothing on error file.
The DNS are correct because I see all the traffic on my cPanel.

I created a ticket on your support panel : 8924841

Thanks, I'm still looking for some tips :)