Pagina Inicial Forums SecAst (Security for Asterisk) Installation & Upgrade PHP / 500 error viewing some pages

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Avatar photoCustomer Inquiry
    Participant
    Post count: 203

    Although everything worked for a while, I’m now getting ‘500’ errors when viewing some items in the GRAPHS section of the SecAst web GUI. The http / apache log shows errors relating to require_once of SecAstError.class.php

    How do I solve this?

    Avatar photoTelium Support Group
    Participant
    Post count: 265

    The problem you are experiencing is most likely due to a PHP caching/optimization program installed in your server. For example, the APC (alternative PHP caching module) has some bugs that will cache an included file and they try to include it again (resulting in a PHP redefinition error, require_once error, etc). For details of the APC bug and possible solutions check out this link: https://pantheon.io/docs/alternative-php-cache/

    There are caching modules from other vendors (eg: Zend) with some similar issues. So you may also wish to disable caching of SecAst files since they don’t create much load on a server (relatively static, low volume). This is not a SecAst bug, but future versions of SecAst will try to detect the caching software and work around the issue.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.