News:

Looking for documentation? Take a look on our wiki

Main Menu

Fatal error when Confirm Orders

Started by batboiko, September 29, 2012, 16:56:12 PM

Previous topic - Next topic

batboiko

Joomla 2.5.7  VM 2.0.10


I have this error when i try to confirm order at the administrator panel in VM

Fatal error: Call to undefined method MYPDF::SetDefaultMonospacedFont() in /my_path/components/com_virtuemart/controllers/invoice.php on line 155

After i go back to the page again the order is confirm .

What is this error ? Now all my orders are going to Pending ? Can this error causing the problem ?

I look inside this file and on line 155 i have this :

// set default monospaced font
      $pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);

batboiko

#1
Is this well know issue or is only me ? Please someone to respond

Thank you

Mod edit:  impatient bump message removed.  http://forum.virtuemart.net/index.php?board=114.0

bytelord

Hi,

Check your joomla error log for any entries regarding tcpdf library. tcpdf is a third party library that vm uses to create the PDF invoices. Does your invoices created?
Have you install correctly the AIO VM package that contains the tcpdf library?

Regads
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

batboiko

#3
"Have you install correctly the AIO VM package that contains the tcpdf library?"

I reinstall AOI VM package and is the same thing


"Does your invoices created? "

No . When i click on create invoice i have blank page with this : TCPDF error: Could not include font definition file

bytelord

Hi,

May be there are issues when AIO extensions installed and old files are located inisde joomla_folder/libraries/tcpdf ... check it.
Last try the aoi extensions tar.gz files that are smaller.

What are the contents of  your joomla error log?

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

batboiko

Thank you ! It work with aoi extensions tar.gz

bytelord

Great,

That means that your PHP upload filesize or session expired. Always is better to use tar.gz files because are smaller. This is not a vm issue but how joomla and php is been configured for large files and session expire.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!