yii framework

MessageController cannot find the requested view "Good Bye".

/var/www/yii/framework/web/CController.php(879)

867 {

868 if(($viewFile=$this->getViewFile($view))!==false)

869 {

870 $output=$this->renderFile($viewFile,$data,true);

871 if($processOutput)

872 $output=$this->processOutput($output);

873 if($return)

874 return $output;

875 else

876 echo $output;

877 }

878 else

879 throw new CException(Yii::t(‘yii’,’{controller} cannot find the requested view “{view}”.’,

880 array(’{controller}’=>get_class($this), ‘{view}’=>$view)));

881 }

882

883 /**

884 * Renders a named clip with the supplied parameters.

885 * This is similar to directly accessing the {@link clips} property.

886 * The main difference is that it can take an array of named parameters

887 * which will replace the corresponding placeholders in the clip.

888 * @param string $name the name of the clip

889 * @param array $params an array of named parameters (name=>value) that should replace

890 * their corresponding placeholders in the clip

891 * @param boolean $return whether to return the clip content or echo it.

Stack Trace

#0

/var/www/yii/framework/web/CController.php(783): CController->renderPartial("Good Bye", null, true)

#1

/var/www/yii/demo1/protected/controllers/MessageController.php(12): CController->render("Good Bye")

07 $this->render(‘helloworld’);

08 }

09

10 public function actionGoodbye()

11 {

12 $this->render("Good Bye");

13 }

14 public function actionIndex()

15 {

16 $this->render(‘index’);

17 }

#2

/var/www/yii/framework/web/actions/CInlineAction.php(50): MessageController->actionGoodbye()

#3

/var/www/yii/framework/web/CController.php(309): CInlineAction->runWithParams(array("r" => "message/goodbye"))

#4

/var/www/yii/framework/web/CController.php(287): CController->runAction(CInlineAction)

#5

/var/www/yii/framework/web/CController.php(266): CController->runActionWithFilters(CInlineAction, array())

#6

/var/www/yii/framework/web/CWebApplication.php(276): CController->run("goodbye")

#7

/var/www/yii/framework/web/CWebApplication.php(135): CWebApplication->runController("message/goodbye")

#8

/var/www/yii/framework/base/CApplication.php(162): CWebApplication->processRequest()

#9

/var/www/yii/demo1/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();

2012-03-30 10:38:57 Apache/2.2.14 (Ubuntu) Yii Framework/1.1.10