Page 3 of 4
Re: png not showing up in PDF report
Posted: Fri Jul 13, 2012 6:15 am
by johan
Steven,
We use authentication on our server (apache - ldap).
We turned authentication off because of the problems we had with the mail function in Nubuilder
(
http://forums.nubuilder.cloud/viewtopic.php?f=4&t=7933)
Now png shows in pdf. So it's a problem with authentication.
Do you have any idea what we are doing wrong with authentication?
Johan
Re: png not showing up in PDF report
Posted: Sun Jul 15, 2012 8:30 am
by johan
Steven,
With the update of Nubuilder I've forget to make the changes in reportemail.php - see
http://forums.nubuilder.cloud/viewtopic.p ... 9&start=10
That's the reason why I could'nt mail after update.
Now authentication is back on my png is missing in pdf.
Any idea how to solve this?
Johan
Re: png not showing up in PDF report
Posted: Wed Jul 18, 2012 1:45 am
by shane
This does not sound like a working environment that we have tested before so we cannot help in this matter.
Re: png not showing up in PDF report
Posted: Wed Jul 18, 2012 10:04 am
by johan
Shane,
I know it's a problem with rights on server. I'm trying to figure out what is causing the problem.
We are running Nubuilder on
Server version: Apache/2.2.15 (Unix)
PHP 5.3.3
OS Centos 6.
When I look into temppdf I see that the owner of the pdf file is webadmin users. Strange thing is that the owner of the png is Apache. The size of the png = 0.
rights of temppdf is are 775.
Maybe another user else can help me with this item. I can't imagine that I'm the only user running Nubuilder with apache authentication.
I let you know if and how we solved it.
Johan
Re: png not showing up in PDF report
Posted: Wed Jul 18, 2012 3:56 pm
by anorman
Johan,
I am using the exact same configuration (minus the critical part, I don't use apache authentication).. The only problem I had with email was that I had to disable selinux for postfix to work..
Oddly, as you recall, I did have the initial problem with no PNG in my PDF files, and then it suddenly started working again.. I really do not know why.. But since we both have similar configs, I'm willing to try and 'break' it again and see if we can find the common cause..
- Andre
Re: png not showing up in PDF report
Posted: Wed Jul 18, 2012 3:58 pm
by anorman
Well,
I take that back.. I upgraded to 2.7.2 last night.. I just ran my invoices (has my logo in it)..
Now the PNG appears on the PDF but NOT on the HTML form!!!!!
Maybe this is a deeper problem?? (again, I don't have any apache authentication).. If you have a username in the database (actually, I'm using globeadmin), you can get into it, since the server is on my local internal network!!!
Re: png not showing up in PDF report
Posted: Wed Jul 18, 2012 4:10 pm
by johan
Andre,
I'm pretty sure the problem is a authentication problem with the pdf - png.
When I turn authentication off both HTML and pdf shows the png. With authentication on only HTML works.
I haven't upgrade yet. I'm waiting for build 2.7.3
If I find out how to solve my problem I let you now.
Johan
Re: png not showing up in PDF report
Posted: Wed Jul 18, 2012 4:38 pm
by anorman
Actually,
I just solved my problem..
Steven, it looks like that report_object patch you gave me broke html png images
All I did was put the original report_object.php back and viola, the html image came back....
Re: png not showing up in PDF report
Posted: Thu Jul 19, 2012 4:36 am
by admin
Andre,
Its fixed in the next version - out very soon.
Steven
Re: png not showing up in PDF report
Posted: Thu Jul 19, 2012 9:12 am
by admin
The new version is now out.
2.7.3
http://www.nubuilder.com/change.php
Steven