Index: kernel/nparser/template_cache.php =================================================================== --- kernel/nparser/template_cache.php (revision 13986) +++ kernel/nparser/template_cache.php (working copy) @@ -58,6 +58,11 @@ { parent::kHelper(); + if ( !defined('T_DOC_COMMENT') ) { + // method "TemplatesCache::_compress" uses such constant, but it's only available since PHP 5.0.0 + define('T_DOC_COMMENT', 366); + } + $this->BasePath = FULL_PATH . THEMES_PATH; $this->_compileToDatabase = defined('SAFE_MODE') && SAFE_MODE;