迁移后 Magento Connect 无法工作
将 Magento 从本地服务器移动到实时服务器后,我遇到了问题:Magento 连接无法正常工作。我会解释一下:
我可以访问 Magento connect,但扩展不起作用。
我尝试删除 pear.ini 文件但没有成功。我尝试删除 app/etc/local.xml 文件,从全新安装中复制以下文件:clear、pear、peardev 和 pecl,然后再次运行安装过程,但没有任何反应。
有没有办法让我下载的扩展在不进行全新安装的情况下工作?
向大家问好,我对我的英语表示歉意。
I have a problem with Magento after move it from local to live server: Magento connect is not working properly. I will explain it:
I have access to Magento connect, but the extensions are not working.
I have tried to delete the pear.ini file but didn't work. I have tried to delete the app/etc/local.xml file, copying the following files from a clean installation: clear, pear, peardev and pecl, and then running the installation process again, but nothing happened.
Is there a way to get my downloaded extensions working wihtout do a clean install?
Greets to all and I aplogize for my English.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
移动 Magento 安装可能很困难。 这里是我使用的过程多次取得巨大成功。
Moving a Magento installation can be difficult. Here is the procedure that I have used many times with great success.
确保 /download 文件夹和 /pear 文件夹的所有者和组可写,并且 apache 或其他 http 用户通过组权限具有写访问权限。
Make sure that your /download folder and the /pear folder are owner and group writeable and that the apache or other http user have write access via the group permissions.
检查文件权限是否与网络服务器的用户匹配,然后删除
downloader/pearlib/pear.ini
。当您点击该页面时,它将使用正确的路径重新生成文件。Check the file permissions match the webserver's user and delete
downloader/pearlib/pear.ini
. When you hit the page, it will regenerate the file with the correct paths.为了使扩展正常工作,我需要手动复制所有文件。我不知道为什么,但我已经尝试了一切,这是唯一对我有用的解决方案。
In order to get the extensions working I needed to copy all files manually. I don't know why, but I have tried everything and it was the only solution that worked for me.