Author Topic: Error 500 on Invoice Creation  (Read 1263 times)

Alist3r

  • Beginner
  • *
  • Posts: 5
  • A beginner
Error 500 on Invoice Creation
« on: March 10, 2015, 17:37:25 pm »
Hello,
I'm Using Joomla 3.4 and Virtuemart 3.
I've a problem with the generation of invoice from the Orders panels in the administration console.
When i click on "force invoce" i get this behaviour:

- Redirect to a new blank page with this url:

 http://www.mysite.it/index.php?option=com_virtuemart&view=invoice&layout=invoice&format=pdf&tmpl=component&virtuemart_order_id=9&order_number=a96a04&order_pass=p_f4cef

- if i search in the console of the browser i find this error:

 Failed to load resource: the server responded with a status of 500 (Internal Server Error)


SOME NOTE:

In the vmfiles/invoices i don't have any file.
The folder vmfiles/invoices have the right permission.
In the logs i don't have any error.
In the DB i found the record inside the table virtuemart_invoices

Can someone help me?
Thanks

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27536
  • Always on vacation
    • Jenkin Hill Internet
Re: Error 500 on Invoice Creation
« Reply #1 on: March 10, 2015, 23:45:30 pm »
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.3.10163 on Joomla 3.9.12 PHP 7.0.33

Alist3r

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Error 500 on Invoice Creation
« Reply #2 on: March 11, 2015, 09:07:51 am »
Exactly which version?  See http://forum.virtuemart.net/index.php?topic=79800.0

VirtueMart 3.0.6 and the latest version of Joomla

Alist3r

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Error 500 on Invoice Creation
« Reply #3 on: March 11, 2015, 12:08:06 pm »
I found this error in the Apache error log:

PHP Fatal error:  Call to undefined method VmVendorPDF::convertHTMLColorToDec() in C:\xampp2\htdocs\cialdestore\components\com_virtuemart\helpers\vmpdf.php on line 129

How can i fix this?

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9937
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Error 500 on Invoice Creation
« Reply #4 on: March 11, 2015, 16:11:19 pm »
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Alist3r

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Error 500 on Invoice Creation
« Reply #5 on: March 11, 2015, 17:54:39 pm »
Install the new TcPdf, http://dev.virtuemart.net/attachments/download/900/com_tcpdf_for_vm2.zip

I had to download TCPDF from the Virtuemart download panel. No all works right.