SMF 2.1RC4 + last GitHub updates (including #7057 with Source/ManageAttachments.php).
I get «Server responded with 500 code» (screenshot attached) when trying to attach the image to the post or comment. Can't realize what is wrong and what to check because there is no errors in forum and hoster error logs.
I have no limits to attachments upload (0 for «Maximum number of files per directory» and «Max attachment directory space»). Despite the error, the image was successfully uploaded to the attachment folder. And everything was fine yesterday.
A 500 error really should always be logged on the server side. I would suggest you ask your host about the logs.
Quote from: Goha on September 16, 2021, 12:56:43 PMSMF 2.1RC4 + last GitHub updates (including #7057 with Source/ManageAttachments.php).
I get «Server responded with 500 code» (screenshot attached) when trying to attach the image to the post or comment. Can't realize what is wrong and what to check because there is no errors in forum and hoster error logs.
I have no limits to attachments upload (0 for «Maximum number of files per directory» and «Max attachment directory space»). Despite the error, the image was successfully uploaded to the attachment folder. And everything was fine yesterday.
Check your folder & file permissions too! Just had this happen to me the other day and for some reason my folders & files permissions had been changed. I set my "Folders" back to 755 and .php "Files" back to 644. Could be different on your server though, have to ask your web host.
Quote from: Aleksi "Lex" Kilpinen on September 16, 2021, 01:01:12 PMA 500 error really should always be logged on the server side. I would suggest you ask your host about the logs.
Thanks, Lex. The hoster just updated ImageMagick and forgot to restart the webserver to reload settings.
Cool, at least it got cleared up fast then :)