PHP Notice: in file includes/template.php on line 251: include(cache/templates/default.page_header_tpl.php): failed to open stream: No such file or directory
PHP Notice: in file includes/template.php on line 251: include(hs/cache/templates/default.page_header_tpl.php): failed to open stream: No such file or directory
PHP Notice: in file includes/template.php on line 251: include(): Failed opening 'hs/cache/templates/default.page_header_tpl.php' for inclusion (include_path='.:/opt/plesk/php/7.0/share/pear')
PHP Notice: in file includes/template.php on line 251: include(hs/cache/templates/default.index_tpl.php): failed to open stream: No such file or directory
PHP Notice: in file includes/template.php on line 251: include(hs/cache/templates/default.index_tpl.php): failed to open stream: No such file or directory
PHP Notice: in file includes/template.php on line 251: include(): Failed opening 'hs/cache/templates/default.index_tpl.php' for inclusion (include_path='.:/opt/plesk/php/7.0/share/pear')
PHP Notice: in file includes/template.php on line 251: include(hs/cache/templates/default.page_footer_tpl.php): failed to open stream: No such file or directory
PHP Notice: in file includes/template.php on line 251: include(hs/cache/templates/default.page_footer_tpl.php): failed to open stream: No such file or directory
PHP Notice: in file includes/template.php on line 251: include(): Failed opening 'hs/cache/templates/default.page_footer_tpl.php' for inclusion (include_path='.:/opt/plesk/php/7.0/share/pear')
and when I go 'hs/cache/templates/default.page_header_tpl.php'
if(!defined('HS_WEB_ROOT'))
define('HS_WEB_ROOT', dirname(__FILE__) . '/');
define('HS_CACHE_DIR', HS_WEB_ROOT . 'cache/'); // cache directory
define('HS_CACHE_DIR_UPDATES', HS_WEB_ROOT . 'cache/updates/'); // cache directory for forum updates
define('HS_CACHE_DIR_TEMPLATES', HS_WEB_ROOT. 'cache/templates/'); // cache directory for custom templates (should not be the same as HS_CACHE_DIR)
It should use the full path when calling the files.