First of all, let me express that I really like this package. Kudos.
Unfortunately, I'm having a small (I hope) issue with it. I'm working on a Umbraco v6.2.6 site that is set up in two environments (one is in my localhost and the other is in my client's production server).
In my localhost I can render PDFs with images without any trouble at all. On the other hand, my live site renders the same PDFs but without the
images. I already checked if the URLs in each src attribute of all the fo:external-graphic tags are correct (and they are, if I visit those URLs on separate browser tabs I can see the images perfectly).
Finally, I decided to take a peek at my tracelogs and I found the following message on my live site several times (but not on my local site's tracelogs):
2018-03-22 16:30:19,774 [73] ERROR
umbraco.cms.businesslogic.packager.PackageAction - [Thread 123] Error
loading package action 'AddXmlFragment' for package PDF Creator
System.NullReferenceException: Object reference not set to an instance
of an object. at
PackageActionsContrib.AddXmlFragment.Execute(String packageName,
XmlNode xmlData) at
umbraco.cms.businesslogic.packager.PackageAction.RunPackageAction(String
packageName, String actionAlias, XmlNode actionXml)
Could that exception be the culprit of my images not showing up on my PDF's? Have you stumbled upon anything like it?
UPDATE 23/03/2018: I uninstalled and re-installed the package and now the error is gone from my tracelogs. Unfortunately, I can only show images from domains different than my client's (for example, I can show images from Imgur, Flickr, Google, etc.)
Sorry for the delay. We're currently evaluating some issues with the site's TLS config which seem to be interfering with the rendering of images. I'll provide an update as soon as we finish some tests.
We were following a lead regarding different versions of .Net and different types of security certificates installed in our testing and production servers. We did some maintenance, updated both servers and made sure they are running the exact same version of .Net and that they have the same type of security certificates installed.
Unfortunately, my initial situation remains the same. My localhost and testing sites show both images from the Umbraco installation and external sites, but my live site only shows images from the external sites.
Is it possible for me to send you the templates via private message? Perhaps you can pick up something that I'm overlooking.
Images not showing on live site
Hello,
First of all, let me express that I really like this package. Kudos.
Unfortunately, I'm having a small (I hope) issue with it. I'm working on a Umbraco v6.2.6 site that is set up in two environments (one is in my localhost and the other is in my client's production server).
In my localhost I can render PDFs with images without any trouble at all. On the other hand, my live site renders the same PDFs but without the images. I already checked if the URLs in each src attribute of all the fo:external-graphic tags are correct (and they are, if I visit those URLs on separate browser tabs I can see the images perfectly).
Finally, I decided to take a peek at my tracelogs and I found the following message on my live site several times (but not on my local site's tracelogs):
Could that exception be the culprit of my images not showing up on my PDF's? Have you stumbled upon anything like it?
UPDATE 23/03/2018: I uninstalled and re-installed the package and now the error is gone from my tracelogs. Unfortunately, I can only show images from domains different than my client's (for example, I can show images from Imgur, Flickr, Google, etc.)
Hi Nicola,
Are you able to share the FO output from your template, or at least an extract of it that shows an FO external graphic tag that isn't working?
Many Thanks.
Hi Darren,
Sorry for the delay. We're currently evaluating some issues with the site's TLS config which seem to be interfering with the rendering of images. I'll provide an update as soon as we finish some tests.
Best regards,
Hi Darren,
We were following a lead regarding different versions of .Net and different types of security certificates installed in our testing and production servers. We did some maintenance, updated both servers and made sure they are running the exact same version of .Net and that they have the same type of security certificates installed.
Unfortunately, my initial situation remains the same. My localhost and testing sites show both images from the Umbraco installation and external sites, but my live site only shows images from the external sites.
Is it possible for me to send you the templates via private message? Perhaps you can pick up something that I'm overlooking.
Best regards,
Hi Nicolas,
You can reach me using darren at moriyama.co.uk
is working on a reply...