CException

SiteController cannot find the requested view "login".

/home/teamkauj/indian-tech.com/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/indian-tech.com/protected/controllers/SiteController.php(1073): CController->render("login", array("smodel" => Users, "model" => LoginForm, "err_msg" => ""))
1068         $smodel = new Users();
1069         $smodel->unsetAttributes();  // clear any default values
1070         if (isset($_GET['Users']))
1071             $smodel->attributes = $_GET['Users'];
1072         // display the login form
1073         $this->render('login', array('smodel' => $smodel, 'model' => $model, 'err_msg' => $errorCode));
1074     }
1075 
1076     public function redirectAfterLogin() {
1077         if (Yii::app()->user->isSA() || Yii::app()->user->isAdmin()) {
1078             $this->loginlogs();
#14
+
 /home/teamkauj/indian-tech.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-28 14:01:51 LiteSpeed Yii Framework/1.1.14