Side Menu


How To Fix Basic Errors Magento 2.0 Installation

Magento 2.0 made a great success on its release last November 17, 2015. Now, developers and business owners all over the world are rapidly upgrading/adapting to the latest version. With its modern and advanced technologies, transactions and processes are made faster, easier and more efficient.


magento 2.0 - Vi Commerce

Image Source:


The Magento 2.0 has some great advantages but however with its new features it has some specific requirements. Assuming with all the system requirements met and the installation has started, Magento 2 has a new feature called “Readiness Check” wherein it would check if your system has met the required version of your dependencies and the configuration of your server. If the readiness check can detect a misconfiguration error or an incompatible version of your dependencies, it would automatically show the details regarding the error and unfortunately you are unable to continue to the next step which is the database configuration.


To help you get through with the installation, here are some basic errors and trouble shooting:


PHP SETTINGS CHECK: always_populate_raw_post_data error in Magento 2.0


The most common error in this part of the installation is  the always_populate_raw_post_data. It is possible that there is a misconfiguration in your php.ini file that causes the error. The readiness check displays this error.


Populating Raw Data - Vi Commerce


In order to fix this error, you need to go to your root folder and find the PHP folder. For example, in XAMPP it is located in xampp/php/php.ini and in MAMP is is located in /Applications/MAMP/conf/ (version of your php) /php.ini, Another efficient and accurate way to locate your php.ini file is including <?php phpinfo(); ?>  in your project file. This line of code will automatically show your PHP information.


Once you locate the php.ini , open the file and find always_populate_raw_post_data, once located remove the semi colon or comment before the line of code and change the On or 1 to -1. It would show up like this:


;always_populate_raw_post_data = On


After editing this line of code and removing the semi colon or comment and changed the values to -1 it would show up like this:


always_populate_raw_post_data = -1


And by that you turned on the setting and gave it a value of -1 and it should fix the PHP Settings Check Error.

PHP EXTENSIONS CHECK: php_intl.dll PHP missing extension error in Magento 2.0

Most of the time, PHP extensions are either off/commented. This results to an error in installing Magento 2. The most common extension that is the root cause of error in magento 2 is the php_intl.dll, the error would exactly look like this:


Second Error for Magento 2 - ViCommerce

Don’t worry, all you need to do is locate your php.ini file. Search for php_intl.dll and remove the comment or semi colon. The line of code would exactly look like this:



After removing the comment or semi colon, it would look like this:



After removing the comment or semi colon, you have just activated the extension called php_intl.dll. run the Readiness Check again and it would fix the problem and you may now proceed to the next step, The database setup.



Accessing a page and having a redirect loop error may sometimes be very frustrating since this involves database configuration. If you get the error below then this solution might just help you. Below is the error wherein browsers do not support cookies on top level domains like the localhost.


Website Error - ViCommerce


You can fix this error by going to your control panel and opening your database. If the database is open locate core_config_data, and open it after opening it you can see in the upper part of the table the path and value. Find the column wherein web/unsecure/base_url and web/secure/base_url is located. Change both of its values from http://localhost/*foldername*/ to http://*foldername*/ for a clearer picture here are the steps in numerical order:


  1. Open your database and select the core_config_data table;
  2. Find the web/unsecure/base_url and web/secure/base_url under path column;
  3. Change its values from http://localhost/*foldername*/ to http://*foldername*/;
  4. After changing both of its values, clear your cache by going to the root folder of your project and open the var folder and head on to cache folder, /var/cache/ (*delete all the files and folder in the cache folder in order to remove the cached settings and temporary data files).
  5. Try accessing the same folder again and it should be fixed.


Another trick to avoid this error is by changing the basic url of Magento 2.0, follow the settings in the image below:


Magento Installer - Vi Commerce

Image Source:


Tip : Always delete all your cached file in your Magento root folder in /var/cache/ to apply the changes.


Vi Commerce – Providing only the Best and Cost Efficient Service for eCommerce Web and Mobile Development. Magento Certified Company.Give us a call at +1 415-503-2351 or send in your enquiry here

Share It:

No Comment

Post A Comment