News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

TCPDF Error

Started by Mooncastyre, October 08, 2018, 08:27:26 AM

Previous topic - Next topic

Mooncastyre

Quote from: Milbo on November 08, 2018, 13:05:02 PM
Should be fixed in the vm3.4.3

That's great to hear!  Thank you!!!

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

diri

Hi Milbo,

sorry but there is no preview of the bill. Normal Joomla page with blank content area is shown.

No error message.

cu, diri

Mooncastyre

Sorry, Milbo, I'm getting the same error.  I even went back and did a fresh install with Joomla 3.9 and VM 3.4.2.  I just installed VM 3.4.3.9989 and am getting this:

vmError: vmPdf: For the pdf, you must install the tcpdf library at {root}/html/libraries/tcpdf

delroy

Hi Milbo, sorry same here, joomla 3.9, VM 3.4.3.9989 , php7.2, no error message and no pdf in backend preview, just a blank screen. Also in the front end after preview invoice and select pdf preview, this comes up..... 0 - Class 'vmDefines' not found
You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.

thanks
delroy

jjk

Quote from: Mooncastyre on November 20, 2018, 11:49:20 AM
vmError: vmPdf: For the pdf, you must install the tcpdf library at {root}/html/libraries/tcpdf

Did you eventually forget to install the com_tcpdf_1.0.5.zip included in the com_virtuemart.3.4.3.9989_package_or_extract.zip?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Jörgen

Strange error message:
QuotevmError: vmPdf: For the pdf, you must install the tcpdf library at {root}/html/libraries/tcpdf

The correct url should be:
libraries/vendor/tecnickcom/tcpdf

If VM expects TCPDF to be located at '{root}/html/libraries/tcpdf' then it surely does not help to install it at the correct location. But You can always try.

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

GJC Web Design

getting a bit circular here... there is another thread with full explanation

the error is thrown ONLY when the "test/preview" invoice button is used..  AND the error message is wrong and the view is broken
This all needs to be fixed but was over looked on this (for devs) rarely used function - or there is a case for just removing the confusing function

the function is broken but as discussed it is not a very useful view anyway .. if u want to test / preview your invoices then make a purchase and look at the invoice!!!!

Delete and adjust and re status to produce another
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

Mooncastyre

#23
Quote from: jjk on November 22, 2018, 21:22:33 PM

Did you eventually forget to install the com_tcpdf_1.0.5.zip included in the com_virtuemart.3.4.3.9989_package_or_extract.zip?

I installed it about 10 times over two different sites, including full Virtuemart installs and just com_tcpdf_1.0.5.zip, and no luck.

Quote from: Jörgen on November 23, 2018, 07:36:32 AM

The correct url should be:
libraries/vendor/tecnickcom/tcpdf

If VM expects TCPDF to be located at '{root}/html/libraries/tcpdf' then it surely does not help to install it at the correct location.

^This

Quote from: GJC Web Design on November 23, 2018, 10:10:16 AM

the error message is wrong and the view is broken
This all needs to be fixed but was over looked

^And this