Magento Upgrade: Problems/Errors and Solutions
Here are solution to some errors that I faced while upgrade Magento.
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in downloader/pearlib/php/System.php on line 400
Edit file named ‘pear‘. This file is present on root folder of your Magento installation.
Add the following lines at the beginning of file:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in downloader/mage.php on line 34
Edit file named ‘mage‘. This file is present on root folder of your Magento installation.
Replace (on around line number 4)
Mage registry key “_resource_helper/core” already exists
Remove var/cache and var/session folder.
rm -rf var/cache
rm -rf var/session
Error in file: “app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-184.108.40.206-220.127.116.11.php” – Column “date” does not exists on table “catalog_product_index_website”
The error occurs because the rename was already executed before.
Comment out the following:
'type' => Varien_Db_Ddl_Table::TYPE_DATE,
'comment' => 'Website Date'
Here are some more Magento upgrade issues and their solution: Magento upgrade
Hope it helps. Thanks.