Skip to content

500 Error

Charles Crossan edited this page Mar 30, 2019 · 14 revisions

When installing the ChurchCRM system on a hosting system sometimes you get the following message

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

If you see this before the Setup Screens.

File Permissions

By Default, zip file does not carry the correct file pers. After you unzip the file on the server run the following command.

cd <direcetory where you unzipped ChurchCRM>
find . -type d -exec chmod 755 "{}" \;
find . -type f -exec chmod 644 "{}" \;

cPanel File Manager does not allow for recursive permission update...

Check cPanal Logs for Errors

cPanal Should have a section to review your hosting Errors.

Check VM php Errors for issues.

if you running your own VM system, the PHP logs will include Error, please review them.

Coaxing SLIM to display the real error:

Described here, remove the keys from the slim $app:

unset($app->getContainer()['errorHandler']);
unset($app->getContainer()['phpErrorHandler']);

Configure the Bootstrapper debug mode

In Include\Config.php, set $debugBootstrapper = true;. If the variable is not already present in Config.php, you should add it.

This will cause the bootstrapper to write verbose logs as it sets up the environment.

The resulting debug log entries will be written to the log file for the current date (ending in -app.log).

Clone this wiki locally