CException

SiteController cannot find the requested view "contact".

/var/www/vhosts/cityinfoyellowpages.co.in/httpdocs/framework/web/CController.php(875)

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

Stack Trace

#1
+
 /var/www/vhosts/cityinfoyellowpages.co.in/httpdocs/protected/controllers/SiteController.php(105): CController->render("contact", array("model" => ContactForm))
100                 mail("[email protected]", "Advertisement Feedback", $model->body, $headers);
101                 Yii::app()->user->setFlash('contact', 'Thank you for contacting us. We will respond to you as soon as possible.');
102                 $this->refresh();
103             }
104         }
105         $this->render('contact', array('model' => $model));
106     }
107 
108     /**
109      * Displays the login page
110      */
#9
+
 /var/www/vhosts/cityinfoyellowpages.co.in/httpdocs/index.php(15): CApplication->run()
10 defined('YII_DEBUG') or define('YII_DEBUG',true);
11 // specify how many levels of call stack should be shown in each log message
12 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
13 
14 require_once($yii);
15 Yii::createWebApplication($config)->run();
2024-03-28 10:47:50 Apache Yii Framework/1.1.8