Debug mode - rvolz/BicBucStriim GitHub Wiki
Initially, in production mode, BicBucStriim uses the log settings provided by the web server. However, on some NAS devices the web server log is deactivated. In this case it is difficult to get error messages from the server. The debug mode can help here. To activate it you have to edit the file index.php
. Near the top there are the following lines of code:
# Init app and routes
$app = new \Slim\Slim(array(
'view' => new \Slim\Views\Twig(),
'mode' => 'production',
#'mode' => 'debug',
#'mode' => 'development',
));
Change the mode line to
#'mode' => 'production',
'mode' => 'debug',
After the change log files will appear in the data
directory, and you might see error messages in the browser. That should help to identify the problem.
Don't forget to undo the change afterwards, or you'll get lots of log files!