News:

Support the VirtueMart project and become a member

Main Menu

TCPDF ERROR unable to create output file vminvoice ....

Started by Renata, November 19, 2018, 13:57:13 PM

Previous topic - Next topic

Renata

Dear all,

VM 3.4.2
Joomla 3.9.0
PHP 7

above error we get if:


  • Customer does a payment via iDEAL
  • Customer select in payment screen that he wishes a confirmation of the payment which he gets.
  • after that he returns to the website and gets the above error

This is confusing for the customer. How can i solve that?
I hope to hear from you soon,
Kind regards
Renata
Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

GJC Web Design

you need to find WHY tcpdf cannot produce a pdf invoice

errors, logs, tests etc
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Renata

Thanks for your reply.

A normal invoice is issued, so no problem there.

But we only get this error message after the customer is returning to the website after ordered and paid for the product. The customer should return to the website without error message.

Kind regards
Renata
Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Jörgen

Multiple order states producing invoice perhaps ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Renata

@GJC Web Design: exactly! I don't know where to look? The invoice is issued, but the customer gets to see the errorpage instead of returning to the website.
@Jörgen: do not understand what you mean and where i can find that?
Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

Jörgen

Maybe thought that multiple creations of invoice would create this issue. You have the setting in VM back end, configuration -> emails

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Renata

There are a lot of choises there (see attachment), what should i change? Can you pls advice?
Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Renata

Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Renata

unfortunately that did not fix it. i also increased php memory limit which i read in another topic. We still get the error message after payment.

If i cancel my payment, so i order, check out, directed to the payment page itself and overthere i cancel, than all is oke, no error message.

I have searched a lot for a solution, I can't find it. I hope you have more suggestions?

Kind regards
Renata

Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

Jörgen

#12
Creating the invoice seems to be the problem, not double creation, are you sure that You really get an invoice created ?
By the way, check Your server and see that You have tcpdf only in this library:
/libraries/vendor/tecnickcom/tcpdf
An that these libraries do not exist:
/administrator/components/com_tcpdf/libraries
/libraries/joomla/pdf
/libraries/tcpdf

Just to check that the tcpdf is correctly installed.

Turn off creating invoice, no status checked and see if the error goes away. If error is gone, you can confirm if there is a problem
with creating the invoice and You got to work from there. 

Does the problem with invoices only appear with ideal ?
Does manual triggering of status confirm and creating an invoice create the tcpdf error ?

Jörgen @ Kreativ Fotografi

[edit, mixed up the file paths, corrected]
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Renata

Dear Jörgen

According to this topic reply it should be installed in JOOMLAROOT\libraries\vendor\tecnickcom\tcpdf\  (confirmed by JenkinHill)

My TCPDF is installed correctly.

Kind regards
Renata
Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

Jörgen

You are absolutely right, i misread the script file.

But there should be no other installs, they should all have been deleted by the install script.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.