Upgrading To Magento 1.4
- Category: questions, web design, web development
With the recent release of Magento version 1.4, many people are having trouble upgrading their current Magento installation, or installing their template on a fresh Magento 1.4 installation. A quick search online and you’ll find countless entries and posts stating that Magento 1.4 is buggy, not working, horrible, etc. Particularly when you browse through the Magento forums.
In fact Magento 1.4 is different than the last previous stable version (1.3.2.4) but you should definitely be able to upgrade your installation, or install your custom template on a Magento 1.4 installation! Here are the most common issues and how to fix them!
Magento modern theme 1.4
This relates to the following issues:
- Can’t install Modern Theme through Magento Connect
- Get error “magento-core/Interface_Frontend_Default_Modern requires package “magento-core/Mage_Core_Modules” (version >= 1.3.2.2, version <= 1.3.3, excluded versions: 1.3.3), installed version is 1.4.0.0
Install Errors
No valid packages found
PEAR ERROR: install failed
- Get error “magento-core/Interface_Frontend_Default_Modern requires package “magento-core/Mage_Core_Modules” (version >= 1.3.2.2, version <= 1.3.3, excluded versions: 1.3.3), installed version is 1.4.0.0
- Can’t upgrade Modern Theme through Magento Connect
- Get similar error as above
- etc
As of now, there is no good way to install or upgrade the Modern Theme via Magento Connect. BUT you should definitely be able to get it by installing a fresh Magento 1.4 installation.
Magento 1.4 comes by default with the default theme, the modern theme, and the iphone optimized theme. However, you’d have to install Magento manually and NOT use the downloader (as this will include the default theme only). Here is one way to install Magento 1.4 manually:
- Download all the files on your computer and upload them on your server
- Create a database and a database user and grant that user all permissions to the database. Make sure to write down your database name, database user name, and database user password.
- Go to the URL that points to your server and follow the instructions to complete Magento installation
Can’t access admin, blank page, products won’t load, error, etc
Most issues will be resolved once you reindex Magento data and refresh all Magento cache. To reindex Magento data follow these quick steps:
- Go to System>Index Management
- Click on “select all” in the upper left corner
- Under “Action” select “Reindex Data” and click submit
To refresh all Magento cache following these quick steps:
- Go to System>Configuration and
- Click on “select all” in the upper left corner
- Under “action” click on “refresh” and click submit
- Then click on these buttons:
- Flush Magento Cache
- Flush Cache Storage
- Fluch Catalog Images Cache
- Flush JavaScript/CSS Cache
Upgrading your existing theme (modern or else)
Obviously I cannot cover here all the possible problems and issues that may arise when upgrading your particular template to be compatible with Magento 1.4. However, I found that the most common issue is “Categories not working after upgrading to 1.4″. This relates to the error people get when clicking on some categories: “Error processing your request” followed by a number.
To fix that, you’ll need to do 2 things:
1. First, edit your toolbar.phtml file located under app/design/frontend/default/yourthemename/template/catalog/product/list. Take the updated toolbar.phtml from the new 1.4 default theme (located under app/design/frontend/base/default/template/catalog/product/list) and use it in your theme. Then edit that file to apply any styling you had in your original toolbar.phtml file. Another way of doing it is editing your toolbar.phml file to use the right class names and code (you can compare with the default one and take it from there).
2. Second, open catalog.xml located under app/design/frontend/default/yourthemename/layout/ and find this line:
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
And underneath insert this code:
<block type="page/html_pager" name="product_list_toolbar_pager"/>
Note: most likely the above code is present in 2 places in the catalog.xml file so make sure to add the new line underneath in both places.
And that should do it!
Thank you so much!!
C
Noam - February 21st, 2010
Noam - February 22nd, 2010
Noam - February 22nd, 2010
While the Magento Releases notes states “should be replaced into”. Now this is very different to me. Which one should we use?
Noam - February 22nd, 2010
So the question remains how to fix the toolbar for pagination in the search results page…
Noam - May 27th, 2010
Noam - February 27th, 2010
Noam - May 27th, 2010
You’ve a slight typo in the last section:
app/design/frontent/default/yourthemename/template/catalog/product/list
frontent instead of frontend
Noam - February 27th, 2010
Theme with mostly css change will require limited fixes related to css.
“For anyone still having the problem after upgrading to 1.4.0.x where you only see the Dashboard and System Menus in the admin area (and also your products are not showing), this is what fixed it for me.
1) Make sure your magento directory has full privileges for the user that the installer is running under
2) SSH to your magento directory
3) Run the following commands:
a) ./pear mage-setup .
b) ./pear install magento-core/Mage_All_Latest
c) ./pear upgrade-all
*Note that in command a, the period is not a mistake, you must include that
4) Delete the contents of the Cache and Sessions folders
*Note that if you delete the entire Cache directory, you have to make sure you re-allow write permissions to the folder after the system recreates it, otherwise you will get an error when you go to the web page
5) Log in to the admin area. If your navigation is back, you’re in good shape.
6) There should be a warning message telling you to re-index your catalog, go to Index Management and re-index everything ”
11th Comment Down, by mmm7L:
http://www.magentocommerce.com/boards/viewthread/76543/
It now contains a hidden field called hideit which must be in the the form for it to validate. Otherwise you get the “Unable to submit your request. Please, try again later” error.
I’ve installed a fresh copy of Magento on my webserver and using a new database but i’m seeing the same thing. Very frustrating!
Noam - April 6th, 2010
The code on this site is formatted with different quotation marks so be sure to correct those in your catalog.xml to avoid any new errors.
Noam - May 13th, 2010
Thanks!
Add the line
getBlockHtml(‘formkey’)?> somewhere inside the form for it to pass validation and actually send the form.
No error message will be shown if it is missing the email just will not be sent.
Noam - April 6th, 2010
I can’t access admin CMS>Page so I try to go to System>Index Management but I can’t access too !
I’ve got : “There has been an error processing your request”
How can I fix it ?
Thanks !
Noam - May 17th, 2010
i have just upgraded to magento1.3 to magento1.4 version fixed couple of bugs now i am stuck to a cart page i am getting following error , we have multiple store setup and each has its own domain .
Fatal error: Call to a member function getGrandTotal() on a non-object in /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Tax/Block/Checkout/Grandtotal.php on line 44
beside above error i am noticing my unit price and subtotal is not getting calculated its all zero. i have checked at admin side for inverntory ,price and taxes are setup correctly .No idea what to do .
any help would be apprecuated.
thanks
manawor
Naresh - January 10th, 2011
to be honest when magento update thier version they should write any thing for changes require in code or for theme but they dont we sometimes make money with redoing work for clients but as wise development way or with hard client we got issues , and their support is also worst either on forums,chat or Gold Support
we wrote our bad experience with them in words here
http://www.dacoders.com/2011/04/24/magento-thier-support-good-bad/
http://www.expertmagentodevelopers.com/blog/how-to-upgrade-from-magento-1-5-1-to-magento-1-6-0/