cancel
Showing results for 
Search instead for 
Did you mean: 

magento Theme installation

Highlighted

magento Theme installation

I installed Magento 2.3.5 CE

 

then I purchased a theme which supports the same version 

 

then I uploaded (app , pup ) files the root directory via Cpanel .

then i try to make the following upgrades after SSH connection to the server:

 php bin/magento setup:upgrade 

php bin/magento setup:static-content : deploy

https://devdocs.magento.com/guides/v2.3/config-guide/cli/config-cli-subcommands-static-view.html

both commands returned a comment with above link  

 

Then I went to the dashboard > content > design > chose store view > change to the new theme > flushed cache > then the dashboard appears like a plain html page without any cascading 

3 REPLIES 3
Highlighted

Re: magento Theme installation

Hi @mohammed_ahmed6 

There might be some permission issue.
https://devdocs.magento.com/guides/v2.3/config-guide/prod/prod_file-sys-perms.html

Try the following command once:

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


After permission command try the below commands in sequence once.

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

 I hope it will help you!

----
Problem solved? Click Accept as Solution!
Highlighted

Re: magento Theme installation

Hi @mohammed_ahmed6 

 

I think you are facing a problem because of static content deployment.

 

As you said that you have installed Vanilla Magento 2.3.5 which means your Magento is running on default Mode.

 

When we are installing anything theme/extension ins default/developer mode we need to pass -f parameter to deploy the static content

 

here you have run the static-content:deploy command but it will not deploy the content as your site is still in default mode not in production.

 

So run php bin/magento setup:static-content:deploy -f along with other commands and then it will works for you.

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution
Highlighted

Re: magento Theme installation

Hi @mohammed_ahmed6,

 

It looks like this is a static content deployment issue. 

 

To resolve this issue, I would suggest you to run the following command in sequence: 

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

 

Hope this can help you! Let me know if you need further assistance. 

 

_____________

If issue solved, Click Kudos & Accept as Solution.

Marcus | LitExtension Expert
Shopping Cart Migration Service