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 蓝桥oj3931,请问我错在哪里
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)
  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染