I’m a newbie trying to use Yii for some interesting projects.
Using Tutorial :http://www.yiiframework.com/doc/guide/1.1/en/quickstart.first-app
When I try to access htpp://localhost/testdrive/index.php?r=user I am getting following error:
Unable to resolve the request "user".
Troubleshooting attempted:
-
Checked permissions.
-
Checked main.php file , I have not touched the default except for enabling gii and mysql connection.
The error log states:
2012/12/19 16:18:19 [error] [exception.CHttpException.404] exception ‘CHttpException’ with message ‘Unable to resolve the request “user”.’ in /opt/csw/apache 2/share/htdocs/yii12/framework/web/CWebApplication.php:287
Stack trace:
#0 /opt/csw/apache2/share/htdocs/yii12/framework/web/CWebApplication.php(142): CWebApplication->runController(‘user’)
#1 /opt/csw/apache2/share/htdocs/yii12/framework/base/CApplication.php(162): CWebApplication->processRequest()
#2 /opt/csw/apache2/share/htdocs/testdrive/index.php(13): CApplication->run()
#3 {main}
REQUEST_URI=/testdrive/index.php?r=user
Please help!?