2

even after enabling the module using command-line the modules content are not loading,

in app/etc/config.php it sets the value as one 'Turtle_VM' => 1,

but in local system and staging the module is working fine

i run the following command to enable the module:

php bin/magento module:enable Turtle_VM
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento setup:di:compile
0

2 Answers 2

2

Try this Once Again In this Order. make sure there are no any error on setup:upgrade and static-content:deploy.

chmod -R 777 var pub/static/
rm -rf var/*
rm -rf pub/static/*
rm -rf generated/*
php -dmemory_limit=5G bin/magento module:enable Turtle_VM
php -dmemory_limit=5G bin/magento setup:upgrade
php -dmemory_limit=5G bin/magento setup:static-content:deploy -f
php -dmemory_limit=5G bin/magento cache:clean
php -dmemory_limit=5G bin/magento cache:flush
php -dmemory_limit=5G bin/magento indexer:reindex
chmod -R 777 var pub/static/
10
  • is the procedure i follow is wrong? Commented Sep 21, 2018 at 12:59
  • is both cache:flush and cache:clean is needed Commented Sep 21, 2018 at 13:00
  • Yes. It needed. Commented Sep 21, 2018 at 13:00
  • i don't face any errors , everything was completed successfully Commented Sep 21, 2018 at 13:01
  • Are you using Ubuntu or windows? Commented Sep 21, 2018 at 13:01
0

try to run these commands from CLI.

php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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