Error logging and debugging
15 December 2017 | 6 views | Tags: Documentation
Tuskfish logs errors to trust_path/log/tuskfish_log.txt. So if you are experiencing problems download this logfile and take a look inside, it will give you the file name, line number and type of errors that have been encountered.
You can also enable on-screen debugging by editing the file trust_path/libraries/tuskfish/class/TfishLogger.php and commenting/uncommenting the following code in the function logErrors():
// Debug only - comment OUT in production site:
// echo '<p>' . print($message) . '</p>';
// Debug only - UNCOMMENT in production site.
As errors will appear on-screen you may wish to close your site to the public (via the preferences page) while you debug it. When you are finished make sure you revert the code back to its production state before re-opening it to public access.
Copyright, all rights reserved.
The user manual provides a comprehensive guide to Tuskfish CMS operations. It covers all all aspects from installation to adding and curating content, managing site security and customisation of themes. For additional information on how to customise Tuskfish please see the developer guide.