News:

Looking for documentation? Take a look on our wiki

Main Menu

TCPDF error

Started by ukfish1, May 07, 2019, 20:17:25 PM

Previous topic - Next topic

ukfish1

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

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 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

ukfish1

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

gif or jpg

Quotethere 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 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

ukfish1

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

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.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

jenkinhill

Quote from: ukfish1 on May 13, 2019, 09:11:28 AM
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
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

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