Author Topic: Shop sends no email as it is unable to display invoices  (Read 69 times)

Stefan Korth

  • Beginner
  • *
  • Posts: 42
Shop sends no email as it is unable to display invoices
« on: December 06, 2018, 12:37:41 pm »
Hi, I have the most current joomla and VM versions running. In October our hoster deactivated PHP5x, and so I switched to 7.1 for the shop. Since suddenly I received no notifications anymore when someone was buying. I looked into it, and realized it also is unable to display the invoice both in front end and in back end.

when completing an order, I get a failure notice: "TCPDF ERROR: Could not include font definition file: helvetica".

I have since updated both Joomla and VM to the most current versions ( I lagged one version behind), hoping that that would solve it. Nothing changed.


When turning on PHP developer mode, the error is displayed like this:

Notice: Use of undefined constant JPATH_VM_LIBRARIES - assumed 'JPATH_VM_LIBRARIES' in /data/web/1/000/017/312/23124/htdocs/drumstore3/libraries/tcpdf/config/tcpdf_config.php on line 51

Warning: opendir(JPATH_VM_LIBRARIES/tcpdf/fonts/): failed to open dir: No such file or directory in /data/web/1/000/017/312/23124/htdocs/drumstore3/libraries/tcpdf/tcpdf.php on line 4154
TCPDF ERROR: Could not include font definition file: helvetica

strange though, both directories exist, and the files too. I have uploaded new ones via FTP to check if they were corrupted, but nothing changed.

I yesterday gave the issue to a programmer who looked into it for several hours, charged me a lot of money and could not solve it. His solution would be seting up the whole store new. Not sure how much he would charge me for that. But he certainly has no experiences with VM despite what he said.

So maybe someone here has stumbled over this issue and might be helpful.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8556
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Shop sends no email as it is unable to display invoices
« Reply #1 on: December 06, 2018, 12:46:44 pm »
and have u upgraded to the latest versions? we see all the time "latest versions" but often they are not!



have u installed  http://dev.virtuemart.net/attachments/download/1137/com_tcpdf_1.0.5.zip ?
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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27096
  • Always on vacation
    • Jenkin Hill Internet
Re: Shop sends no email as it is unable to display invoices
« Reply #2 on: December 06, 2018, 13:09:27 pm »
Something is certainly "old" on your VM installation as it is looking for TCPDF in the wrong place. With current versions TCPDF is installed in libraries/vendor/tecnickcom/tcpdf  and not /libraries/tcpdf/
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.4.3.9989 on Joomla 3.9.1 PHP 7.0.32
Testing VM 3.4.3.9993 on Joomla 3.9.1