Try to access admin by siteurl/index.php/admin
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2019
11:37 PM
05-27-2019
11:37 PM
I installed Magento but can't open admin page.
Hello.
I installed Magento but When I want to browse admin page then it show me below error:
The requested URL /admin_1axk8e/ was not found on this server.
How can I solve it?
Thank you.
Labels:
15 REPLIES 15
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2019
12:26 AM
05-28-2019
12:26 AM
Re: I installed Magento but can't open admin page.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2019
12:59 AM
05-28-2019
12:59 AM
Re: I installed Magento but can't open admin page.
siteurl?
As you see, it is "127.0.0.1".
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2019
02:26 AM
05-28-2019
02:26 AM
Re: I installed Magento but can't open admin page.
Edit apache2.conf file and change following
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> to <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
or you may try to enable the rewrite module in the Apache
sudo a2enmod rewrite
sudo service apache2 restart
---
Problem Solved Click Accept as Solution!:Magento Community India Forum
Problem Solved Click Accept as Solution!:Magento Community India Forum
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2019
02:51 AM
05-28-2019
02:51 AM
Re: I installed Magento but can't open admin page.
Hi @jason_long
As I can see you are installing Magento on localhost. To solve Magento 2.x admin page blank issue follow these steps:
- Navigate to #/vendor/magento/framework/View/Element/Template/File/Validator.php:114
- Find the below string:
$realPath = $this->fileDriver->getRealPath($path);
- and replace it with:
$realPath = str_replace('\\', '/', $this->fileDriver->getRealPath($path));
Hope it will help you.
---
If you've found one of my answers useful, please give"Kudos" and "Accept as Solution"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2019
04:48 AM
05-28-2019
04:48 AM
Re: I installed Magento but can't open admin page.
I added these lines but problem exist.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2019
04:49 AM
05-28-2019
04:49 AM
Re: I installed Magento but can't open admin page.
This line not exist:
# cat /var/www/html/vendor/magento/framework/View/Element/Template/File/Validator.php | grep "$realPath = $this->fileDriver->getRealPath($path);" #
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2019
12:59 PM
05-28-2019
12:59 PM
Re: I installed Magento but can't open admin page.
@jason_longFrontend is working for you? What environment you are on Lamp/Mamp/Wamp etc?
Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.
- Tarandeep
Problem solved?Please give 'Kudos' and accept 'Answer as Solution'.
Problem solved?Please give 'Kudos' and accept 'Answer as Solution'.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2019
12:05 AM
05-29-2019
12:05 AM
Re: I installed Magento but can't open admin page.
I'm using Lamp.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2019
10:30 PM
05-31-2019
10:30 PM
Re: I installed Magento but can't open admin page.
Any idea?