Latest News

    No posts were found.



6 Common Issues You May Find in Magento 1.9

6 Common Issues

Even with the newest version of Magento 2 appears in the market, there are still so many people out there who keep using their Magento 1.9. Those people have their own reasons for that. Some of them may do not want to bother to migrate their website to Magento 2. The others may start from lower Magento version, and decided to upgrade their Magento to Magento 1.9 first before try their hand on Magento 2. Some people don’t want to upgrade because extensions for Magento 2 are still quite limited.

However, even with all the benefits, you can get from Magento 1.9, it is not without any problem at all. In fact, there are several common problems which you can get from Magento 1.9. In this article, we tried to collect all the common problems in Magento 1.9, and write down solution for each of them.


White Screen of Death
Just like its name, in this problem, all you can see is just a blank, white screen. This problem commonly happens when you upgrade your Magento from lower version to Magento 1.9. Most of the time the back end would be the only one affected. The front end or the store view will work correctly.

Magento white screen of death

There are several methods which you can try to fix this problem. Most of the time it caused by an error in the Google checkout mode. To fix it, you need to go to /app/code/core/Mage/GoogleCheckout/etc, and then delete all the files except config.xml . Clear your cache and reload the page.

If that did not work, try the second method. Check if the app/design/adminhtml/ still has all its files or not. There is a case when people upgrade their Magento 1.8 to Magento, some files were missing in the skin and template directories. To fix this problem, download Magento package, unpack it, and copy everything in the eapp/design/adminhtml/default/default/..over your app/design/adminhtml/default/default/.. . Do not forget to do the same for skin/adminhtml too.

You may want to check the compatibility of your existing themes and plugins too. If they are not compatible, replace them with more compatible ones.

If all of them do not work, the last method is to do a complete installation or complete upgrade. This is not really a solution, but still worth to try.


Order Confirmation E-mail not Send

This also one of the most common problem people got after they upgraded their Magento to Magento 1.9. Unlike the previous version of Magento, in Magento 1.9 the order confirmation email is not sent during check out time anymore. It being sent with the cron instead.

