How to Solve Magento 1.8 Upgrade Errors?

Frustrated with Magento Upgrade Issues?            

Magento-LogoMagento is leading eCommerce Platform and is growing rapidly because of the benefits it offers to store merchants. Magento provides self hosted solutions which includes Community Edition, Enterprise Edition and hosted solution called Magento Go. In this lens we would be talking of just Community Edition and its latest version i.e. 1.8.

When it comes to Magento Upgrade, the entire process of upgrading to latest versions seems to be complex for layman who has either no or very less knowledge of HTML and CSS. While upgrading to Magento 1.8 users get many errors which can be witnessed at MagentoCommerce’s official forum. I analyzed some common errors which I would be providing here along with their possible solutions.

I hope this will help mass Magento users🙂

                                               

Issue #1: Fatal error: Class ‘Mage_Googlecheckout_Helper_Data’ not found in /app/Mage.php on line 547

Solution: This error comes from Configuration settings. In order to solve this issue try to replace \app\code\core\Mage\GoogleCheckout\etc\config.xml file with the …\app\code\core\Mage\GoogleCheckout\etc\config.xml (old one). 

Note: Don’t delete old config.xml file
Once you are done with updating your config file, clear the cache under System / Cache Management

Issue #2: 500 error after Magento 1.8 Upgrade

Solution: This is very common issue while upgrading. You can solve this issue by commenting “Options +FollowSymLinks” in .htaccess file of root.

 

Issue #3: Fatal error: Call to a member function rewrite() on a non-object in /htdocs/public/www/app/code/core/Mage/Core/Controller/Varien/Front.php on line 165

Solution: This error can be solved by following 2 steps:

  1. Go to http://www.your-site/downloader
  2. Reinstall the package called Lib_Varien

 

Issue #4: Problem in Checkout after Magento 1.7 to 1.8 Upgrade


Solution: Users are getting issues in Checkout after completing 1.8 upgrade. Need not to worry on this🙂

Here is the solution:

  1. Go to /app/design/frontend/base/default/template/checkout/onepage/payment.phtm
  2. Check line 36 and change

<fieldset>
<?php echo $this->getChildHtml(‘methods’) ?>
</fieldset>

To:

<fieldset id=”checkout-payment-method-load”>
<?php echo $this->getChildHtml(‘methods’) ?>
</fieldset>

 

Issue #5: Broken Product Images

Solution: After upgrading you might encounter with issue of broken product images. You can solve this issue in few minutes only! You just need to go to .htaccess file under /media/ folder and comment “Options All -Indexes“. Once you are done with this, simply clear cache and your problems should start working fine. 

Issue #6: Categories tree not working adding a product

Solution: In case your categories tree doesn’t work after upgrade, then run following SQL queries on database:

 UPDATE catalog_category_entity SET level = (SELECT LENGTH(path)-LENGTH(REPLACE(path,’/’,”)) AS tmpl FROM (SELECT * FROM catalog_category_entity) AS table1 WHERE catalog_category_entity.entity_id = table1.entity_id);

 UPDATE catalog_category_entity SET children_count = (SELECT COUNT(*) FROM (SELECT * FROM catalog_cat


If you still face any problem, feel free to contact professional Magento Developers from SoftProdigy.

Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: