VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: cezarylee on February 24, 2014, 09:54:27 AM

Title: Fatal error: Call to undefined method VmVendorPDF::convertHTMLColorToDec() in ..
Post by: cezarylee on February 24, 2014, 09:54:27 AM
[Edit by Mod: Meanwhile fixed, update your tcpdf http://dev.virtuemart.net/projects/tcpdf/files
http://docs.virtuemart.net/manual/general-concepts/205-invoices.html ]
Hi

In backend when i'm trying to confirm an order this error has occour:

Fatal error: Call to undefined method VmVendorPDF::convertHTMLColorToDec() in /home/mysite/public_html/components/com_virtuemart/helpers/vmpdf.php on line 112

Yes, I've read one solution that reinstall all VM script, but is that only way to solve the problem ?  I wont do this, because it may broke something else...

Can you help me with that ??
Title: Re: Fatal error: Call to undefined method VmVendorPDF::convertHTMLColorToDec() in ..
Post by: cezarylee on February 24, 2014, 10:46:54 AM
OK, solved, but for other people:

file vmpdf.php

find two times

$this->convertHTMLColorToDec

and replace

TCPDF_COLORS::convertHTMLColorToDec