Answer the question
In order to leave comments, you need to log in
Yii2 Advanced on hosting - how to run the debugger and gii?
Yii2 Advanced is not installed locally, but on a linux hosting on the Internet, in this case debuger and gii are disabled by default.
Where and what to register in Yii2 Advanced to make it all work?
Answer the question
In order to leave comments, you need to log in
Try putting in the config:
'modules' => [
'bootstrap' => ['gii','debug'],
'gii' => [
'class' => \yii\gii\Module::className(),
'allowedIPs' => ['Ваш IP']
],
'debug' => \yii\debug\Module::className(),
// ..........
],
I'm getting a 404 error. It still doesn’t work (((
It turns out that you need to write it in the main-local.php file, yes?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question