CException

SiteController cannot find the requested view "//webpage/_default".

/home/doctormustsee/yii-1.1.15/web/CController.php(878)

866     {
867         if(($viewFile=$this->getViewFile($view))!==false)
868         {
869             $output=$this->renderFile($viewFile,$data,true);
870             if($processOutput)
871                 $output=$this->processOutput($output);
872             if($return)
873                 return $output;
874             else
875                 echo $output;
876         }
877         else
878             throw new CException(Yii::t('yii','{controller} cannot find the requested view "{view}".',
879                 array('{controller}'=>get_class($this), '{view}'=>$view)));
880     }
881 
882     /**
883      * Renders a named clip with the supplied parameters.
884      * This is similar to directly accessing the {@link clips} property.
885      * The main difference is that it can take an array of named parameters
886      * which will replace the corresponding placeholders in the clip.
887      * @param string $name the name of the clip
888      * @param array $params an array of named parameters (name=>value) that should replace
889      * their corresponding placeholders in the clip
890      * @param boolean $return whether to return the clip content or echo it.

Stack Trace

#0
+
 /home/doctormustsee/public_html/protected/views/site/index.php(12): CController->renderPartial("//webpage/_default", array("model" => Webpage))
07 if($picpath) {
08     echo('<img src="'.$picpath.'">');
09 } else {
10 ?>
11 <div style="position:relative; width:1600px; max-width:100%; margin:auto;">
12     <?php $this->renderPartial('//webpage/_default',array('model' => Webpage::model()->findByPk(Yii::app()->params['homePageId']))); ?>
13 </div>
14 <div id="blog" itemscope itemtype="http://schema.org/Blog">
15     <h2 itemprop="name">Blog</h2>
16     <div class="blog-content">
17         <a class="email-link" href="mailto:<?php echo Yii::app()->params['adminEmail']; ?>"><?php echo Yii::app()->params['adminEmail']; ?></a>
#5
+
 /home/doctormustsee/public_html/protected/controllers/SiteController.php(66): CController->render("index")
61         }
62         
63         if($picpath) {
64             $this->render('index', array('picpath'=>$picpath));
65         } else {
66             $this->render('index');
67         }
68         //$this->render('/webpage/render', array('model' => $model));
69         
70     }
71     
#15
+
 /home/doctormustsee/public_html/index.php(12): CApplication->run()
07 defined('YII_DEBUG') or define('YII_DEBUG',true);
08 // specify how many levels of call stack should be shown in each log message
09 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
10 
11 require_once($yii);
12 Yii::createWebApplication($config)->run();
2024-03-28 18:40:57 Apache Yii Framework/1.1.15