Skip to main content
Recent Posts
1
Addons / Re: [ADDON] PDF Print
Last post by Spuds -
Well there ya go:man_shrugging:

Minor update in case it was not finding the function on your server.  I know this fixes it on my setup with the bad image file I found on your site.
2
Addons / Re: [ADDON] PDF Print
Last post by Jorin -
No, sorry, doesn't fix any of the problems.

But I can use the print as pdf feature of the chrome browser to save the threads. Does look different then but works. And you don't have to invest more time to fix this.
3
Addons / Re: [ADDON] PDF Print
Last post by Spuds -
You are a trouble maker LOL

That one is what the error claims.  An attachment is saved with a JPG extension and for some reason the db also has the mime set as image/jpg,  but the image is in fact a PNG.

Here is another updated file which validates the image mime types, this will fix the first error and MAY fix the other one (my thought is that the other error is another PNG masquerading as a JPG which will bypass the de-interlacing function)

So give this one a try :D
4
Addons / Re: [ADDON] PDF Print
Last post by Jorin -
Any chance you can help again?  :sad:

I get this error message:

tFPDF error: Not a JPEG file: /www/htdocs/w00f21f1/hp_elkarte/attachments/352_b063eec556e21bb11605fe71d11297665cc60b7d.elk

...when trying to export this thread as pdf:

https://forum-alternative-antriebe.de/index.php/topic,8.0.html

Plus this error message:

tFPDF error: Interlacing not supported: elkimg://img4346100e010c99d278872a2245ec57a9

...when trying export to pdf with another thread (which is only internal).

Do you need an account?
6
Site Feedback / Re: EARLY Beta version of 2.0
Last post by Spuds -
Quote from: "Burke Knight" – Planned on doing clean install and hopefully import my database.
Thats a good plan since that is what will be needed :D

I did another site update today, nothing major but fixes more little issues.  I've been trolling the error log looking for undefined etc. issues.  Its funny how many bugs have been simple typos getting the CamelCase wrong, at least those are easy to fix ! 
8
Addons / Re: [ADDON] PDF Print
Last post by Spuds -
That is easy, its the cell phone screen capture:mobile_phone:

I added a 16bit->8bit down-version for PNG files, so give the attached file a try by replacing the one in your subs directory.
9
Addons / Re: [ADDON] PDF Print
Last post by Jorin -
Sure:

Ein Fehler ist aufgetreten!
tFPDF error: 16-bit depth not supported: /www/htdocs/w00f21f1/hp_elkarte/attachments/20577_44fa87e2a1b7d2800628fe045e06a92b89c452ce.elk

I tried to find this attachment named "20577_44fa87e2a1b7d2800628fe045e06a92b89c452ce" in the backend, but it does not seem to be there with this name.