[英]Can't install yiidebugtb extension in Yii application
I have downloaded the yiidebugtb extension and put it in the protected/extensions directory, so the path to the XWebDebugRouter.php
file is protected/extensions/yiidebugtb/XWebDebugRouter.php
. 我已经下载了yiidebugtb扩展名并将其放置在protected / extensions目录中,因此
XWebDebugRouter.php
文件的路径为protected/extensions/yiidebugtb/XWebDebugRouter.php
。 Then I updated the main.php
config file so that I added this line 'application.extensions.yiidebugtb.*',
in the 'import' section, so this extension is loaded automatically. 然后,我更新了
main.php
配置文件,以便在“导入”部分中添加了这一行'application.extensions.yiidebugtb.*',
,因此该扩展名会自动加载。
However, when I try to access the main page of my application I am getting this error 但是,当我尝试访问应用程序的主页时,出现此错误
include(XWebDebugRouter.php): failed to open stream: No such file or directory
in YiiBase.php(421). 在YiiBase.php(421)中。 Anyone could help?
有人可以帮忙吗? Thanks.
谢谢。
The directory 目录
protected/extensions/yiidebugtb
had incorrect access rights. 具有不正确的访问权限。 It only had
rwx------
, after chmod to rwxr-xr-x
it is alright. 它只有
rwx------
,在chmod到rwxr-xr-x
之后没关系。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.