Author Topic: [SOLVED]TCPDF ERROR: [Image] Unable to get image:  (Read 14847 times)

speedman

  • Beginner
  • *
  • Posts: 2
  • Joomla 2.5 + Virtuemart 2.0 is the best
    • Elit Sünnet Kıyafetleri
[SOLVED]TCPDF ERROR: [Image] Unable to get image:
« 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?

bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: TCPDF ERROR: [Image] Unable to get image:
« Reply #1 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
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

  • Beginner
  • *
  • Posts: 2
  • Joomla 2.5 + Virtuemart 2.0 is the best
    • Elit Sünnet Kıyafetleri
Re: TCPDF ERROR: [Image] Unable to get image:
« Reply #2 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
;)

bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: [SOLVED]TCPDF ERROR: [Image] Unable to get image:
« Reply #3 on: October 05, 2012, 12:02:09 pm »
Hi,

Thanks for the feed.

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!

daniel__

  • Beginner
  • *
  • Posts: 15
Re: TCPDF ERROR: [Image] Unable to get image:
« Reply #4 on: January 22, 2013, 12:47:04 pm »
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

  • Beginner
  • *
  • Posts: 4
Re: [SOLVED]TCPDF ERROR: [Image] Unable to get image:
« Reply #5 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).

jux

  • Jr. Member
  • **
  • Posts: 77
  • VirtueMart Version: latest
Re: [SOLVED]TCPDF ERROR: [Image] Unable to get image:
« Reply #6 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?

Ronny Buelund

  • Beginner
  • *
  • Posts: 46
Re: [SOLVED]TCPDF ERROR: [Image] Unable to get image:
« Reply #7 on: December 29, 2013, 15:20:03 pm »
I have exact same error as the post above ! Please help. It is an error 500

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: [SOLVED]TCPDF ERROR: [Image] Unable to get image:
« Reply #8 on: January 05, 2014, 09:42:00 am »
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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/