0

I'm having a strange problem here: basically, whenever we send a newsletter, only the plain-text part appears. I have checked with the SMTP gateway and the emails it is sending out are the same as the ones CiviCRM is sending. Additionally, when I click the "Preview as HTML" button, a new window appears which is blank except for the text "(null)".

Nothing really has changed except I think a routine upgrade (to 4.7.29). We also emptied the templates_c directory a few weeks ago because it was over 8GB+ in size. In any case I've tried refreshing caches (using URL, dashboard button and drush methods), and loading, modifying and re-saving the newsletter template.

Additionally, I can no longer see contributions on a contact's dashboard (though the number of contributions is correctly displayed). I don't suppose that's related..?

0

We believe it was a problem with file permissions in sites/default/files/civicrm/templates_c applied after the last security update.

  • 1
    This happens if you execute drush commands with another user than the webserver user. I would recommend to always use the webserver user if possible. (e.g. via sudo) – Phil_B May 4 '18 at 8:57

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.