Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin Page 404 After Install Magento2 RC #2309

Closed
turgayozgur opened this issue Nov 9, 2015 · 9 comments
Closed

Admin Page 404 After Install Magento2 RC #2309

turgayozgur opened this issue Nov 9, 2015 · 9 comments
Labels
Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@turgayozgur
Copy link

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?

@mazhalai
Copy link
Contributor

mazhalai commented Nov 9, 2015

@turgayozgur can you please try on the develop branch? An issue related to ports has been fixed. Please standby for fix to be merged.
Related to #2278

@mazhalai mazhalai added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development PS labels Nov 9, 2015
@mazhalai
Copy link
Contributor

@turgayozgur Please try again, this has been fixed in RC2.

@daim2k5 daim2k5 closed this as completed Nov 13, 2015
@sukool88
Copy link

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.

capture

@bh-ref
Copy link
Contributor

bh-ref commented Nov 17, 2015

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)

@balex13
Copy link
Contributor

balex13 commented Nov 17, 2015

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

@bh-ref
Copy link
Contributor

bh-ref commented Nov 18, 2015

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.

@bh-ref
Copy link
Contributor

bh-ref commented Nov 18, 2015

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?

@theskillwithin
Copy link

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

@mazhalai
Copy link
Contributor

mazhalai commented Apr 4, 2016

@theskillwithin please do not comment on closed issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

7 participants