Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

500 error when calling WHM::header

Discussion in 'General Discussion' started by mooseable, Apr 24, 2019.

  1. mooseable

    mooseable Registered

    Joined:
    Apr 24, 2019
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Perth, Australia
    cPanel Access Level:
    Root Administrator
    I have v78.0.21 installed with CloudLinux, CageFS and CSF+CXS.
    I've also got Engintron installed, but I can see when it calls "WHM::header('Engintron for cPanel/WHM', 1, 1);", it errors with;

    Warning: file_get_contents(/var/cpanel/caches/_generated_header_files/cache_keys.json): failed to open stream: Permission denied in /usr/local/cpanel/php/WHM.php on line 61

    We do not log in to WHM as root, instead as a reseller with "all" permissions.

    Even if I chmod that file as 777, it will not open the file.

    So I believe it may be a cageFS thing, but after any tips if someone has run in to the same thing.
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,124
    Likes Received:
    473
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider

    Does the issue persist with engintron disabled? This is a 3rd party product and has been known to cause issues.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mooseable

    mooseable Registered

    Joined:
    Apr 24, 2019
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Perth, Australia
    cPanel Access Level:
    Root Administrator
    Well, no, won't have an issue if I disable engintron, as engintron is the only application that calls "WHM::header" and "WHM::footer" that I can see.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,124
    Likes Received:
    473
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    We don't support Engintron, if you're having an issue being caused by the 3rd party plugin I'd suggest addressing it with the makers of the product.

    The provide support through github: engintron/engintron

    Their documentation can be found here: Engintron Documentation
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice