加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

php – Magento CONNECT ERROR:无法打开文件

发布时间:2020-12-13 13:33:10 所属栏目:PHP教程 来源:网络整理
导读:我在使用magento connect安装扩展时遇到了一些麻烦.当我开始安装扩展时,outline终端写下这样的东西: Checking dependencies of packages Installing package community/OrganicInternet_SimpleConfigurableProducts 0.7.4 CONNECT ERROR: Failed to open fi
我在使用magento connect安装扩展时遇到了一些麻烦.当我开始安装扩展时,outline终端写下这样的东西:

Checking dependencies of packages Installing package community/OrganicInternet_SimpleConfigurableProducts 0.7.4

CONNECT ERROR: Failed to open file
/var/www/magento/downloader/.cache/community/OrganicInternet_SimpleConfigurableProducts-0.7.4/app/code/community/OrganicInternet/SimpleConfigurableProducts/Catalog/Model/Product/Type/Configurabl

我检查了路径,找到了所需的文件.正如你所看到的权限应该没问题;-)

drwxrwxrwx 2 www-data www-data 4.0K Nov 3 11:10 Configurabl

我不知道该怎么做.我正在使用PHP 5.5.4-1 – 所以应该没问题.

你知道该怎么办吗?

在这种情况下,错误来自一个php安全模块,用于检查上传文件.在包中的一个提取文件中似乎存在一些非ascii字符,并且一旦遇到它们就停止处理文件,因此“Configurabl”被缩短.

要通过此错误,您需要做的是调整上传器安全模块的设置,但很可能您无法访问该设置.另一种选择是以其他方式下载软件包(在这种情况下,它可以在Github上在https://github.com/organicinternet/magento-configurable-simple上获得),解压缩并通过FTP上传文件.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读