CException

Контроллер CommentController не может найти представление "_allcomments".

/home/admin/web/hctraktor.ru/public_html/lib/yii/web/CController.php(882)

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

Stack Trace

#1
+
 /home/admin/web/hctraktor.ru/public_html/protected/modules/comments/controllers/CommentController.php(142): CController->render("_allcomments", array("model" => Entity))
137 
138         $this->model = $model;
139 
140         $this->render(Y::theme('_allcomments'), array(
141             'model'=>$model,
142         ));
143 
144         //Y::dump( $model );
145 
146     }
147 
#14
+
 /home/admin/web/hctraktor.ru/public_html/index.php(36): CApplication->run()
31  defined('APPDIR') or define('APPDIR', dirname(__FILE__) );
32 
33 require $yii;
34 require 'protected/components/SWebApplication.php';
35 
36 Yii::createApplication('SWebApplication', $config)->run();
37 
38 // if (ot_client_ip() == '95.78.157.185') {
39 //    $CDbConnectionStats = CDbConnection::getStats();
40 //    print '<b>Общее количество запросов: '.$CDbConnectionStats[0].'</b><br>';
41 //    print '<b>Общее время выполнения запросов: '.$CDbConnectionStats[1].'</b>';
2024-03-19 14:30:58 Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.3.29 Yii Framework/1.1.10