VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: mailblade on March 09, 2020, 08:56:46 AM

Title: After updating TCPDF, invoices can't be downloaded from back-end.
Post by: mailblade on March 09, 2020, 08:56:46 AM
Hi guys!

VM version: 3.2.4
Joomla version:  3.9.1
TCPDF:  1.0.4

I decided to update my TCPDF library to the latest version of 1.0.8. 

After doing this,  I can no longer download order invoice PDF's from the back-end of Virtuemart. If I click on the button to download the PDF, I get the following error:

Quote
Call to undefined method vmDefines::tcpdf()

If I order through the website I still get the PDF attachment in the email. 

I have tried re-installing TCPDF, re-installing VM itself and nothing worked.

I did not want to update VM since I did a lot of custom work to it and would lose almost everything. Has anyone had this issue before? Any advice would be greatly appreciated.
Title: Re: After updating TCPDF, invoices can't be downloaded from back-end.
Post by: GJC Web Design on March 09, 2020, 10:03:23 AM
no, no, no....

QuoteVM version: 3.2.4
????

Why do u update your TCP but NOT your VM?  and for that matter your Joomla?
Title: Re: After updating TCPDF, invoices can't be downloaded from back-end.
Post by: jenkinhill on March 09, 2020, 12:13:40 PM
VM3.2.4 is over 2.5 years old and is known to be insecure, as is your Joomla version. If your custom work was done using file overrides then normally the modifications are not removed during updates, but you would need to test.
I understand your predicament but running an insecure store could result in hacking, loss of customer data and reputation, and possible fines under GDPR data laws.

http://forum.virtuemart.net/index.php?topic=118683
Title: Re: After updating TCPDF, invoices can't be downloaded from back-end.
Post by: mailblade on March 09, 2020, 13:07:37 PM
Ok I will be updating VM and TCPDF and come back to you guys
Title: Re: After updating TCPDF, invoices can't be downloaded from back-end.
Post by: mailblade on April 01, 2020, 12:51:57 PM
After updating VM itself as well as TCPDF, my issue was resolved.

Also, I did not have as much work to do as I originally thought regarding custom edits and so on. From now on I'll be sure to always keep VM updated! Thanks a lot!