2016-04-18 98 views
0

我在开发模式下工作(Magento的2),我刚刚做了以下内容:咕噜后Magento的空白页面干净

grunt clean 

grunt exec:myTheme 

grunt less:myTheme 

grunt watch 

咕噜正在看电视的更新少的文件,但是当我到加载页面只是一个空白页面。我也无法访问管理员端。

任何想法,我做错了什么,或者如果你需要我张贴某些文件,我会的。由于

+0

我投票关闭这个问题的根源设定读/写权限作为题外话,因为Stack Overflow是一个[编程相关] (http://stackoverflow.com/help/on-topic)问答网站。你的问题不是关于编程。也许你应该在http://magento.stackexchange.com上发布它呢? – Enigmativity

回答

0

我解决了这个问题,通过在Magento的文件

chown -R :www-data . 
sudo find . -type d -exec chmod 770 {} \; && sudo find . -type f -exec chmod 660 {} \; && sudo chmod u+x bin/magento