Author Topic: TCPDF error  (Read 579 times)

ukfish1

  • Jr. Member
  • **
  • Posts: 146
    • Website design, web maintenance, Ealing,  London
TCPDF error
« on: May 07, 2019, 20:17:25 pm »
Hi

ref: www.greatbakes.co.uk

VM 3.0.9
Joomla 3.9.5

we are seeing this error when we try to print an invoice for some orders:

TCPDF ERROR: [Image] Unable to get the size of the image: https://www.greatbakes.co.uk/images/stories/virtuemart/shipment/

This only seems to happen when customers select next day delivery option. We can create the invoice for all orders that select the  free standard delivery option.

The other problem we have is that for the orders where next day delivery is chosen, we do not receive email notification that the an order has been placed. We do receive notifications for all orders where standard delivery is selected.

I don't recall having thsi problem prior to upgrading the Joomla core.

Cheers, paul

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9194
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: TCPDF error
« Reply #1 on: May 07, 2019, 22:16:14 pm »
it is usually a problem with the image/logo of the shipping method

Is there a logo with next day delivery option ? If so use a gif, not a png .. see if that solves it
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

ukfish1

  • Jr. Member
  • **
  • Posts: 146
    • Website design, web maintenance, Ealing,  London
Re: TCPDF error
« Reply #2 on: May 13, 2019, 09:11:28 am »
We have the following logo in that folder. Does it have to be a gif?

images/stories/virtuemart/shipment/braintree-logo.jpg

This has never been a problem before until we upgraded the core joomla software to 3.9.5 and there is not a problem with orders where standard delivery is selected, only with next day delivery.

Any other ideas would be appreciated.#

Paul


GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9194
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: TCPDF error
« Reply #3 on: May 13, 2019, 12:15:32 pm »
gif or jpg

Quote
there is not a problem with orders where standard delivery is selected, only with next day delivery

logo /image for this shipping method?
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

ukfish1

  • Jr. Member
  • **
  • Posts: 146
    • Website design, web maintenance, Ealing,  London
Re: TCPDF error
« Reply #4 on: May 13, 2019, 15:19:22 pm »
Hi

Thanks GJC.

The logo image for the next day delivery option was showing as default as it does with the free delivery option.

I tried to upload another image called nexyday.gif to images/stories/virtuemart/shipment/ and select this as the logo/image for the next delivery shipment option but got the same error:

TCPDF ERROR: [Image] Unable to get the size of the image: https://www.greatbakes.co.uk/images/stories/virtuemart/shipment/

If there was still an eerror would it not say TCPDF ERROR: [Image] Unable to get the size of the image: https://www.greatbakes.co.uk/images/stories/virtuemart/shipment/nextday.gif

Regards

Paul


Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2422
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: TCPDF error
« Reply #5 on: May 13, 2019, 15:42:44 pm »
Looking for an image to a shipment option that is not assigned ?
https://www.greatbakes.co.uk/images/stories/virtuemart/shipment/

Is there some empty option in the invoice template settings ?

You have to dig deeper, try debugging with google or firefox tools as a starter.

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27570
  • Always on vacation
    • Jenkin Hill Internet
Re: TCPDF error
« Reply #6 on: May 13, 2019, 16:33:08 pm »
This has never been a problem before until we upgraded the core joomla software to 3.9.5 and there is not a problem with orders where standard delivery is selected, only with next day delivery.

So why suddenly does this happen after the Joomla update?  Is that really VM 3.0.9 that you are using? It would surprise me if that old test version worked on J3.9.5 - or was it a typo?
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.8.10197 on Joomla 3.9.13 PHP 7.0.33

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9194
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: TCPDF error
« Reply #7 on: May 13, 2019, 17:24:18 pm »
is https://www.greatbakes.co.uk/images/stories/virtuemart/shipment/braintree-logo.jpg meant to be a 2px white square?
What if u select none in the method?
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