Answer the question
In order to leave comments, you need to log in
yii2-debug not working. What could be wrong?
After yesterday 's article on Habré, I decided to install the panel myself. But nothing worked.
I read about the availability for IP and wrote the following in the config:
'bootstrap' => ['debug'],
'modules' => [
'debug' => [
'class' => 'yii\debug\Module',
'allowedIPs' => ['*']
],
]
location / {
try_files $uri /index.php?$query_string;
}
location = /index.php {
try_files $fastcgi_script_name = 404;
fastcgi_pass php-fpm;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
Answer the question
In order to leave comments, you need to log in
if renderToolbar is not called, then the View::EVENT_END_BODY event does not fire, check that the method is called at the end of the layout
/** @var $this yii\web\View */
$this->endBody();
Goodnight.
How did you set? Via composer update?
What exactly doesn't work?
What are the permissions on directories at runtime? Owner of www-data files?
Which yii2 are you using, basic or advanced?
In which configuration file did you register the module? See if it's listed somewhere else.
It also happens. Clearing the runtime folder often helps (just don't delete .gitignore)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question