dongsisui7562 2014-11-29 22:27
浏览 45
已采纳

Magento权限 - 我无法通过Magento Backend添加任何内容

Before creating this post I've searched SOF for similar problems but I didn't those advices didn't help me.

Magento Error: CONNECT ERROR: Please check for sufficient write file permissions.Your Magento folder does not have sufficient write permissions, which downloader requires.

I have checked 100's times - permissions are right 777 for all the possible folders (var, media, downloader, etc), but still no luck.

At the same time I can download/upload files using FileZilla SFTP - I also can upload for example, images when I work with pages, but only with Chrome and can't do with Safari. Website is currently is on beta version and is accessible only via IP, but I guess this has nothing to do with it.

This:Magento Connect Manager & ftp write file permissions nor this: Warning: Your Magento folder does not have sufficient write permissions nor this: http://www.magentocommerce.com/wiki/groups/227/resetting_file_permissions

didn't help me...

When I was doing last url's advice I got error:

sudo chmod o+w var app/etc
chmod: cannot access ‘var’: No such file or directory
chmod: cannot access ‘app/etc’: No such file or directory

Please let me know what I can do to fix this! Maybe this has something to do with my hosting - Digitalocean?

Thanks in advance!

  • 写回答

1条回答 默认 最新

  • dongxiaoying5882 2014-11-30 12:47
    关注

    Try to use full path to this folders and set permissions to subfiles/subfolders too:

    sudo chmod -R 775 /full/path/to/magento/app/etc
    sudo chmod -R 775 /full/path/to/magento/var
    

    if it still return 'No such file or directory', just create it before:

    sudo mkdir /full/path/to/magento/app/etc
    sudo mkdir /full/path/to/magento/var
    

    If this don't help - contact your hosting support, may be web server user is 'nobody' and don't have permissions to folders or something like this.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿
  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥15 stable diffusion
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