yii2 debug bar报错?

WBOY
Release: 2016-06-06 20:21:25
Original
1354 people have browsed it

背景:下载好yii2框架后,我将yii2框架复制了一份到另一个文件里
cp ./yii/* ./yii_copy
yii 里面是正常的,yii_copy里面的文件有些权限是变了的!
我将yii_copy里面权限改了下,有些问题是好了。有些没好,比如下面这个yii 框架的 debug bar 报错!

Found (#404): Unable to find debug data tagged with '5657c948aeb7e'.

回复内容:

背景:下载好yii2框架后,我将yii2框架复制了一份到另一个文件里
cp ./yii/* ./yii_copy
yii 里面是正常的,yii_copy里面的文件有些权限是变了的!
我将yii_copy里面权限改了下,有些问题是好了。有些没好,比如下面这个yii 框架的 debug bar 报错!

Found (#404): Unable to find debug data tagged with '5657c948aeb7e'.

一般是由于 runtime目录 下的 debug目录 没有修改权限。
两个解决办法:
1.修改 runtime目录 或者 debug目录 权限;
2.删除 debug目录,让 webserver 自动创建目录;

解决了吗?怎么弄的?

亲 可能是apache 路由重写问题 看看htaccess文件

runtime目录下面有debug目录 里面的data就是debug信息的tag 核查一下

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!