I have installed the magento2 successfully but there are a lot of js error.
When see the console log through the firebug it shows a lot of errors and is there any thing else to config for the magento css and js.
Solution: This is a known issue with the Magento 2 develop branch. You can fix this by switching to the master branch with the following command: Once you successfully install Magento 2 and address any issues, you should explore the Magento extensions library next.
1) Download the Magento 2. 2) Extract this in your www OR htdocs directory. 3) Install the magento. Do not use localhost, use 127.0.0.1 in store url and admin url. 4) After successful installation DO NOT RUN MAGENTO. 5) Now delete the cache / session of magento 2. Go to the below mentioned paths and delete the files.
Magento 1 users who want to protect customer data, as well as take advantage of all the other benefits, will need to migrate to Magento 2. However, there may be some bumps along the way. Here's how to fix the most common Magento 2 installation issues. These tips will help your migration go as smoothly as possible. 1.
Issue: Once in the Magento Setup Wizard, installation can get stuck around the 70% mark — and no error message will display. Solution: To fix this problem, you may just need to adjust the PHP setting for max_execution_time. Open the php.ini file in a text editor (note: you’ll need to be a user with root privileges to do this).
try following :
make bin/magento executable
chmod +x bin/magento
Clear cache etc in var folder
rm -rf var/cache/ var/di/ var/generation/ var/page_cache/
Run Setup ( if any thing missing )
bin/magento setup:upgrade
Deploy Static Content
bin/magento setup:static-content:deploy
Give Permission to var & pub folders
chmod -R 777 pub/ var/
now all the static files containing js, css etc will be deployed in pub/static folder
Remove all files and folder in pub/static except .htaccess and then run:
php bin/magento setup:static-content:deploy
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With