dates1967 / simpleinvoices

Automatically exported from code.google.com/p/simpleinvoices
GNU General Public License v3.0
0 stars 0 forks source link

Logo not available in PDF output #220

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an invoice
2. Create a PDF of the invoice
3.

What is the expected output? Invoice with PDF logo at the top

What do you see instead? Invoice with a missing graphic element at the top

What version of the product are you using? On what operating system?
Online version, installed on Heart Internet servers

Please provide any additional information below.
Heart's response to the issue :

---
We have GD installed on the server, I suspect this problem is due to the image 
being loaded by means of a loopback connection, which is blocked on our 
servers. Unfortunately, there is no way round this, except to change the 
display scripts location from a script to a direct server path (whereupon it 
stops being a loopback connection). Is there a way to edit this, from within 
SimpleInvoices? We supply the script as a one-click installer, but cannot 
support it, the support for it needs to be done by the software authors 
unfortunately.

---

I host a LOT of websites on Heart. No problems with anything other than this 
tiny annoyance. Please can you resolve the loopback issue?

Original issue reported on code.google.com by keysandf...@gmail.com on 14 Feb 2012 at 7:12

GoogleCodeExporter commented 9 years ago
Thank you for reporting this.

Our demo is actually hosted with Heart Internet and I'm seeing the same 
problem. I will take a look at it and try and get it resolved.

Thanks,
Matt

Original comment by MattAntW...@gmail.com on 15 Feb 2012 at 9:40

GoogleCodeExporter commented 9 years ago
I can't seem to get a workaround for this at the moment. We will have a new PDF 
library in the next release which should solve this problem but none of the 
solutions for the current library seem to be working.

Maybe Raffael has an idea of a workaround until the next release.

Matt

Original comment by MattAntW...@gmail.com on 15 Feb 2012 at 10:08

GoogleCodeExporter commented 9 years ago
The problem is that we open a URL in order to get the invoice html file. There 
is the problem. And the new library itself will not change this.

What we would need is a call from the PDF generating code to the controller of 
the html template generating code. And this one would give back the html file 
as a variable. But this html generating code needs to be clever enough to write 
other pathes to the css file and image file depending on the call type. Because 
the users still need to see the correct print preview.

Original comment by r.luthi...@gmail.com on 15 Feb 2012 at 2:42

GoogleCodeExporter commented 9 years ago
Are you sure it's a problem with getting the invoice html file?
Using the latest version in SVN, I don't see any calls to the server itself for 
the invoice html file, just for the image files. 

TCPDF uses curl to get it's images. I had to install php5-curl on my host to 
get images to load, as it uses curl to load images. There should be no reason a 
host should break "loopback" connections, check if curl is installed (with 
phpinfo). If they have done funny stuff to hostname resolving that is breaking 
loopbacks, I'd complain.

Original comment by timwhit...@gmail.com on 29 Feb 2012 at 12:26

GoogleCodeExporter commented 9 years ago
Any updates on this?

Original comment by Mr.Shaun...@gmail.com on 26 Sep 2012 at 1:39

GoogleCodeExporter commented 9 years ago
Not just yet, sorry.

Original comment by MattAntW...@gmail.com on 27 Sep 2012 at 8:46

GoogleCodeExporter commented 9 years ago
I also use Heart Internet as my hosting company for me and many of my 
customers, I cannot display logo's within the PDF, including the Paypal Logo.  
I just get square boxes, the link to Paypal works in the pdf if you click on 
the empty square box where the Paypal Logo should be so that works, its just 
displaying the images that don't.

Makes Simple Invoices unusable for Heart Internet customers, wanting to email 
pdf's to their customers.  

Can something be added somewhere more noticable for us Heart Internet customers 
so we don't waste our time. I spent most of yesterday reading many postings on 
this pdf subject, trying many of the things people mentioned, emails back and 
forth to Heart Internet only to find today that we don't stand a chance of 
getting this resolved by ourselves.

I note that this was logged 14th February, so assume its not going to be an 
easy one to resolve.  A clearly displayed notice that PDF's wont display/work 
correctly for Heart Internet hosting websites would be nice.

I'll let Heart Internet know about this so they can let us customers know SI 
will not work properly from their hosting plans.

Original comment by m...@fsgwebhosting.co.uk on 26 Oct 2012 at 9:39

GoogleCodeExporter commented 9 years ago
Since I originally reported this issue, I have turned to using Quickfile.co.uk 
for free online invoicing. I couldn't wait for a solution.

What mystifies me is that I run Wordpress sites on Heart with PDF printing 
plugins, or just Wordpress' own PDF print button... and the PDFs print 
correctly.

:o)
RG

Original comment by keysandf...@gmail.com on 26 Oct 2012 at 12:35

GoogleCodeExporter commented 9 years ago
We've recently moved the development of SimpleInvoices over to GitHub.

I've just updated the README with a warning for Heart Internet users.
Here's the commit.
https://github.com/simpleinvoices/simpleinvoices/commit/2d82a3f827572a803b7ca485
1bb2cc9a73261397

@keysandfrets
The issue is to do with the way that SI currently generates invoices and not 
necessarily a problem with Heart Internet's setup.
We have done some work to resolve this in the past but have not yet had any 
luck.

We are currently cleaning up SI in preparation for another release.
Once we have got that out we will look into getting this solved once and for 
all.

Thank you for your patience!

Matt

Original comment by MattAntW...@gmail.com on 27 Oct 2012 at 6:31

GoogleCodeExporter commented 9 years ago
Is this working yet otherwise i need to find a different invoicing system? 

Original comment by a...@buildmeafabwebsite.co.uk on 10 Oct 2013 at 12:30

GoogleCodeExporter commented 9 years ago
Please please please can we have this working. I love the system, but cant 
email pdys with no logo. Has it been fixed yet? Is there a way to temporarily 
remove the logo until fixed?

Original comment by a...@buildmeafabwebsite.co.uk on 30 Oct 2013 at 9:52