Skip to main content
Recent Posts
31
Feature Discussion / Tenor Gifs
Last post by Spuds -
Sure no one asked, but here you go .. We already had a Giphy plugin for the editor, now I've added a tenor one as well:smile:

Giphy some time back changed some pricing / licensing so Tenor began to get some more love.  This plugin adds V2 support, its the 9-box icon next to the swirl (Giphy) icon in the toolbar.  The two should work just the same, enable one, both or none!

Tenor


Giphy


Enjoy !
32
Support / Re: Attachments upload fails after abrupt power-off
Last post by Spuds -
It seems odd that you have Auto Subdivide by years but everything is in a single attachment directory.

Since everything is in a single directory, i'd try setting it to manual behavior and then set that files directory as the current one on the attachments directory page.
33
Support / Attachments upload fails after abrupt power-off
Last post by nous -
There was an unscheduled poweroff of our forum-hosting VPS yesterday. On reboot, we can't upload attachments anymore:

Your attachment couldn't be saved. This might happen because it took too long to upload or the file is bigger than the server will allow.
Please consult your server administrator for more information.


The administration center attachment settings don't show anything unusual.

This isn't the first time we had problems with attachments, but it usually involved out-of-space situations were the Elkarte database couldn't be updated. We had to restore from backups every time for attachments and avatars to show up again, but I'd rather avoid it this time. IIRC, changing the attachments directory and moving the *.elk files from the shell into the new one would restore at least some of them, but then we'd end up with additional attachment directories in settings which couldn't be removed, unless with direct SQL commands which most usually corrupted something else in the database.

This time I haven't touched anything, for forensics purposes. I can post any additional requested information to help debugging, including SQL commands. Thanks in advance.
34
Addons / Re: [ADDON] PDF Print
Last post by Jorin -
Yes.  :cheesy:

I would use the browser's function to print the thread as pdf, but that works only with page 1 of the thread, so that's no alternative.  :sad:
38
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.
39
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.
40
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