简体   繁体   English

Yii2框架错误

[英]Yii2 framework error

I'm new with framework and recently, i install yii2 on my computer, but then when i'm trying to test the frontend of yii2, it show this error. 我是框架的新手,最近我在计算机上安装了yii2,但是当我尝试测试yii2的前端时,它显示此错误。 This is my first time using this, so i didn't know what is really the error is. 这是我第一次使用它,所以我不知道真正的错误是什么。

在此处输入图片说明

So, anybody can tell me what should i do to fixed the error and make the framework run on my computer successfully. 因此,任何人都可以告诉我该如何解决该错误并使该框架成功在我的计算机上运行。

enter command line chmod -R 777 runtime in your folder where the framework itself is located. 在框架本身所在的文件夹中输入命令行chmod -R 777 runtime If you use an extended application, then in the root of the project it will be so сhmod -R 777 frontend/runtime 如果您使用扩展应用程序,则在项目的根目录中将使用сhmod -R 777 frontend/runtime

You have a problems with permissions. 您的权限有问题。 The runtime directory should have permissions set to 0777 运行时目录的权限应设置为0777

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM