If the PDF file generated is blank or empty, without any content then it's because the function for converting the HTML-Content has failed. This is usually because the content generated is not compatible for the PDF file so your PDF Reader is unable to render any text or image inside the PDF file.

An invalid HTML Mark-up is often the cause of these problems, meaning that some characters or tags of the Template-File used for generating the PDF file, broke the layout making the PDF empty.

The first thing to do in these cases is to locate the Template-File used for the generation of the PDF file which is in:
/components/com_vikevents/helpers/
From the parameters of the event you can find the exact name of the .php file used.

The PHP file will contain mostly HTML code and something in these cases must be breaking the layout. If you are using some special characters like "°", "§" etc.... make sure to remove them so that the PDF file will no longer include such characters. If by re-generating the PDF file from the administrator section, the result is the same, you should compare the .php file with the original one to see if anything changes. Only invalid characters or an invalid HTML Structure can break the layout of the PDF file.

Last Update: 2015-07-07 13:49
Helpful?