Unhandled Error!

Scandir(/var/www/vonscharfenberg/von-scharfenberg/web/templates/vonsharf/pages/all_collections): failed to open dir: No such file or directory

Document /modules/cms/models/cms_page.php
Document type PHP document
Line 808
Exception class Phpr_PhpException

Code Highlight

						if (strlen($this->$name_field))
							$this->block_cache[$this->$name_field] = $this->$content_field;
					}
				} else
				{
					$path = $this->get_file_path($this->directory_name);
					$files = scandir($path);
					foreach ($files as $file)
					{
						if (substr($file, 0, 6) == 'block_' && substr($file, -4) == '.'.self::get_content_extension())
							$this->block_cache[substr($file, 6, -4)] = $this->get_page_file_content($file, false);
					}
				}
# Call Stack Code Document Line
20 scandir('/var/www/vonscharfenberg/von-scharfenberg/web/templates/vonsharf/pages/all_collections') /modules/cms/models/cms_page.php 808
19 Cms_Page->list_blocks(()) /modules/cms/classes/cms_controller.php 660
18 Cms_Controller->render_block('html_title', 'Collections') /modules/cms/classes/cms_twigcontrollerextension.php 61
17 Cms_TwigControllerExtension->render_block('html_title', 'Collections') /temp/twig_cache/vonsharf/1f/16/20ee28fffb3d54d8da0dc9285992.php 25
16 __TwigTemplate_1f1620ee28fffb3d54d8da0dc9285992->doDisplay(array(3) [cms_fatal_error_message => null, cms_error_message => null, this => object(Cms_Controller)], array(0)) /modules/core/thirdpart/Twig/Template.php 269
15 Twig_Template->displayWithErrorHandling(array(3) [cms_fatal_error_message => null, cms_error_message => null, this => object(Cms_Controller)], array(0)) /modules/core/thirdpart/Twig/Template.php 230
14 Twig_Template->display(array(3) [cms_fatal_error_message => null, cms_error_message => null, this => object(Cms_Controller)]) /modules/core/thirdpart/Twig/Template.php 241
13 Twig_Template->render(array(3) [cms_fatal_error_message => null, cms_error_message => null, this => object(Cms_Controller)]) /modules/core/thirdpart/Twig/Environment.php 283
12 Twig_Environment->render('CMS template - Base Template', array(3) [cms_fatal_error_message => null, cms_error_message => null, this => object(Cms_Controller)]) /modules/core/classes/core_twig.php 38
11 Core_Twig->parse('<!DOCTYPE html> <html class="" lang="en"> <head> <title>{{ render_block('html_title', this.page.title) }} | VonScharfenberg Watches and Jewellery</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> {% if product is defined %} {% if product.meta_description is not empty %} {% set page_description = product.meta_description %} {% elseif product.short_description is not empty %} {% set page_description = product.short_description %} {% elseif product.description is not empty %} {% set page_description = product.description|replace({'&amp;':'&','&nbsp;':' '})|striptags %} {% endif %} {% elseif this.page.description is not empty %} {% set page_description = this.page.description %} {% else %} {% set page_description = "Von Scharfenberg Online Fine Jewellery Retailer" %} {% endif %} <meta name="description" content="{% block meta_desc %}{{page_description}}{% endblock %}"> <meta name="viewport" content="width=device-width"> <link rel="stylesheet" href="/assets/less/less.php?f=/assets/less/core.less&v=4" type="text/css" media="screen" title="Default Style" charset="utf-8"/> <link rel="shortcut icon" type="image/x-icon" href="/assets/images/global/favicon.ico?v=1"> <script src="/assets/js/jquery.min.js" type="text/javascript" charset="utf-8"></script> <script src="/assets/js/cloudzoom.js" type="text/javascript" charset="utf-8"></script> <script src="/assets/js/core.js?v=4" type="text/javascript" charset="utf-8"></script> <!-- Fancybox --> <script type="text/javascript" src="/assets/fancybox/jquery.fancybox-1.3.4.pack.js"></script> <link rel="stylesheet" type="text/css" href="/assets/fancybox/jquery.fancybox-1.3.4.css" media="screen" /> <!-- End Fancybox --> <!--[if lte IE 9]> <link rel="stylesheet" href="/assets/css/ie9Down.css" type="text/css" media="screen" title="Default Style" charset="utf-8"/> <![endif]--> <!--[if lte IE 8]> <link rel="stylesheet" href="/assets/css/ie8Down.css" type="text/css" media="screen" title="Default Style" charset="utf-8"/> <![endif]--> <!--[if lte IE 7]> <link rel="stylesheet" href="/assets/css/ie7Down.css" type="text/css" media="screen" title="Default Style" charset="utf-8"/> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="/assets/css/ie6.css" type="text/css" media="screen" title="Default Style" charset="utf-8"/> <![endif]--> {{ js_combine([ 'ls_core_jquery' ]) }} </head> <body> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39535918-1', 'auto'); ga('send', 'pageview'); </script> <div class="wrap"> <div id="header"> <a href="/" id="logo"><img src="/assets/images/global/logo.png" alt="Von Sharfenberg - Fine Jewellery" title="Von Sharfenberg - Fine Jewellery" /></a> {{ render_partial('bag') }} {{ render_partial('search') }} </div> <!-- header --> </div> {{ render_partial('top_navigation') }} <div class="wrap"> {% block content %} {{ render_page() }} {% endblock %} </div> <div id="footer-top"> <div class="wrap"> <div class="left"> <ul> <li><a href="/about-us">About Us</a></li> <!--<li><a href="">Our Story</a></li>--> <li><a href="/contact">Contact</a></li> <li><a href="/press">Press</a></li> <li><a href="/tumblr">Blog/Tumblr</a></li> <!--<li><a href="">Bespoke</a></li>--> </ul> </div> <div class="middle"> <ul> <li><a href="/about-us/returns-policy">Delivery & Returns</a></li> <!--<li><a href="">VS Members Club</a></li>--> </ul> <div class="social"> Find us on <div> <a class="facebook" target="_blank" href="{{ global_content_block('global_facebook') }}"><i></i></a> <a class="twitter" target="_blank" href="{{ global_content_block('global_twitter') }}"><i></i></a> <a class="google" target="_blank" href="{{ global_content_block('global_google_plus') }}"><i></i></a> <a class="pinterest" target="_blank" href="{{ global_content_block('global_pinterest') }}"><i></i></a> <a class="tumblr" target="_blank" href="{{ global_content_block('global_tumblr') }}"><i></i></a> </div> </div> </div> <div class="right"> Sign Up For News <form id="email-signup"> <input type="text" class="" value="" title="Your Email" placeholder="Type your e-mail" /> <input type="submit" class="submit" value="GO"/> </form> </div> </div> </div> <!-- footer-top --> <div class="wrap"> <div id="footer"> <div class="copy"> &copy; 2015 Von Scharfenberg </div> <!-- middle --> </div> <!-- footer --> </div> <!-- twitter --> <script type="text/javascript"> !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); </script> <!-- facebook --> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <!-- Place this tag after the last +1 button tag. --> <script type="text/javascript"> (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script> <!-- pin it --> <script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script> </body> </html> ', array(3) [cms_fatal_error_message => null, cms_error_message => null, this => object(Cms_Controller)], 'CMS template - Base Template') /modules/cms/classes/cms_controller.php 389
10 Cms_Controller->evalWithException('?><!DOCTYPE html> <html class="" lang="en"> <head> <title>{{ render_block('html_title', this.page.title) }} | VonScharfenberg Watches and Jewellery</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> {% if product is defined %} {% if product.meta_description is not empty %} {% set page_description = product.meta_description %} {% elseif product.short_description is not empty %} {% set page_description = product.short_description %} {% elseif product.description is not empty %} {% set page_description = product.description|replace({'&amp;':'&','&nbsp;':' '})|striptags %} {% endif %} {% elseif this.page.description is not empty %} {% set page_description = this.page.description %} {% else %} {% set page_description = "Von Scharfenberg Online Fine Jewellery Retailer" %} {% endif %} <meta name="description" content="{% block meta_desc %}{{page_description}}{% endblock %}"> <meta name="viewport" content="width=device-width"> <link rel="stylesheet" href="/assets/less/less.php?f=/assets/less/core.less&v=4" type="text/css" media="screen" title="Default Style" charset="utf-8"/> <link rel="shortcut icon" type="image/x-icon" href="/assets/images/global/favicon.ico?v=1"> <script src="/assets/js/jquery.min.js" type="text/javascript" charset="utf-8"></script> <script src="/assets/js/cloudzoom.js" type="text/javascript" charset="utf-8"></script> <script src="/assets/js/core.js?v=4" type="text/javascript" charset="utf-8"></script> <!-- Fancybox --> <script type="text/javascript" src="/assets/fancybox/jquery.fancybox-1.3.4.pack.js"></script> <link rel="stylesheet" type="text/css" href="/assets/fancybox/jquery.fancybox-1.3.4.css" media="screen" /> <!-- End Fancybox --> <!--[if lte IE 9]> <link rel="stylesheet" href="/assets/css/ie9Down.css" type="text/css" media="screen" title="Default Style" charset="utf-8"/> <![endif]--> <!--[if lte IE 8]> <link rel="stylesheet" href="/assets/css/ie8Down.css" type="text/css" media="screen" title="Default Style" charset="utf-8"/> <![endif]--> <!--[if lte IE 7]> <link rel="stylesheet" href="/assets/css/ie7Down.css" type="text/css" media="screen" title="Default Style" charset="utf-8"/> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="/assets/css/ie6.css" type="text/css" media="screen" title="Default Style" charset="utf-8"/> <![endif]--> {{ js_combine([ 'ls_core_jquery' ]) }} </head> <body> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-39535918-1', 'auto'); ga('send', 'pageview'); </script> <div class="wrap"> <div id="header"> <a href="/" id="logo"><img src="/assets/images/global/logo.png" alt="Von Sharfenberg - Fine Jewellery" title="Von Sharfenberg - Fine Jewellery" /></a> {{ render_partial('bag') }} {{ render_partial('search') }} </div> <!-- header --> </div> {{ render_partial('top_navigation') }} <div class="wrap"> {% block content %} {{ render_page() }} {% endblock %} </div> <div id="footer-top"> <div class="wrap"> <div class="left"> <ul> <li><a href="/about-us">About Us</a></li> <!--<li><a href="">Our Story</a></li>--> <li><a href="/contact">Contact</a></li> <li><a href="/press">Press</a></li> <li><a href="/tumblr">Blog/Tumblr</a></li> <!--<li><a href="">Bespoke</a></li>--> </ul> </div> <div class="middle"> <ul> <li><a href="/about-us/returns-policy">Delivery & Returns</a></li> <!--<li><a href="">VS Members Club</a></li>--> </ul> <div class="social"> Find us on <div> <a class="facebook" target="_blank" href="{{ global_content_block('global_facebook') }}"><i></i></a> <a class="twitter" target="_blank" href="{{ global_content_block('global_twitter') }}"><i></i></a> <a class="google" target="_blank" href="{{ global_content_block('global_google_plus') }}"><i></i></a> <a class="pinterest" target="_blank" href="{{ global_content_block('global_pinterest') }}"><i></i></a> <a class="tumblr" target="_blank" href="{{ global_content_block('global_tumblr') }}"><i></i></a> </div> </div> </div> <div class="right"> Sign Up For News <form id="email-signup"> <input type="text" class="" value="" title="Your Email" placeholder="Type your e-mail" /> <input type="submit" class="submit" value="GO"/> </form> </div> </div> </div> <!-- footer-top --> <div class="wrap"> <div id="footer"> <div class="copy"> &copy; 2015 Von Scharfenberg </div> <!-- middle --> </div> <!-- footer --> </div> <!-- twitter --> <script type="text/javascript"> !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); </script> <!-- facebook --> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <!-- Place this tag after the last +1 button tag. --> <script type="text/javascript"> (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script> <!-- pin it --> <script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script> </body> </html> ', 'CMS template', 'Base Template') /modules/cms/classes/cms_controller.php 211
9 Cms_Controller->open(object(Cms_Page), array(0)) /controllers/application.php 72
8 Application->On404(())
7 call_user_func_array(array(2) [0 => object(Application), 1 => 'On404'], array(0)) /phproad/modules/phpr/classes/phpr_controller.php 170
6 Phpr_Controller->executeAction('On404', array(0)) /phproad/modules/phpr/classes/phpr_controller.php 84
5 Phpr_Controller->_run('On404', array(0)) /phproad/modules/phpr/classes/phpr_response.php 64
4 Phpr_Response->open404(()) /phproad/modules/phpr/classes/phpr_response.php 37
3 Phpr_Response->open('/collections') /phproad/system/phproad.php 31
2 include('/var/www/vonscharfenberg/von-scharfenberg/web/phproad/system/phproad.php') /boot.php 114
1 require_once('/var/www/vonscharfenberg/von-scharfenberg/web/boot.php') /index.php 3