veda-consulting-company / uk.co.vedaconsulting.mailchimp

Other
22 stars 43 forks source link

Mailchimp settings page is 404 on CiviCRM 5 / Drupal 8 #321

Closed johncronan closed 5 years ago

johncronan commented 5 years ago

I have 2.0.1 installed on my CiviCRM 5.12.3 site with Drupal 8.6.15.

It says enabled for mailchimp, on the extensions page. But when I go to /civicrm/mailchimp/settings (or select it from the menu), I get a 404 error.

The built-in debugging options that you add to the URL don't work, since it can't find the page to begin with. There is also nothing in the logs. Any suggestions?

johncronan commented 5 years ago

I'm looking into the code that reports routes back to Drupal, within the civcrm-drupal-8 module. Still can't figure out what's going on, though.

johncronan commented 5 years ago

solution is to run: drush ev '\Drupal::service("router.builder")->rebuild();'

a quirk in the Drupal 8 civicrm module, apparently not specific to Mailchimp.