News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Problems with PDF invoice PDF (blank PDF only header)

Started by chaldama, August 19, 2015, 09:41:06 AM

Previous topic - Next topic

chaldama

At http://www.nordicwalkingstokken.com/ which runs in VM 3.0.9 all PDF invoices show up blank. The files only contain the header image and information and "//" in the content area.

I already reinstalled the latest version of the tcpfdf library but this does not make a difference.

Any ideas how to solve this?

kmaciej

i got simillar problem with products for download (iStraxx plugin)

Studio 42


chaldama

Hi Patrick,
Thank you for replying.
I tried your solution but unfortunately, the invoices are still empty, except for the header and "//" in the content area.
Regards,
Marloes

Studio 42

Hi Marloes,
Have you try to set joomla default template (isis) for your tests ?
perhaps your template is obsolete and call an unexisting function .

chaldama

Thank you for your reply.
My administrator template already is set to Isis. Or do you mean changing my frontend template from Yagendoo to standard?

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

chaldama

Hi Milbo,
Thank you for the tip but I do not need any customisations, I just want to use the standard PDF invoice. Currently this does not work.
Regards Marloes

Milbo

" If you want to view the invoice in non-pdf format, just use the print view (go to the backend orders list, use the print icon, copy paste the link of the popup). it should look like this:
/index.php?option=com_virtuemart&view=invoice&layout=invoice&format=pdf&tmpl=component&virtuemart_order_id=5"

If you want to debug your Invoice, you must follow this procedure to exclude errors of the layout. When the pdf stays blank, then there is either an error in the layour, or there is a problem with an used image.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

chaldama

Hi Milbo,
Thank you, it was indeed the vendor image that caused the problem. So glad this is finally solved!
Regards Marloes

Studio 42

For info :
90% of full blank PDF pages in VM are from PNG images logo(or paiment, shipmnet image...) or template. Using default template and a jpg image sould work in most  cases.

chaldama