VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: johnknit on June 30, 2015, 11:17:45 AM

Title: Error in making PDF invoice
Post by: johnknit on June 30, 2015, 11:17:45 AM
When creating invoice the custumer get the error enclosed on screen.
In the invoice the is no line with the products ordered.
The invoice totals are correct.
Title: Re: Error in making PDF invoice
Post by: johnknit on June 30, 2015, 11:57:58 AM
I also tried uninstal the tcpdf component with the installer, After that i download the latest version and installed it again.
No succes.
Title: Re: Error in making PDF invoice
Post by: jenkinhill on June 30, 2015, 12:16:59 PM
It is just a PHP warning about the code in TCPDF - we have no control over that. Turn off PHP warnings in your server php.ini or see http://forum.virtuemart.net/index.php?topic=102555.0
Title: Re: Error in making PDF invoice
Post by: johnknit on June 30, 2015, 12:59:18 PM
The error reporting on the server is on Simple.
The main problem is not the error reporting but the missing articles on the invoice.
Title: Re: Error in making PDF invoice
Post by: jenkinhill on June 30, 2015, 13:02:49 PM
What PHP version are you using?
Title: Re: Error in making PDF invoice
Post by: johnknit on June 30, 2015, 13:19:35 PM
The server uses PHP 5.3.29
Joomla 3.04.01
Virtuemart 3.0.8
Title: Re: Error in making PDF invoice
Post by: jenkinhill on June 30, 2015, 15:08:59 PM
That's an old PHP version, should really be 5.4+  and current release VM version is 3.0.9.4

Is the TCPDF version the VM supplied version? That is  com_tcpdf_1.0.0.zip  from http://dev.virtuemart.net/projects/virtuemart/files  (it is shown under VM3.0.6 files) ?

If you stop the error displaying does the product detail then show properly?
Title: Re: Error in making PDF invoice
Post by: johnknit on July 01, 2015, 09:46:35 AM
The update of virtuemart did the trick.
So it is solved.
Title: Re: Error in making PDF invoice
Post by: AH on July 01, 2015, 09:50:43 AM
thank you for the update