CException

SiteController cannot find the requested view "login".

/home/teamkauj/isrs.in/framework/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

#1
+
 /home/teamkauj/isrs.in/protected/controllers/SiteController.php(622): CController->render("login", array("smodel" => Users, "model" => LoginForm, "err_msg" => ""))
617         $smodel = new Users();
618         $smodel->unsetAttributes();  // clear any default values
619         if (isset($_GET['Users']))
620             $smodel->attributes = $_GET['Users'];
621         // display the login form
622         $this->render('login', array('smodel' => $smodel, 'model' => $model, 'err_msg' => $errorCode));
623     }
624 
625     public function redirectAfterLogin() {
626         if (Yii::app()->user->isSA() || Yii::app()->user->isAdmin()) {
627             $this->loginlogs();
#14
+
 /home/teamkauj/isrs.in/index.php(20): CApplication->run()
15 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
16 
17 require_once($yii);
18 $app = Yii::createWebApplication($config);
19 Yii::app()->setTimeZone('Asia/Kolkata');
20 $app->run();
2024-03-28 22:20:46 LiteSpeed Yii Framework/1.1.14