Answer the question
In order to leave comments, you need to log in
How to run gii on yii2 advanced in fronted?
Good evening, dear friends. I need your help. Looked at the beginning on the Internet different options. nothing helps. How to run gii on yii2 advanced in fronted? Well, or at least in the backend. I always get a 404 error. On the basic version, I could run this generator. On the extended version, hemorrhoids and pitfalls.
Answer the question
In order to leave comments, you need to log in
Look in @frontend/config in main.php and main-local.php files for gii settings. Perhaps there is something disabled, or prohibited. Something like this should be:
if (!YII_ENV_TEST) {
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
'class' => 'yii\gii\Module',
];
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question