"Last 300 Error Log" page blank
For all my cpanel accounts on my server the "last 300 errors" page is blank:
I have standard theme.
When i hover over the last 300 errors in cpanel i get a "disabled" icon on the mouse pointer.
I created a new blank account and run the domain.com/hitheregkg.html test. No result.
Nothing about hitheregkg.html in/usr/local/apache/logs/error_log.
Can you help me find a sollution?
-
Hello, 404 errors are not logged to the Apache error log by default. You can change the "LogLevel" parameter via "WHM >> Service Configuration >> Apache Configuration >> Global Configuration" to "Info" if you want the 404 errors to appear in the error logs. Thank you. 0 -
Ok, I don't need 404 errors in the log, but the real issue here is that nothing at all is in the "last 300 errors" in the cpanel interface. Any input on that? 0 -
Hello, Are you sure you have generated new errors on the website that are not 404 errors? Keep in mind that once logs are processed for an account through cpanellogd, the recent errors will no longer appear under the "Errors" option in cPanel. Thank you. 0 -
I'm pretty sure someone of my sites has produced errors. However, is there a way I can produce an error to be 100% sure? Would any php script with a syntax error do? 0 -
You shouldn't need a script to get a 404 (file not found) just open your example.com with a non existent URL like: example.com/onklmaps.php 0 -
You just told me 404-errors don't show up in the last 300 error log by default. I don't want to change defaults. A 500 error would show up, right? 0 -
Anyway, i made a clean account and made a single php file with: nonexisting.php does not exist so I got an 500 error. This produced an error_log in my public_html. However, nothing was logged in the "Last 300 errors" in cPanel interface. Should'nt it? 0 -
You just told me 404-errors don't show up in the last 300 error log by default. I don't want to change defaults. A 500 error would show up, right?
My apologies for skimming this thread. :rolleyes:0 -
Apology accepted ;-) 0 -
I'm pretty sure someone of my sites has produced errors. However, is there a way I can produce an error to be 100% sure? Would any php script with a syntax error do?
Hello, PHP error messages are not logged to the Apache error log. You could password protect a directory using the "Directory Privacy" option in cPanel and then attempt to access a file in that directory without authenticating to reproduce a "403" error code. Thank you.0 -
You could password protect a directory using the "Directory Privacy" option in cPanel and then attempt to access a file in that directory without authenticating to reproduce a "403" error code.
Ok, I tried that. I got a 401 Unauthorized on the page, but nothing in the log.0 -
Could you change the "LogLevel" parameter to "Info" via "WHM >> Service Configuration >> Apache Configuration >> Global Configuration" and let us know if that provides the logging details you are expecting? Thank you. 0
Please sign in to leave a comment.
Comments
12 comments