CException

SiteController cannot find the requested view "contact".

/home/jbenetti/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

#0
+
 /home/jbenetti/public_html/admin/components/Controller.php(424): CController->renderPartial("contact", array("model" => ContactForm), true)
419                             $col1 = $col1data;
420                         }
421                         else
422                         $col1 = null;
423                     }
424                     $output=$this->renderPartial($view,$data,true);
425                         if(($layoutFile=$this->getLayoutFile($this->layout))!==false)
426                                 $output=$this->renderFile($layoutFile,array('content'=>$output,'col1'=>$col1),true);
427                         
428             $this->afterRender($view,$output);
429             $output=$this->processOutput($output);
#1
+
 /home/jbenetti/public_html/application/controllers/SiteController.php(366): Controller->render("contact", array("model" => ContactForm))
361                 mail(Yii::app()->params['adminEmail'],$model->subject,$model->body,$headers);
362                 Yii::app()->user->setFlash('contact','Thank you for contacting us. We will respond to you as soon as possible.');
363                 $this->refresh();
364             }
365         }
366         $this->render('contact',array('model'=>$model));
367     }
368 
369     /**
370      * Displays the login page
371      */
#9
+
 /home/jbenetti/public_html/index.php(18): CApplication->run()
13 $app = Yii::createWebApplication($config);
14 /* alter stuff for multi host environment */
15     $host = SBCmsUtils::getSimpleHostName();
16     SBCmsUtils::populateConfig($app,$host);
17 /* should have all we need to run the app */
18 $app->run();
2024-03-29 14:41:57 Apache Yii Framework/1.1.14