Skip to main content

500 error when calling WHM::header

Comments

4 comments

  • cPanelLauren
    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.

    Does the issue persist with engintron disabled? This is a 3rd party product and has been known to cause issues.
    0
  • mooseable
    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.
    0
  • cPanelLauren
    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
    0
  • frogstarr78
    I'm having similar issues: Web interface permissions code does not work. " Issue #1106 " engintron/engintron The problem appears to be with your WHM.php code though. I have created a patch which partially solves the issue: WHM.php.patch However, the header and footer are, as @mooseable say, still not loading when the user is not root. I also attempted changing the permissions on the cache files to no avail.
    0

Please sign in to leave a comment.