PHP / 500 error viewing some pages

Installing SecAst, prerequisites, basic configuration, and troubleshooting performance and technical issues. As well, upgrades to SecAst and any underlying software.
Post Reply
User avatar
CRM User
Posts: 172
Joined: Sun Nov 27, 2016 3:41 pm

PHP / 500 error viewing some pages

Post by CRM User » Mon Dec 05, 2016 6:15 pm

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?
Account for questions transferred from CRM system
User avatar
Telium Support
Posts: 227
Joined: Sun Nov 27, 2016 3:27 pm

Re: PHP / 500 error viewing some pages

Post by Telium Support » Mon Dec 05, 2016 6:21 pm

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.
Post Reply