问题描述
今天我做了一个版本1.9.2.0的升级,以便也安装了补丁SUPEE-6285,但是在安装的一半(使用Magento连接)中,控制台显示了一个错误屏幕,类似于您在看到maintenance.flag文件时看到的错误.在您的根目录中(503错误). maintenance.flag确实位于根目录中,但是很奇怪,它出现在控制台中.
Today I did an upgrade to version 1.9.2.0 so that patch SUPEE-6285 also is installed, but halfway the installation (With Magento connect) the console showed an error screen similar to wat you see when the maintenance.flag file is in your root (503 error). The maintenance.flag was indeed in the root, but very strange that it showed up in the console.
在删除了maintenance.flag之后,该站点仍然是空白,也是管理页面.我可以访问连接管理器,但是我要使用扩展管理器安装的所有内容均失败,并显示以下消息:连接错误:程序包community/Interface_Adminhtml_Default失败:列表中的密码未知:TLSv1"
After removing the maintenance.flag the site stayed blank, also the admin page. I can access the connect manager, but everything I want to install with the extension manager fails with this message "CONNECT ERROR: Package community/Interface_Adminhtml_Default failed: Unknown cipher in list: TLSv1"
如何解决此问题?如果我查看文件,则文件中的一半具有今天的日期,而另一半则具有较旧的日期,因此在我看来安装失败或有问题
How to fix this? If I look in the files, half of the files have the date of today and the other half an older date, so it looks to me that the installation broke down or something
推荐答案
在文件downloader/lib/Mage/HTTP/Client/Curl.php
更改代码
$this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1');
到
if(isset($var)){$this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1');}
问题将立即解决.
这篇关于Magento Community Edition 1.9.2更新失败-列表中的未知密码:TLSv1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!