CException

SiteController không tìm được view: "contact".

/home/muskwxrchosting/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/muskwxrchosting/public_html/protected/controllers/SiteController.php(74): CController->render("contact", array("model" => ContactForm))
69                 mail(Yii::app()->params['adminEmail'],$subject,$model->body,$headers);
70                 Yii::app()->user->setFlash('contact','Thank you for contacting us. We will respond to you as soon as possible.');
71                 $this->refresh();
72             }
73         }
74         $this->render('contact',array('model'=>$model));
75     }
76 
77     /**
78      * Displays the login page
79      */
#9
+
 /home/muskwxrchosting/public_html/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Krasnoyarsk' for '+07/7.0/no DST' instead in /home/muskwxrchosting/public_html/framework/views/exception.php on line 217
2024-03-19 15:06:06 LiteSpeed Yii Framework/1.1.22