Answer the question
In order to leave comments, you need to log in
An incomprehensible error with accesses, how to fix it?
I'm trying to enter debug on the hosting, it gives an error
Forbidden (#403)
You are not allowed to access this page.
Bad Request (#400)
Не удалось проверить переданные данные.
_csrf 'QXNaWk4wVlMjEjU4Clo/JjIXGx8lAj8YFxFiOH1fPjw4MRQZY1YxFw=='
Answer the question
In order to leave comments, you need to log in
In main-local, if you do not need to give everyone a debug panel, then instead of an asterisk, your ip, and write permissions at runtime
$config['bootstrap'][] = 'debug';
$config['modules']['debug'] = [
'class' => 'yii\debug\Module',
'allowedIPs' => ['*'],
];
$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
'class' => 'yii\gii\Module',
'allowedIPs' => ['*'],
];
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question