Magento 1.8无法升级到1.9

时间:2014-06-13 23:20:06

标签: magento curl upgrade

目前正在使用Magento版本1.8.1.0,我正在尝试升级到最新版本 - 版本1.9.0.1 - 已于2014年5月16日添加。 缓存已禁用,编译已禁用。当我在Magento Connect中检查升级时,它会显示相同的1.8版本文件,并说我已经拥有最新版本。

即使我尝试使用community / mage_all_latest,我也会得到相同的结果。我找不到任何可以帮助我的东西,所以我要求任何线索可能会让我找到解决这个问题的方法。

记录显示:

2014-06-16T22:24:59+00:00 ERR (3): Warning: curl_setopt() [<a href='function.curl-setopt'>function.curl-setopt</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set  in /home/package/public_html/xxx/downloader/lib/Mage/HTTP/Client/Curl.php on line 529

2014-06-16T22:25:01+00:00 ERR (3): Warning: is_file() [<a href='function.is-file'>function.is-file</a>]: open_basedir restriction in effect. File(var/cookie) is not within the allowed path(s): (/home/package:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp)  in /home/magentop/public_html/xxx/downloader/lib/Mage/HTTP/Client/Curl.php on line 157

1 个答案:

答案 0 :(得分:2)

Upgrade Roadmap for CE 1.9.0.1 from 1.8.1.0

1) take a backup of current database and current 1.8.1.0 code.
2) download latest magento from the http://www.magentocommerce.com/download
3) remove all folders and files from your 1.8.1.0 code (but you should have backup somewhere) and place all folders and files from the 1.9.
4) now from your 1.8.1.0 merge your following folders into the 1.9
    - Community app/code/community
    - Local app/code/local
    - Media 
    - your theme or package (app/design/frontend/default/<ur theme> or app/design/frontend/<your package>)
    - custom folders from Skin (both for adminhtml and frontend).
    - copy your custom xml files from app/etc/modules/ to current app/etc/modules/
    - any custom admin theme folder from adminhtml/default/yourtheme.
    - copy your custom folders from adminhtml/default/default/ (1.8.1.0) to adminhtml/default/default/ (1.9).
    - custom js files if any from app/js/.
5) now go to app/etc/local.xml.Edit database details their.put your database username and password and database name.
6) now check the site.it done.