1

After upgrading Magento from 2.1 to 2.2 I got a weird issue. Site is showing all pages blank on frontend, but admin panel has error "not redirecting properly" and can not be accessed. No errors in logs.

Mode: production; Magento version: 2.2.3 Commerce

asked Sep 21, 2018 at 7:30
1
  • can you please check mod_rewrite module is enabled or not ? Commented Sep 21, 2018 at 7:31

1 Answer 1

0

After few hours the thing that worked for me was disabling and re-enabling Dotmailer module.

php bin/magento module:disable Dotdigitalgroup_Email
php bin/magento module:enable Dotdigitalgroup_Email

UPDATE:

Issue was actually caused by incorrectly generated metadata files (at the point of running setup:di:compile there was a symlink created for "generated" folder which somehow made the global.php file to be incorrectly generated). module:enable/disable command made metadata files to be deleted and that is why site started working correctly.

Issue got resoved when we updated deployment procedure and removed "generated" folder symlink before running setup:di:compile.

answered Sep 21, 2018 at 7:32

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.