Answer the question
In order to leave comments, you need to log in
How to go from the project "out of the box" to the code generation page using GII?
when you type my_hostname/index.php?r=gii nothing happens...
in the file view - index.php there is
defined('YII_ENV') or define('YII_ENV', 'dev');
in the web.php settings everything is ok too.
How else can you get to this page?
Answer the question
In order to leave comments, you need to log in
Depends on whether 'enablePrettyUrl' is enabled => true
If so then hostname/gii
Also check that the module itself is included in the config:
'bootstrap' => ['log','gii'],
'modules' => [
....
'gii' => [
'class' => 'yii\gii\Module',
'allowedIPs' => ['ip_to_allow'],
]
....
],
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question