cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.3 after fresh install admin page stuck on loading ..

Magento 2.3.3 after fresh install admin page stuck on loading ..

Good day

 

I've installed Magento 2.3.3 - fresh install from hosted server - on Windows 10 - installation went well through install wizard.  But now I can't access the admin page - I can see the admin page on the background, but there is 'n circle going round and round and round ... forever - page is stuck on loading.

 

PLEASE help! 

 

What I've tried:

- deleted var.cache files

- deleted cache files from chrome (which I use)

- set permission on all files and folders to 755

 

Still does not work.

 

Frontend seems to work.

 

Kind regards,

7 REPLIES 7

Re: Magento 2.3.3 after fresh install admin page stuck on loading ..

Hi @jorgedamie79aa 

 

There might be some issue with deployment. Also check errors in browser console.

There may be some issue with permissions on the server in generations of static files. And make sure that you have ". htaccass" file in pub/static folder.


Try the following command to setup proper permission to magento directory.

 

find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento

After it run the following magento commands in the sequence.


Upgrade and compile command are optional.

chmod -R 0777 var/ pub/ generated/
rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/*
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
php bin/magento indexer:reindex
chmod -R 0777 var/ pub/ generated/

I hope it will help you!

Re: Magento 2.3.3 after fresh install admin page stuck on loading ..

Hi @jorgedamie79aa 
The problem is  Windows 10 Server, Magento 2 is not compatible with the Windows OS environment.

You can find all clear requirements here: https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html

Thanks

Re: Magento 2.3.3 after fresh install admin page stuck on loading ..

Hello @jorgedamie79aa 

 

You can check this thread may be it will help to resolve your issue for window O.S.

 

https://community.magento.com/t5/Installing-Magento-2-x/Error-al-instalar-Magento2/m-p/422435/highli...

 

If my answer is useful, please Accept as Solution & give Kudos

Thank you
Anant Prajapati
Magento Certified Developer

Re: Magento 2.3.3 after fresh install admin page stuck on loading ..

Follow this guide maybe help you, 

1. Open app/etc/di.xml

Find below code and replace it.
Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink
with
Magento\Framework\App\View\Asset\MaterializationStrategy\Copy

 2. Please check .htaccess file under pub/media

 3. Open vendor/magento/framework/View/Element/Template/File/Validator.php

Find below code and replace it.
$realPath = $this->fileDriver->getRealPath($path);
with
$realPath = str_replace('', '/', $this->fileDriver->getRealPath($path));

4. Run below commands

php bin/magento setup:upgrade

php bin/magento setup:static-content:deploy -f

Re: Magento 2.3.3 after fresh install admin page stuck on loading ..

Hi @jorgedamie79aa

 

You can try the following commands and check again. 

chmod -R 777 var pub generated
php bin/magento setup:upgrade 
php bin/magento setup:di:compile 
php bin/magento setup:static-content:deploy -f 
php bin/magento cache:flush 

Let me know if you need further assistance. Hope it helps!

 

_____________

If issue solved, Click Kudos & Accept as Solution.

Marcus | LitExtension Expert
Shopping Cart Migration Service

Re: Magento 2.3.3 after fresh install admin page stuck on loading ..

Hi @jorgedamie79aa,

 

Hope this can help you! 

Marcus | LitExtension Expert
Shopping Cart Migration Service

Re: Magento 2.3.3 after fresh install admin page stuck on loading ..

As your Magento 2.3.3 stuck in loading after fresh install admin page, so you need to try this command after running. It may solve your problem.

 

php bin/magento config:set web/secure/use_in_adminhtml 1