CException

EventController cannot find the requested view "error".

/home/sccci/public_html/framework/web/CController.php(881)

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

Stack Trace

#1
+
 /home/sccci/public_html/protected/controllers/EventController.php(38): CController->render("error", null)
33         $error=Yii::app()->errorHandler->error;
34 
35         if(Yii::app()->request->isAjaxRequest)
36             echo $error['message'];
37         else
38             $this->render('error', $error);
39 
40     }
41 
42     /**
43      * This is the default 'index' action that is invoked
#14
+
 /home/sccci/public_html/index.php(28): CApplication->run()
23 
24     require_once($yii);
25     
26     Yii::createWebApplication($config);
27     SettingForm::applySettings();//override settings by values from database
28     Yii::app()->run();
29     
30     
31 //} catch (Exception $exc) {
32 //    echo "Can't connect to local MySQL server";
33 //}
2024-03-28 17:18:32 Apache Yii Framework/1.1.20