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)

Related Posts

Installing php-imagick on CentOS 5

For some reason I find myself having to work with CentOS a lot...


“PHP (recursive acronym for “PHP: Hypertext Preprocessor”) is a widely-used Open Source general-purpose...