cancel
Showing results for 
Search instead for 
Did you mean: 

Blank page after installation and admin 404

Blank page after installation and admin 404

Hello All,

 

I have installed Magento 2 on a CentOS 7 server with PHP 7.0.9 and NGINX 1.11.3 using the command line.

After running the installation, when we try to load the home page we get nothing but a blank page.

I do see a 500 error in the browser console, but i cant find anything in the PHP or NGINX logs.

On top of this, when I try to go to the admin, I am getting a 404 error.

Any help would be much appreciated!

 

Thanks

2 REPLIES 2

Re: Blank page after installation and admin 404

Unfortunately there can be many reasons for such an error / blank page.

The common ones are:

 

1. Miss-configured nginx or php-fpm.

2. Missing or not enabled rewrites.

3. Incorrect permissions on php scripts.

4. SELinux Enabled or not configured.

 

Can you share your nginx and php logs with us by attaching them to your next reply? Make sure your have php error logging enabled also.

--
Problem solved? Click Accept as Solution!

Re: Blank page after installation and admin 404

@Stuart M Thank you for the reply. I have solved the blank page issue by changing some folder permissions but I am still experiencing the 404 result when trying to go to the admin. There is nothing in the NGINX or the PHP logs. Im sorry, I am very new to this, where would I check that the PHP logs are actually enabled? Thank you again!