Author Topic: TCPDF Error  (Read 9754 times)

Mooncastyre

  • Beginner
  • *
  • Posts: 10
  • VirtueMart Version: 3.4.2
Re: TCPDF Error
« Reply #15 on: November 14, 2018, 16:50:17 pm »
Should be fixed in the vm3.4.3

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

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10273
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: TCPDF Error
« Reply #16 on: November 16, 2018, 10:14:00 am »
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

  • Jr. Member
  • **
  • Posts: 129
  • VirtueMart Version: most recent dev version (trunk)
Re: TCPDF Error
« Reply #17 on: November 17, 2018, 07:53:13 am »
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

  • Beginner
  • *
  • Posts: 10
  • VirtueMart Version: 3.4.2
Re: TCPDF Error
« Reply #18 on: November 20, 2018, 11:49:20 am »
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:

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

delroy

  • Beginner
  • *
  • Posts: 4
Re: TCPDF Error
« Reply #19 on: November 22, 2018, 14:23:32 pm »
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3742
  • using Matomo instead of Google Analytics
Re: TCPDF Error
« Reply #20 on: November 22, 2018, 21:22:33 pm »
Code: [Select]
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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3866
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: TCPDF Error
« Reply #21 on: November 23, 2018, 07:36:32 am »
Strange error message:
Quote
vmError: vmPdf: For the pdf, you must install the tcpdf library at {root}/html/libraries/tcpdf

The correct url should be:
Code: [Select]
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10449
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: TCPDF Error
« Reply #22 on: November 23, 2018, 10:10:16 am »
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 http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Mooncastyre

  • Beginner
  • *
  • Posts: 10
  • VirtueMart Version: 3.4.2
Re: TCPDF Error
« Reply #23 on: December 09, 2018, 17:13:07 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.


The correct url should be:
Code: [Select]
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


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

^And this