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 vs2022无法联网
  • ¥15 TCP的客户端和服务器的互联
  • ¥15 VB.NET操作免驱摄像头
  • ¥15 笔记本上移动热点开关状态查询
  • ¥85 类鸟群Boids——仿真鸟群避障的相关问题
  • ¥15 CFEDEM自带算例错误,如何解决?
  • ¥15 有没有会使用flac3d软件的家人
  • ¥20 360摄像头无法解绑使用,请教解绑当前账号绑定问题,
  • ¥15 docker实践项目
  • ¥15 利用pthon计算薄膜结构的光导纳