Skip to main content

cPanel last 300 errors page blank

Comments

12 comments

  • vanessa
    Please search the forums. This question has been asked numerous times. "Last 300 Error Log" page blank
    0
  • cPanelMichael
    Hello :) Also, keep in mind there's a different log file for the Apache error logs. PHP errors are typically logged to the error_log file within the script's document root. Thank you.
    0
  • did-vmonroig
    I'm sorry, but I've reviewed some threads before creating a new one, because I couldn't find an answer, including the one you kindly linked, vanessa. For example, for one of the accounts with blank last 300 errors page, I've plenty of this line in /usr/local/apache/logs/error_log:
    [Tue Feb 16 13:06:31.597700 2016] [fcgid:warn] [pid 26657:tid 140184848877312] [client 91.253.173.132:62144] mod_fcgid: stderr: PHP Warning: preg_replace(): Compilation failed: invalid range in character class at offset 24 in /home/user/public_html_userdomain_it/classes/Tools.php on line 1150, referer: http://www.userdomain.it/126-product
    /home/user/public_html_userdomain_it/.htaccess is standard PrestaShop. There are no [R=] conditions. There is content in /home/user/public_html_userdomain_it/error_log, but it logs errors up to Feb 9th, so I think something has been misconfigured when changing to Easy Apache 4 and returning to 3. I would appreciate any ideas.
    0
  • cPanelMichael
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • did-vmonroig
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Here you have: 7482039 Regards.
    0
  • zye
    i have a simmilar problem - on all accounts the cpanel 300 most recent error messages error log is empty - but in /etc/httpd/domlogs/ files are generated with the domain name - how to resolve this? no .htaccess files in the customers dir running CLOUDLINUX 7.2 x86_64 standard WHM 56.0 (build 13) standard cpanel theme - x3
    0
  • cPanelMichael
    New i have a simmilar problem - on all accounts the cpanel 300 most recent error messages error log is empty - but in /etc/httpd/domlogs/ files are generated with the domain name - how to resolve this?

    Hello, Could you confirm that you are using Apache version 2.4 on this system? If so, please post the output from:
    grep -i LogLevel /usr/local/apache/conf/httpd.conf
    You can change the LogLevel to 'info' instead of 'warn' in the httpd.conf file and then run /usr/local/cpanel/bin/apache_conf_distiller to preserve the change. This should produce the log output you are looking for. Internal case EAL-3044 was opened to ensure LogLevel is set to "info" by default in EasyApache 4. Thank you.
    0
  • zye
    changed in httpd.conf LogLevel to 'info' and it works thx!
    0
  • cPanelMichael
    changed in httpd.conf LogLevel to 'info' and it works thx!

    I'm happy to see the issue is now resolved. I'll update this thread once the changes stemming from case EAL-3044 are released. Thank you.
    0
  • zye
    again my settings are overwritten and again error log was empty - please help me in changing the LogLevel to info PERMANENT and yes last time i ran /usr/local/cpanel/bin/apache_conf_distiller
    0
  • cPanelMichael
    again my settings are overwritten and again error log was empty - please help me in changing the LogLevel to info PERMANENT and yes last time i ran /usr/local/cpanel/bin/apache_conf_distiller

    Have you tried inserting the entry using the "Pre Main Include" option within the "WHM Home " Service Configuration " Apache Configuration " Include Editor" interface? Thank you.
    0
  • cPanelMichael
    You can change the LogLevel to 'info' instead of 'warn' in the httpd.conf file and then run /usr/local/cpanel/bin/apache_conf_distiller to preserve the change. This should produce the log output you are looking for. Internal case EAL-3044 was opened to ensure LogLevel is set to "info" by default in EasyApache 4.

    Hello, To update, the issue is addressed in cPanel 58 per the following entry in the change log: Implemented case CPANEL-6718: Provide Apache LogLevel Adjustment in WHM. Administrators can now configure the "LogLevel" parameter via "WHM >> Service Configuration >> Apache Configuration >> Global Configuration":
    0

Please sign in to leave a comment.