Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

no background image in invoice
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.

TOPIC: no background image in invoice

no background image in invoice 12 years, 9 months ago #27867

Hello,
i want to show a background image in my invoice but the invoice will generated (with logo) but the background image will not shown...

i get the following error in debug modus

Warning: getimagesize(www.gelebtetraeume.de/testumgebung/image...liger_Geist_Foto.png) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.0 401 Unauthorized in .../web/testumgebung/administrator/components/com_vminvoice/helpers/invoicepdf.php on line 177


i try it with images from my site which use in other joomla articles... png and jpg.
i try to disable safe mode but nothing.
i change the image path but it works only with "relative with path" in other case no invoice will shown and i get one error more:

Warning: getimagesize(www.gelebtetraeume.de/testumgebung/images/stories/key.jpg) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.0 401 Unauthorized in .../web/testumgebung/administrator/components/com_vminvoice/helpers/invoicepdf.php on line 177

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in .../testumgebung/administrator/components/com_vminvoice/tcpdf/tcpdf.php on line 7544
TCPDF ERROR: [Image] Unable to get image: www.gelebtetraeume.de/testumgebung/compo...s__4f4385e387af8.png

do u have any idea

Thanks

Jewanda
The topic has been locked.

Re: no background image in invoice 12 years, 9 months ago #27900

  • pama
  • OFFLINE
  • Posts: 489
Hello. I see it. That is partially bug, that background image is always inserted as absolute URL, so "paths" setting doesen't apply for it. We will fix that.

And since your testing site is behing HTTP authentication, it cannot be loaded. When you remove HTTP authentication or move to live site, it will work.
ARTIO Support Team
The topic has been locked.

Re: no background image in invoice 12 years, 9 months ago #27922

ok ...

at first i hope that i don't get you to the wrong path because of my changing the paths in the error message... i deleted the begin of the url because i am thinking it is for security reasons not so good to show the right path of my server.


1. testing with absolute path and without an HTTP authentication

i get the following errors (debug modus):

at the beginning of the code

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /xxxxx/.xxxxx/xxxxx/xxxxx/xxxxx/testumgebung/administrator/components/com_vminvoice/tcpdf/tcpdf.php on line 7544

at the end:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /xxxxx/.xxxxx/xxxxx/xxxxx/xxxxx/testumgebung/administrator/components/com_vminvoice/tcpdf/tcpdf.php on line 7544

shop logo is displayed

2. testing with "relative with path" and without an HTTP authentication

same errors ...

shop logo is displayed

3. testing with "relative" and without an HTTP authentication

same errors ...

shop logo ist not displayed...
TCPDF ERROR: [Image] Unable to get image: components/com_virtuemart/shop_image/vendor/Verlag_Gabriels__4f4385e387af8.png

Many thanks
Jewanda
Last Edit: 12 years, 9 months ago by Verlag Gabriels Stunde.
The topic has been locked.

Re: no background image in invoice 12 years, 9 months ago #27960

  • pama
  • OFFLINE
  • Posts: 489
That warnings are ok. It states that with your server settings CURL library cannot follow redirects. (For example if your images are generated by script that inserts Location: header.. That's hardly anybody's case.). Mote important, is background working?
ARTIO Support Team
The topic has been locked.

Re: no background image in invoice 12 years, 9 months ago #27965

no not yet ...
is there a other way for testing maybe i had to change something with the picture?
Many Thanks
Jewanda
The topic has been locked.

Re: no background image in invoice 12 years, 9 months ago #27972

  • pama
  • OFFLINE
  • Posts: 489
And did you turn off HTTP authentication?
ARTIO Support Team
The topic has been locked.
User Login Empty