Howto debug templates in Akelos
One of the problems with having everything built into a framework is that, if someone messes up, it is really difficult to find where.
If you want to debug templates in Akelos (i.e. put error_log() calls inside your .tpl files), you’ll need to edit your config/config.php file and add
Then if you want to get more logs about what’s happening inside your application (as seen by Akelos), you can take the opportunity to also add
This last constant definition will write all internal logs to the log/ directory (log/production.log if you’re in production, or log/development.log if you’re in development mode)