News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[SOLVED]TCPDF ERROR: [Image] Unable to get image:

Started by speedman, September 29, 2012, 13:17:58 PM

Previous topic - Next topic

speedman

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?

bytelord

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
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

speedman

I checked more times. All of them still there.
I changed to .gif file types with .jpg types and problem is solved
;)

bytelord

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

daniel__

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?

avdfmedia

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

jux

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?

Ronny Buelund

I have exact same error as the post above ! Please help. It is an error 500

Milbo

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.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/