Skip to content
ucsflibtopfstedt edited this page Feb 27, 2013 · 7 revisions

General Troubleshooting Instructions

Enable PHP error logging

In your php.ini file, set log_errors to On and specify a log file path (make sure this is in a writeable location!) via the error_log option.
E.g.

log_errors = On
error_log = "/tmp/phperrors.log

Restart your web server, then tail that log file.

Check the application log files

Check the log-*.php files for any error messages. They are located under application/logs ( Ilios 2.2+) or system/logs (Ilios 2.1.2 or older) in your webroot directory.

Turn on DB Debug mode

NOT RECOMMENDED FOR PRODUCTION SYSTEMS!

In your database configuration file (application/config/database.php or system/application/config/database.php, depending on your Ilios version), set the db_debug flag to TRUE.

<?php
// ...
$db['default']['db_debug'] = true;

This will enable the display of database errors messages. For more details on database configuration see the CodeIgniter User Guide.