Help understanding this error message
Permalink
I was trying to apply a custom template to my auto_nav and now the auto_nav does not appear instead I keep getting this error message
Warning: include(D:\xampp\htdocs\natu\concrete\config/../blocks/autonav/templates\custom_view.php) [function.include]: failed to open stream: No such file or directory in D:\xampp\htdocs\natu\concrete\libraries\block_view.php on line 265
Warning: include() [function.include]: Failed opening 'D:\xampp\htdocs\natu\concrete\config/../blocks/autonav/templates\custom_view.php' for inclusion (include_path='.;D:\xampp\php\pear\;D:/xampp/htdocs/natu/libraries/3rdparty;D:\xampp\htdocs\natu\concrete\config/../libraries/3rdparty') in D:\xampp\htdocs\natu\concrete\libraries\block_view.php on line 265
I checked line 265 in the block_view.php and I can only see this include($template);
Would appreciate if someone could explain whats going wrong here that is causing the custom template for the auto_nav block from being applied.
Warning: include(D:\xampp\htdocs\natu\concrete\config/../blocks/autonav/templates\custom_view.php) [function.include]: failed to open stream: No such file or directory in D:\xampp\htdocs\natu\concrete\libraries\block_view.php on line 265
Warning: include() [function.include]: Failed opening 'D:\xampp\htdocs\natu\concrete\config/../blocks/autonav/templates\custom_view.php' for inclusion (include_path='.;D:\xampp\php\pear\;D:/xampp/htdocs/natu/libraries/3rdparty;D:\xampp\htdocs\natu\concrete\config/../libraries/3rdparty') in D:\xampp\htdocs\natu\concrete\libraries\block_view.php on line 265
I checked line 265 in the block_view.php and I can only see this include($template);
Would appreciate if someone could explain whats going wrong here that is causing the custom template for the auto_nav block from being applied.
The error message in the above post was generated because it wasn't able to find the view.php file, so after browsing around the forum, i tried changing the
to
And the auto_nav started showing up, however it was applying the default styling instead of the auto_nav template that I wanted to apply.
Now I need to find out why my custom template is not being applied.