1

I had "magento 2" installed with composer. the installation is running correctly. Now, when I look at the backend or the frontend no Theme appears.

What could be wrong? I have also tried it with the WebWizzard. Since the same error occurs.

Maybe someone can help

  • Does you see login forms in admin – Arjun Aug 10 '16 at 12:12
0

Navigate to the folder dev/tools/Magento/Tools/View and run this in the command line.

php deploy.php

Else you check these links

0

Don't forget to chown your files after you ran this as a root user.

0

You can run below command(s) to deploy theme static content.

php bin/magento setup:static-content:deploy
php bin/magento setup:upgrade 
php bin/magento cache:clean

Hope this helps.

0

You can try Following ways

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f

Now, Login into admin panel & go to

Content => Configuration(Under design section) => Select your theme as Global.

Now again run following command in Cli

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

You can check "theme" table in db & also check parent id of your theme.

0

If you are facing theming issue after Installation in magento 2. You can follow these steps :

  1. Run this query :

INSERT INTO core_config_data (path, value) VALUES ('dev/static/sign', 0) ON DUPLICATE KEY UPDATE value = 0;

  1. For local machine run this query:

UPDATE <dbname>.core_config_data SET value = '0' WHERE core_config_data.path LIKE '%web/seo/use_rewrites%';

  1. Remove all the files from pub and var directory :

sudo rm -rf var/di var/generation/ var/page_cache/ var/cache/ pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs/ pub/static/deployed_version.txt

  1. Give Permission to var and pub directories of your project :

sudo chmod -R 777 var/* pub/*

  1. Upgrade Setup :

sudo bin/magento setup:upgrade

  1. Deploy content :

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

After these steps, you will be able to see proper theme.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.