The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cPanel last 300 errors page blank

Discussion in 'General Discussion' started by did-vmonroig, Feb 15, 2016.

  1. did-vmonroig

    did-vmonroig Active Member

    Joined:
    Feb 6, 2012
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello.

    After reviewing this and this threads, I've a similar problem.

    Errors are being shown in /usr/local/apache/logs/error_log, with this format:

    Code:
    [Mon Feb 15 14:50:20.392371 2016] [fcgid:warn] [pid 786:tid 139917384414976] [client 104.194.26.204:61135] mod_fcgid: stderr: PHP Warning:  call_user_func() expects parameter 1 to be a valid callback, function 'qtranxf_default_not_available' not found or invalid function name in /home/user/public_html/wp-content/plugins/qtranslate-x/qtranslate_core.php on line 586
    But there is nothing in user's cPanel last 300 error log, available in htps://server:2083/.../frontend/paper_lantern/stats/errlog.html.

    This seems to happen to some users' accounts only. There are others with content in cPanel, and in error_log file, too.

    Any info is welcome, of course. :)
     
    #1 did-vmonroig, Feb 15, 2016
    Last edited by a moderator: May 6, 2016
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,761
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  4. did-vmonroig

    did-vmonroig Active Member

    Joined:
    Feb 6, 2012
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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:

    Code:
    [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.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,761
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  6. did-vmonroig

    did-vmonroig Active Member

    Joined:
    Feb 6, 2012
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Here you have: 7482039

    Regards.
     
  7. zye

    zye Well-Known Member

    Joined:
    Dec 6, 2002
    Messages:
    96
    Likes Received:
    1
    Trophy Points:
    8
    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
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,761
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you confirm that you are using Apache version 2.4 on this system? If so, please post the output from:

    Code:
    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.
     
  9. zye

    zye Well-Known Member

    Joined:
    Dec 6, 2002
    Messages:
    96
    Likes Received:
    1
    Trophy Points:
    8
    changed in httpd.conf LogLevel to 'info' and it works

    thx!
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,761
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  11. zye

    zye Well-Known Member

    Joined:
    Dec 6, 2002
    Messages:
    96
    Likes Received:
    1
    Trophy Points:
    8
    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
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,761
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,761
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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":

    Global Configuration - Documentation - cPanel Documentation

    cPanel 58 is currently only available on the "Edge" build tier. Information about the versioning and release process is available at:

    cPanel & WHM Product Versions and the Release Process

    Thank you.
     
Loading...

Share This Page