Magento 2 Installation Problems and Solutions

Magento 2 Installation Problems and Solutions

Even after Magento 2 launched successfully still so many persons having a problem in an installation. So without wasting time , let's find out the issues and it's possible solutions.

1) PHP Version Error.

Easy Solution of it is , just upgrade or downgrade PHP version as per suggestion on screen.

2) Composer not installed.

Install the composer on root of the Magento 2 directory.

Windows Installation : 

Download the composer from here.

Command Installation: 

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '93b54496392c062774670ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da0806388a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"


3) At step 6, if  nothing happen or "Module Configuration not loaded". If nothing happens than press F12 from keyboard you see jQuery errors there if module is not loaded.

   3.1) Clear cookie and cache of browser.

   3.2) Change the browser from chrome to Mozilla Firefox and vise versa.

4) Errors while installation of the modules. See below various errors.

     4.1) Database Integrity constrain violation.
   
           Solution 1) Find out that error on which table occur DROP that table.
           Solution 2) Completely Drop the database and start over again from 6th Step.

     4.2) Database Column already already exist.

         Check which column is having this issue and delete that column from that table.
         e.g. gift_product_id column troubling in sales_order table that just delete that column.


         ALTER TABLE "table_name" DROP "column_name";

If like my efforts and module, Please share, comment and subscribe for future posts and inspire more.

Comments

Popular posts from this blog

Hosting and Goodies

Magento 2 Import Scripts

How to add product attribute value in minicart magento 2