VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: speedman on September 29, 2012, 13:17:58 PM

Title: [SOLVED]TCPDF ERROR: [Image] Unable to get image:
Post by: speedman on September 29, 2012, 13:17:58 PM
Hi guys,
I  am running about a site with Virtuemart2.0 under Joomla 2.5 on my localhost.
I can see orders on backend. But when I am cliking to PDF invoice icon openning new empt blank page
and I get that error


TCPDF ERROR: [Image] Unable to get image:
http://localhost/MYSITE/components/com_virtuemart/assets/images/vmgeneral/noimage.gif

Anyone know about how can I solve that problem pls?
Title: Re: TCPDF ERROR: [Image] Unable to get image:
Post by: bytelord on September 29, 2012, 15:49:46 PM
Hello,

The "unavailable image" for a product is located under com_virtuemart/assets/images/vmgeneral/noimage.gif, can you check is it still there?

Whats you vm and joomla actually versions? (e.g. VM 2.0.10, joomla 2.5.7).

Regards
Title: Re: TCPDF ERROR: [Image] Unable to get image:
Post by: speedman on October 05, 2012, 11:42:44 AM
I checked more times. All of them still there.
I changed to .gif file types with .jpg types and problem is solved
;)
Title: Re: [SOLVED]TCPDF ERROR: [Image] Unable to get image:
Post by: bytelord on October 05, 2012, 12:02:09 PM
Hi,

Thanks for the feed.

Regards
Title: Re: TCPDF ERROR: [Image] Unable to get image:
Post by: daniel__ on January 22, 2013, 12:47:04 PM
Quote from: speedman on October 05, 2012, 11:42:44 AM
I checked more times. All of them still there.
I changed to .gif file types with .jpg types and problem is solved
;)
But how can you change the file extension of the image if TCPDF and virtuemart will expect a .gif?
Title: Re: [SOLVED]TCPDF ERROR: [Image] Unable to get image:
Post by: avdfmedia on November 06, 2013, 16:44:57 PM
Just a tip for anyone who still experiences this. This error ( TCPDF ERROR: [Image] Unable to get image: http:..... ) will also appear if you are working on a site which has been password-protected. The site i was working on was on a cpanel hosting and i had passprotected the whole public_html folder until it was ready. As soon as  I removed it, the invoices were being generated just fine and included my images (vendor pic, payment pic, shipping pic).
Title: Re: [SOLVED]TCPDF ERROR: [Image] Unable to get image:
Post by: jux on December 01, 2013, 23:50:48 PM
Hello guy I have the exact same issue but the issue is when i want to change the status of my order from pending to confirmed there is a blank page with this showing:
http://www.mywebssite.com/images/stories/virtuemart/shipment/livraison-lente.png

The invoice have the same issue

I do not know what to do ? any help?
Title: Re: [SOLVED]TCPDF ERROR: [Image] Unable to get image:
Post by: Ronny Buelund on December 29, 2013, 15:20:03 PM
I have exact same error as the post above ! Please help. It is an error 500
Title: Re: [SOLVED]TCPDF ERROR: [Image] Unable to get image:
Post by: Milbo on January 05, 2014, 09:42:00 AM
Quote from: avdfmedia on November 06, 2013, 16:44:57 PM
Just a tip for anyone who still experiences this. This error ( TCPDF ERROR: [Image] Unable to get image: http:..... ) will also appear if you are working on a site which has been password-protected. The site i was working on was on a cpanel hosting and i had passprotected the whole public_html folder until it was ready. As soon as  I removed it, the invoices were being generated just fine and included my images (vendor pic, payment pic, shipping pic).

Thank you for this hint. Yes the invoice generation is completly done in the FE, protected by order_number and order_password. The reasons are the templating and language overrides. Furthermore we can with this technic also allow not registered shoppers to download their invoice.