cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.3 installation blank page

Magento 2.3.3 installation blank page

If i run my url : 192.168.1.64:8085 i am getting empty page, my log error.

 

2020/01/21 12:11:54 [error] 13162#0: *1 FastCGI sent in stderr: "Access to the script '/usr/share/nginx/html/mage/setup/index.php/navigation' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.1.64, server: 192.168.1.64:8085, request: "GET /setup/index.php/navigation HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.64:8085", referrer: "http://192.168.1.64:8085/setup/"
2020/01/21 12:11:54 [error] 13162#0: *1 FastCGI sent in stderr: "Access to the script '/usr/share/nginx/html/mage/setup/index.php/navigation/side-menu' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.1.64, server: 192.168.1.64:8085, request: "GET /setup/index.php/navigation/side-menu HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.64:8085", referrer: "http://192.168.1.64:8085/setup/"
2020/01/21 12:11:54 [error] 13162#0: *1 FastCGI sent in stderr: "Access to the script '/usr/share/nginx/html/mage/setup/index.php/navigation/header-bar' has been denied (see security.limit_extensions)" while reading response header from upstream, client: 192.168.1.64, server: 192.168.1.64:8085, request: "GET /setup/index.php/navigation/header-bar HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.1.64:8085", referrer: "http://192.168.1.64:8085/setup/"
6 REPLIES 6

Re: Magento 2.3.3 installation blank page

HI @Aveeva,

have you given full permission to magento folder for now?

sudo chmod -R 0777 /magento_path

also enable

ini_set('display_errors', 1);


in app/bootstrap.php

I hope it will help you!

Re: Magento 2.3.3 installation blank page

@Vimal Kumar 

 

after run the cmd,   

chmod -R 0777 /usr/share/nginx/html/mage  &  https://snipboard.io/3mXgeR.jpg

FYI - mage is my root folder, 

 

Still getting same error. Screenshothttps://snipboard.io/4IgYkf.jpg

log error : https://justpaste.it/4besd

 

Re: Magento 2.3.3 installation blank page

Hi @Aveeva,

It looks like that there is some issue with the nginx settings, not the magento issue,

try once the below solution:

https://magento.stackexchange.com/a/227175

I hope it will help you!

Re: Magento 2.3.3 installation blank page

nginx.config.sample :

 

location /setup {
    root $MAGE_ROOT;
    location ~ ^/setup/index.php {

        ### This fixes the problem:
        fastcgi_split_path_info ^(.+?\.php)(/.*)$;
        ################################

        fastcgi_pass   fastcgi_backend;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }

    location ~ ^/setup/(?!pub/). {
        deny all;
    }

    location ~ ^/setup/pub/ {
        add_header X-Frame-Options "SAMEORIGIN";
    }
}

output :

 

https://snipboard.io/rg8bLH.jpg

 

 

Re: Magento 2.3.3 installation blank page

Hi @Aveeva,

Great.. looks like previous server error resolved. Please accept as a solution so it will help to others as well.

For new error:

Also try once "127.0.0.1" instead of "localhost".

It looks like some issue with database username and password.

have you set password for DB user root, if not then set a password.

Or you can create a new DB user with password and try.
https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-m...

I hope it will help you!

Re: Magento 2.3.3 installation blank page

@Aveeva issue resolved?