【问题标题】:Magento blank pages after grunt cleangrunt clean 后 Magento 空白页
【发布时间】:2016-04-18 15:22:17
【问题描述】:

我在开发者模式下工作 (Magento 2),我刚刚完成了以下操作:

grunt clean

grunt exec:myTheme

grunt less:myTheme

grunt watch

Grunt 正在查看任何更新的文件,但是当我加载页面时它只是一个空白页面。我也无法访问管理端。

关于我做错了什么的任何想法,或者如果您需要我发布某些文件,我会的。谢谢

【问题讨论】:

标签: javascript node.js magento gruntjs less


【解决方案1】:

我通过在 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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-06-06
    • 2012-09-24
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多