Posted: June 7, 2017 at 6:00 am
Version WordPress: 4.7.5 Dears, I done a registration on your demo website and when I check PDF file I can see a very nice layout (with CSS…). Any idea ? Thank you so much for your help π |
|
Hi there, We usually see this when allow_url_fopen has been disabled on the server. Can you check with your hosting provider and if disabled have them enable it on your site please? DOMPDF (which EE uses to generate the PDF’s) is reliant on that option being enabled. |
|
Hi Tony, allow_url_fopen is enable ! Regarding DOMPDF where can I found this on my phpinfo ? … when I search DOMPDF nothing is found (I had create a PDF file). Nice to read you back. |
|
It may be enabled but not configured, or certain protocols blocked. You won’t find DOMPDF within PHP info, it’s a library included within EE and that library requires allow_url_fopen is enabled and functioning. Can you send me a link to either a test event or a link to the invoice I can view for a test registration, please? |
|
Hi Tony, Here is the link for a test event: You will see that your address will missing on invoice and receipt as it’s my other request / post π Thank you for your help ! |
|
I have replied to your Address question thread and will troubleshoot that issue there, it’s a different issue to this one. Can you enable WP_DEBUG on the site and let me know when it is active so I can test the PDF download, please? |
|
It’s done ! |
|
Ok, so your host is returning 403 Forbidden on the images when using
Are you running any security plugins on the site? They may be blocking the request. If not I recommend contacting your hosting provider and have them investigate this further, the above is very likely to be connected to all of the issues with the PDF’s. Note you can disable WP_DEBUG again now. |
|
Thank you Tony for your feedback. |
|
Ok, I found where was the problem ! Plugin iThemes security > disable “Enable HackRepair.comβs blacklist feature” …. and found also that here https://eventespresso.com/topic/warning-getimagesize-error/ Once again, thank you dear for your help ! |
|
The support post ‘EE4 Invoice + Receipt PDF files without CSS and image not found’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.