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 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?