linking pages in the helloworld application

to link pages I added the foolowing inside MessaageController.php

class MessageController extends Controller


public function actionHelloworld()


	$theTime = date("D M j G:i:s T Y");



   public function actionGoodbye()




and made a view file named ‘goodbye.php’ containing only this code

<h1>Goodbye, Yii developer!</h1>

When viewing the url http://localhost/helloworldyii/index.php?r=message/goodbye

I get the following error message.

Error 404

The system is unable to find the requested action "goodbye".

so , where did it go wrong?

in your code snippet you are missing a closing parentheses ‘}’ on your MessageController class. Hope that helps.