- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
I have installed Magento 2 on a MAMP server using Apache, my home / product / category / login pages are working fine, but my admin page is returning with a 404 - (Not Found) page, from the layout.
I tried installing several times but keep getting the same error.
I installed the latest version of Magento 2 on Github (updated on Nov 05 2015).
Does anyone knows what i can do to fix it?
Regards,
Eduardo Chemmer
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - Localhost - Admin url returning 404 error
Thanks a lot, this worked perfectly! \o/
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - Localhost - Admin url returning 404 error
We are facing issues after logged into Magento 2 Admin.
Login screen came and after login no dashboard appeared.
Instead
"This page can’t be displayed" ERROR came up.
Checked system and debug logs, not able to find anything.
Configuration is :
apache 2.4.9
php 5.5.12
mysql 5.6.17
Checked cookies too, and admin cookie is there.
I believe right now Magento is working into default mode as we have not made any change till now.
Please help on this.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - Localhost - Admin url returning 404 error
From WAMP logs, below error found:
php_error.log
----------------
PHP Warning: PHP Startup: Unable to load dynamic library 'D:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0
Is this having relation with Magento 2 backend authorization?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - Localhost - Admin url returning 404 error
You can see/change admin url from @app/etc/env.php at line no 5.
return array (
'backend' =>
array (
'frontName' => 'admin_q76xvk',
),
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - Localhost - Admin url returning 404 error
I have faced the same problem after wasting lot of time solved it just adding the .htaccess file in root folder.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - Localhost - Admin url returning 404 error
Just copy pub/.htaccess to magento root folder ^_^
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - Localhost - Admin url returning 404 error
Which .htaccess and , by root folder you mean /root ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2 - Localhost - Admin url returning 404 error
It worked for me = )