Problems and solutions during installing Magento

Different types of issues are found during installing Magento. Here are some compilation of Magento installation problems and their solutions.

Problem 1 : Database server does not support the InnoDB storage engine while installing magento

Solution 1 :

Go To Line 59 of the file app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php
Change this function

    public function supportEngine()
    {
        $variables  = $this->_getConnection()
            ->fetchPairs('SHOW VARIABLES');
        return (!isset($variables['have_innodb']) || $variables['have_innodb'] != 'YES') ? false : true;
    }

With this

    public function supportEngine()
    {
        $variables  = $this->_getConnection()
            ->fetchPairs('SHOW ENGINES');
        return (isset($variables['InnoDB']) && $variables['InnoDB'] != 'NO');
    } 


Problem 2: 404 Not Found Error After Installation

Sometimes after installing magento, clicking on any link results in 404 not found error. This happens because the rewrite module of the server is not enabled. Just enable the mod_rewrite and it will work.

Solution 2:

Enable rewrite_module (mod_rewrite) of your Apache Server

Problems and solutions during installing Magento Problems and solutions during installing Magento Reviewed by JS Pixels on May 27, 2014 Rating: 5

No comments:

Altaf Web. Powered by Blogger.