0

I just had a report of someone who was trying to generate PDF thank you letters for recent contributions, and when they click "Make Thank-you Letters", instead of downloading a PDF they were redirected to a Contribution page on the front end.

That sounded bizarre, so I tested and it did the same for me. I can't think of any recent change on the site that could cause this. I just upgraded to the latest release (from 4.7.27 to 4.7.29) and cleared caches, but it didn't solve it.

Has anybody else seen this type of behaviour before? Where to start looking to figure out what's happening?

1 Answer 1

0

There didn't seem to be anything related in the CiviCRM log (with logging turned on) or PHP error log. In the Apache error log there was a strange error:

AH01797: client denied by server configuration: 
/home/username/public_html/sites/default/files/civicrm/custom/delete-this-MDH295Ww25

Permissions all seemed fine, however.

I ended up installing wkhtmltopdf and bypassing dompdf which isn't really a solution to the problem but is an alternative.

1
  • I think that's related to the System checks, but can't be sure. Might want to call the System.check api and see if that appears again in the logs. Commented Jan 24, 2018 at 23:14

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.