CException

SiteController cannot find the requested view "login".

/home/teamkauj/hanumanbaagmandir.com/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/teamkauj/hanumanbaagmandir.com/protected/controllers/SiteController.php(641): CController->render("login", array("smodel" => Users, "model" => LoginForm, "err_msg" => ""))
636         $smodel = new Users();
637         $smodel->unsetAttributes();  // clear any default values
638         if (isset($_GET['Users']))
639             $smodel->attributes = $_GET['Users'];
640         // display the login form
641         $this->render('login', array('smodel' => $smodel, 'model' => $model, 'err_msg' => $errorCode));
642     }
643 
644     public function redirectAfterLogin() {
645         if (Yii::app()->user->isSA() || Yii::app()->user->isAdmin()) {
646             $this->loginlogs();
#14
+
 /home/teamkauj/hanumanbaagmandir.com/index.php(21): CApplication->run()
16 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
17 
18 require_once($yii);
19 $app = Yii::createWebApplication($config);
20 Yii::app()->setTimeZone('Asia/Kolkata');
21 $app->run();
2024-03-29 03:27:52 LiteSpeed Yii Framework/1.1.22