Blank admin page on Magento 2.3.0 CE in localhost

Blank admin page on Magento 2.3.0 CE in localhost

July 7, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Blank admin page on Magento 2.3.0 CE in localhost

Resolving Blank Admin Page Issue on Magento 2.3 CE Localhost

Are you facing a blank admin page when trying to access your local Magento 2.3 CE installation? You’re not alone. This common issue can be quite frustrating, but fear not! I’ll walk you through the steps to resolve this problem and get your admin panel up and running in no time.

Understanding The Issue

When you try to access the admin page (e.g., http://localhost/magento/admin_pogi), Magento redirects you to a URL with a long key string, but the page remains blank. If you’ve enabled development mode, you might see an exception related to a template file not being found.

This typically happens due to incorrect permission settings or corrupted cache files. Let’s dive into how to fix this issue step by step.

Step 1: Check File Permissions

The first thing we need to do is ensure that the necessary files have the correct permissions to be accessed and read by Magento. Here’s what you should check:

1.1 Verify .htaccess file permissions

The .htaccess file located in your Magento root directory should have 644 permissions (readable by everyone). You can change the permissions using the following command:

chmod -R 755 /path/to/your/magento/installation/.htaccess

1.2 Check pub/static permissions

The pub/static folder contains static files generated by Magento. It should have 777 permissions to ensure that all users can read, write, and execute the files.

chmod -R 777 /path/to/your/magento/installation/pub/static

Step 2: Clear Cache

Corrupted cache files can also cause this issue. Let’s clear both the var/cache folder and the Magento-generated cache:

2.1 Remove var/cache contents

Delete all the contents of the var/cache directory to remove any cached data.

rm -rf /path/to/your/magento/installation/var/cache/*

2.2 Flush Magento cache

Open a browser and navigate to your Magento store’s URL (e.g., http://localhost/magento). Click on the “System” menu in the top right corner, then select “Cache Management”.

Select all checkboxes under the “Enable for Frontend” column and click “Flush Cache Magentos”. Then, repeat this process for the “Disable for frontend” cache types.

Step 3: Verify Your Magento Installation

If you’ve followed the steps above but are still facing issues, there might be something wrong with your Magento installation. To verify it:

3.1 Check database connection parameters

Open app/etc/env.php and ensure that the database connection parameters (dbname, username, password) match those in your MySQL configuration.

3.2 Run setup:upgrade command

Navigate to your Magento root directory and run the following command to upgrade the database schema:

php bin/magento setup:upgrade

Conclusion

In most cases, fixing file permissions and clearing cache should resolve the blank admin page issue on your local Magento 2.3 CE installation. However, if you’re still facing problems, double-check that all steps have been followed correctly.

Remember to always keep your Magento version up to date for optimal performance and security. You can learn more about the latest features and best practices on our Magento blog.

Don’t forget to subscribe to our newsletter to stay informed about the latest developments in the Magento ecosystem!

Magento 2 Cache Security Themes

Our network