Worked for me too!
Thanks as well!
Worked for me too!
Thanks as well!
Just wanted to chime in with another issue that could be the culprit. I was having this issue and it just wouldn’t go away despite trying all the steps listed here and elsewhere. Finally I figured out that APC was caching main.php and the changes I made to it weren’t making it through to the browser. I disabled APC for my Yii application by adding this to .htaccess:
php_flag apc.cache_by_default Off
Hope this saves someone else some frustration.
find the line defined(‘YII_ENV’) or define(‘YII_ENV’, ‘dev’) on web\index.php and make sure
make sure your env should be dev . then only gii will appear.