Frequently Asked Questions
When installing Magento 2 extensions you can see 404 Error Page Not Found, as Magento 2 Admin Panel (backend) is not working.
If you have no technical skills but need to install an extension today, use our installation service for just $59.
You can see the ‘error’ message after:
via the Command line
Type in the next command to your Command line:
php bin/magento cache:clean
rm -rf var/cache/*
rm -rf var/generation/*
rm -rf generated/* (for magento 2.2.x)
When installing a new extension in production mode you may forget to restart the compilation. As a result neither the backend nor the frontend work.
php bin/magento deploy:mode:show
php bin/magento deploy:mode:set production
to set the mode once again and reset everything from the start.
In some cases admin users can apply an incorrect URL to the Admin panel, for instance, you can use https://magento.com/backend instead of https://magento.com/admin.
Run the next command to learn a correct URL leading to the Admin Panel:
php bin/magento info:adminuri
Learn more about Magento 2 Admin URL change.
Due to this issue, you may receive the following error in the Magento 2 backend:
Go to the Admin Panel> Systems> Permission> User Roles:
In this case the ‘Not Found’ message is displayed on the frontend when you try to access a page.
E.g.: Ubuntu file /etc/apache2/apache2.conf
sudo vi /etc/apache2/apache2.conf
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
sudo service apache2 restart.
According to the statistics, you may find helpfull the following question about magento installation on ubuntu.