Call our sales line
08000 484 679
Home > Magento Tutorials > Upgrade Magento to 1.4(.1.1): Part One

Upgrade Magento to 1.4(.1.1): Part One

Posted on: 4th Aug 2010 By: Luci Smethurst 3 Comments

This week at ecommerce web design, I’ve had the dreaded task of upgrading an existing, live Magento site to 1.4.1.1 – and not just any upgrade, it’s from 1.3.2.1. I don’t think I was envied in the office.

After much research, several discussions, and a deep breath, I began the process of backing up literally anything and everything and dived in.

Lesson One: Don’t upgrade using Magento Connect – in short, it didn’t work at all. It said successful, despite there being several errors. The backend loaded alright, but was still the original version but the frontend displayed nothing but a white, blank page.

Lesson Two: A solution that seems to work for many did not work, but that didn’t work in this case was to do as follows:

  1. Create a copy of your existing database, rename it to something different.
  2. Create a subdirectory in your domain, for example “dev”
  3. Go to the core_config_data table in your copied database and update the relevant URLs to your new subdirectory
  4. Put the Magento files onto the new subdirectory and run the installation – using the details for your copied database
  5. Sit, Wait, Hope

During this installation there were a few nail biting moments – including a couple of timeouts that led to a few SQL errors, but it actually seemed to go alright. The backend worked like a dream, running 1.4.1.1, retaining all the previous customer data, previous sales, searches, pages and so on. For a minute, I thought my Magento upgrade had worked, and indeed it had (kind of) – the database upgraded just fine!

Alas… all was not well on the front page – still nothing but a blank page. After a bit of debugging, we found that, for some reason, the last line of code was failing, with apparently no fix 4 hours in:

Mage::run($mageRunCode,$mageRunType);

Coming Next on our magento blog: How to get it all working again!

3 Responses to “ Upgrade Magento to 1.4(.1.1): Part One ”

  1. BinLi
    #1 | 8th August 2010

    I have this blank page on the frontend too. After debugging, seems it caused by dispatching “noRoute” action in class Mage_Core_Controller_Varien_Router_Standard function match(). But I don’t know why the request action is “noRoute”. Any idea?

  2. sungeigedong
    #2 | 10th August 2010

    How to get it all working again?

  3. Luci Smethurst
    #3 | 13th August 2010

    @BinLi Hmm, no idea of the top of my head – but the next time an upgrade comes up I’ll have a look into it!

    @sungeigedong Part 2 will be up on Saturday 14th – things did not go well!

    Thanks for reading :)

Post A Comment

Your comments:
Enclose code snippets within the appropriate tags: [php][/php]   [js][/js]   [xml][/xml]   [css][/css]   [html][/html]
E.g: [php]<?php echo "hello world"; ?>[/php]

Search Blog

Follow us on Twitter

Archives

For the record...

Views & opinions in this blog are those of the individual and do not necessarily reflect those of E-commerce Web Design or the Creare Group.