Reputation: 8146
I am using the alpha version of Yii 2.I can acess the GII module via frontend but not via backend. The url '/advanced/backend/web/index.php?r=gii/' gives me 404 error. Any fix for the issue?
Upvotes: 2
Views: 7095
Reputation: 1844
Today I got same error. I deployed my yii2 project on local OpenServer, but this server was loaded with option "HTTP" = Nginx 1.9. As soon as I reload server with setted option "HTTP" = Apache2 + Nginx, gii loaded properly. I hope it will help somebody.
Upvotes: 0
Reputation: 8146
Found out. I need to add this to the backend config file manually.
'modules' => [
'gii' => 'yii\gii\Module',
],
Upvotes: 5