Calendar error message

Permalink
Hi Guys

I'm getting the following error with the calendar when I add a new item and click on the link.

Warning: View::include(/var/www/vhosts/mounts-bay.cornwall.sch.uk/httpdocs/themes/mounts-bay/view.php) [function.View-include]: failed to open stream: No such file or directory in /var/www/vhosts/mounts-bay.cornwall.sch.uk/httpdocs/concrete/libraries/view.php on line 728

Warning: View::include() [function.include]: Failed opening '/var/www/vhosts/mounts-bay.cornwall.sch.uk/httpdocs/themes/mounts-bay/view.php' for inclusion (include_path='.::/var/www/vhosts/mounts-bay.cornwall.sch.uk/httpdocs/libraries/3rdparty:/var/www/vhosts/mounts-bay.cornwall.sch.uk/httpdocs/concrete/config/../libraries/3rdparty') in /var/www/vhosts/mounts-bay.cornwall.sch.uk/httpdocs/concrete/libraries/view.php on line 728

Any help would be gratefully appreciated.

 
ryan replied on at Permalink Reply
ryan
Your theme doesn't have the required view.php file.

here's the contents of the view.php from concrete's default theme:
<?
defined('C5_EXECUTE') or die(_("Access Denied."));
$this->inc('elements/header.php'); ?>
   <div id="central" class="no-sidebar">
      <div id="body">   
         <?
         print $innerContent;
         ?>
      </div>
      <div class="spacer">&nbsp;</div>      
   </div>
<? $this->inc('elements/footer.php'); ?>
liminal replied on at Permalink Reply
I removed it as I have lots of templates in this site and wanted to keep the number down. I just added a new one with the code:

<?php

print $innerContent;

?>

And its running perfectly now.

Thanks for the quick response!