To fix this problem, you must check whether your cron job is running properly or not. You can check the cron log at /var/log/cron. You also have to make sure your cron runs for every 5 minutes. You can check it in your Crontab (server). If you find something like this (*/5 * * * * /public_html/, that is mean your cron is already running for every 5 minutes.

If you do not want to use cron, then there is another method which you can try. With this method, all of your transactional E-mails would be send directly.

//app/code/core/Mage/Sales/Model/Order.php Line#1356,1450
//$mailer->setQueue($emailQueue)->send(); Change To


//add following line Top success page for sending mail direct
// Start Send Emai Here……
$order = Mage::getModel(‘sales/order’);
$incrementId = Mage::getSingleton(‘checkout/session’)->getLastRealOrderId();

try{ $order->sendNewOrderEmail();}
catch (Exception $ex) { echo “Email Not Sent…”; }
$customer = Mage::getSingleton(‘customer/session’)->getCustomer();
$email = $customer->getEmail();//End Email Sending

If those are still not working for you, try to use AOE Scheduler extension by Fabrizio Branca. This neat extension can help to monitor all your server’s scheduled tasks. You can either install this extension via Github or Magento connect.

AOE Scheduler can do more than just monitoring your server. You also can disable a job, or make it run now. That is mean, you can manage the situation in a better way. There is no need for you to tinker with your terminal anymore or a developer to do it.


Customer Login Does not Work

This probably one of the very first bug which you will meet in Magento 1.9. This bug usually happens because the theme installed does not support variable form_key. In order to fix this problem, you must add a script :

<input type=”hidden” name=”form_key” value=”<?php echo Mage::getSingleton(‘core/session’)->getFormKey(); ?>” />

right after :

<ul class=”form-list”>

So, why form_key? Since the start, Magento’s backend always has this form key in order to protect itself from XSS attack. Start from Magento 1.8 the key has entered the front end too. For the exact same reason, of course : to protect your website from form submission from another website via your browser. That is mean, it will prevent the attacker to add other items in your shopping cart without permission while you browse other stuff with different browser tab or complete your order in your place.

If that method still does not work for you, probably the problem lies in your Cookie path and Cookie domain. You can check it via Admin>System>configuration>General>Web>Session Cookie Management.


Update Cart is not Working

In this error, the amount of item will not change even when your customer clicks the add item button or update cart button to add an item to their shopping cart.

The very first thing you need to check in order to fix this issue is the file which contained within your update cart button. You can find the file in folder app/design/frontend/rwd/THEME NAME/template/checkout/cart.php

When you successfully opened it, search for script :

<button type=”submit” name=”update_cart_action” value=”update_qty” title=”<?php echo $this->__(‘Update Shopping Cart’); ?>” class=”button btn-update”><span><span><?php echo $this->__(‘Update Shopping Cart’); ?></span></span></button>

If the script looks exactly like that, that is mean your update cart button already set up properly. Now your update cart is not a problem, the next place you need to check is your checkout form. It probably has an incorrect key. Now, look in your template for string ‘formkey’. If it is there, it should looks like this :

<?php echo $this->getBlockHtml(‘formkey’); ?>

You can either edit it or remove all of them and replace it with :

<input type=”hidden” name=”form_key” value=”<?php echo Mage::getSingleton(‘core/session’)->getFormKey(); ?>”/>


Static Block Display Issue

This problem may appear when you create multiple static blocks in Magento The blocks will appear sporadically and show the wrong blocks instead of the correct ones. In some cases, the same blocks will appear twice. This problem happens because Magento uses names as its caching key info for CMS static blocks, where it suppose to use block ID instead. That is why those caches get mixed up.

There are few steps which you can try to fix this bug. First, you need to create root path : /app/etc/modules/NameSpace_Modulename.xml.

xml version=”1.0″?>

Next, create /app/code/local/NameSpace/Modulename/etc/config.xml

xml version=”1.0″?>

Then, create /app/code/local/NameSpace/Modulename/Block/Block.php

class NameSpace_Modulename_Block_Block extends Mage_Cms_Block_Block {
public function getCacheKeyInfo() {
if ($this->getBlockId())
return array(
(int) Mage::app()->getStore()->isCurrentlySecure()
} else {
return parent::getCacheKeyInfo();

Last, create /app/code/local/NameSpace/Modulename/Block/Widget/Block.php

class NameSpace_Modulename_Block_Widget_Block extends Mage_Cms_Block_Widget_Block {
/** * Storage for used widgets * * @var array */
static protected $_widgetUsageMap = array();
/** * Prepare block text and determine whether block output enabled or not
* Prevent blocks recursion if needed * * @return Mage_Cms_Block_Widget_Block */
protected function _beforeToHtml() {
$blockId = $this->getData(‘block_id’);
$blockHash = get_class($this) . $blockId;
if (isset(self::$_widgetUsageMap[$blockHash])) {
return $this;
self::$_widgetUsageMap[$blockHash] = true;
if ($blockId) {
$block = Mage::getModel(‘cms/block’)
if ($block->getIsActive()) {
/* @var $helper Mage_Cms_Helper_Data */
$helper = Mage::helper(‘cms’);
$processor = $helper->getBlockTemplateProcessor();
return $this;
* Retrieve values of properties that unambiguously identify unique content
* @return array
public function getCacheKeyInfo()
$result = parent::getCacheKeyInfo();
$blockId = $this->getBlockId();
if ($blockId) {
$result[] = $blockId;
return $result;

Your static block issue should be fixed now. If that did not work, you can try to upgrade your Magento to version (if you still use Magento They already fixed this bug in that version).


Can not Login into Admin Panel

There are some reasons which can cause this issue. However, in the end, all of them usually caused because Magento is not able to read or set the session cookie. Magento usually uses session to pass error message between each page.

The causes for this problem are :

  • Incorrect permission from your var/session, which prevented the session files to be saved.
  • A mismatch between server time and local computer time. That is why you need to check whether your server time is correct or not.
  • If you have a module or two installed in your system, there is a possibility it initiates session too early, which prevent the correct session from being set.
  • There is another person modified your core code. Make sure you did not give your admin panel access to anybody beside your developer team.
  • You have multiple cookie domains.The correct treatment for this error would depend on what causing it. One of the quickest way to fix this issue is by creating a new virtual host in your system and re-installed your Magento. This surely far better than edit your Magento core code.

Those are some common issues you may find in Magento 1.9. Of course, there is no guarantee that all of those methods will work perfectly for you, even if you have the same exact problem. If you have any problem with your Magento and do not know how to fix it, feel free to contact us anytime. We will help you.