I changed admn url from "admin_310mps" to "admin" at the installation step.
Magento2 admin page "http://127.0.0.1:8080/mage2/admin/" showing 404 error page after install magento2-rc.
How can i fix this issue?
@turgayozgur can you please try on the Please standby for fix to be merged.develop
branch? An issue related to ports has been fixed.
Related to https://github.com/magento/magento2/issues/2278
@turgayozgur Please try again, this has been fixed in RC2.
I have just installed it successfully from the master branch and it still gives me 404 on admin panel. http://localhost:80/admin/.The fronted is not getting the styles and img. I am using windows10, php5.6, IIS with phpmanager.
I am facing the same problem (404 if I want to access /admin). I am using Windows 8.1, PHP 5.6.2 and apache 2.2.
At first, the styles were also not showing on my test home page. But after running php bin\magento setup:static-content:deploy
, I could see the luma theme. (still 404 on /admin, though)
During the installation you entered unique admin URI (it generates automatically for you) eg. /admin_cr8w74 To get info about your URI use CLI command:
/var/www/html/magento2$ php bin/magento info:adminuri
Just after the installation cache with static content is empty. So you can see page without styles and images.
You have to generate static content to the cache (stored in pub/static/) using:
/var/www/html/magento2$ php bin/magento setup:static-content:deploy
Or you can enable developer
mode by uncommenting following line in the .htaccess file:
# SetEnv MAGE_MODE developer
Thank you for your answer. I am using the URI I get from CLI command php bin/magento info:adminuri
, but unfortunately I still get a 404 error.
When I use the magento2 codebase from https://www.magentocommerce.com/download with the original .htaccess files, everything is working as expected (the styles are loaded and the admin URI is working, too). It seems like it was an issue with the .htaccess files I worked with before (I once edited them and then always used these edited ones thereafter).
@sukool88 maybe you encounter this problem because IIS cannot work with the .htaccess files?
Ya I have the same issue, I could see the luma theme after setting up static-content deploy, however on apache php 5.6 I did not have to do this and everything worked perfectly. I am experiencing this with php7 and nginx.
every page other than index.php returns a 404
@theskillwithin please do not comment on closed issues.
Most helpful comment
I am facing the same problem (404 if I want to access /admin). I am using Windows 8.1, PHP 5.6.2 and apache 2.2.
At first, the styles were also not showing on my test home page. But after running
php bin\magento setup:static-content:deploy
, I could see the luma theme. (still 404 on /admin, though)