运行PyroCMS安装程序时出现file_put_contents错误

时间:2016-11-28 17:56:56

标签: php pyrocms file-put-contents

http://pyrocms.com/documentation/pyrocms/v3.1#installation/installing-pyrocms/running-the-installer

得到这个错误
"An exception has been thrown during the rendering of a template ("file_put_contents(app/default/assets/admin/theme.css): failed to open stream: No such file or directory") in "theme::partials/metadata" at line 24."

到目前为止我尝试了什么?
- 将storagebootstrap\chache的权限更改为777
- php artisan asset:clear

1 个答案:

答案 0 :(得分:0)

您需要设置Web服务器可写的以下目录:

存储
公共/应用
自举/高速缓存

在您的情况下,您错过了它的公开/应用程序。