E
E
Evgeny Milushkin2015-03-26 15:33:28
Yii
Evgeny Milushkin, 2015-03-26 15:33:28

Yii-debug panel on page with yii2-dynagrid widget doesn't work. What could be wrong?

Hello! Tell me, please, I'm fighting the second day.
On all pages, the debug panel works, on the page where the yii2-dynagrid widget is installed, it gives the error " Not Found (#404): Unable to find debug data tagged with '5513ece242c00'. " I
comment on the yii2-dynagrid widget on the page, the panel again works.
.htaccess is available:

Order Allow,Deny
Allow from all

AddDefaultCharset utf-8

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php

Component:
'urlManager' => [
            'class' => 'yii\web\UrlManager',
            'enablePrettyUrl' => true,
            'showScriptName' => false,
            'rules' => [
                '<_c:[\w\-]+>/<id:\d+>' => '<_c>/view',
                '<_c:[\w\-]+>' => '<_c>/index',
                '<_c:[\w\-]+>/<_a:[\w\-]+>/<id:\d+>' => '<_c>/<_a>',
            ],
        ],

I follow the direct link yii2/web/debug/default/toolbar?tag=5513ece242c00 , the panel is loaded.
The file c:\WebServers\home\yii2\www\runtime\debug\5513ece242c00 is present
What could be wrong?
UPD. I would like to add that before the error, the browser issues a warning
"Resource interpreted as Font but transferred with MIME type text/html: " yii2/web/assets/e8e876e1/font-awesome/fonts/fontaw... ".
UPD1. Added to htaccess warnings are gone)
AddType application/x-font-woff .woff
AddType application/x-font-woff .woff2

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan Madatov, 2015-09-03
@inginer

Try clearing the runtime folder. It helps me.

S
Sergey, 2015-11-02
@victorib_us

There was such nonsense, it was decided after I put write permissions on the runtime folder

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question