Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: lupaz77 - lokakuu 09, 2019, 03:42:58 IP

Otsikko: HTTP ERROR 500
Kirjoitti: lupaz77 - lokakuu 09, 2019, 03:42:58 IP
While trying to post a reply with an attachment I get this error.

This page isn't working
aircraftnoise.info is currently unable to handle this request.
HTTP ERROR 500

Today I tried to install (and uninstalled) a mod. Not sure if that has to do with it.

Any ideas?
Otsikko: Re: HTTP ERROR 500
Kirjoitti: Arantor - lokakuu 09, 2019, 03:44:52 IP
Well... what version of SMF? What mod? Did you get any warnings about it during installation?
Otsikko: Re: HTTP ERROR 500
Kirjoitti: lupaz77 - lokakuu 09, 2019, 04:13:35 IP
SMF 2.0.15
I manually installed this: https://custom.simplemachines.org/mods/index.php?mod=40

Then I restored the original files after I noticed the mod wasn't working.

No warnings or error messages due to that mod.
Everything is working fine except for the attachment issue.

Thanks Arantor



Otsikko: Re: HTTP ERROR 500
Kirjoitti: lupaz77 - lokakuu 09, 2019, 04:22:49 IP
Figured it out.
I created a new folder for the attachments and it works.

Otsikko: Re: HTTP ERROR 500
Kirjoitti: lupaz77 - lokakuu 09, 2019, 04:26:50 IP
And now the problem is back  >:(

I believe it starts when I change the maximum capacity for the folder
Otsikko: Re: HTTP ERROR 500
Kirjoitti: lupaz77 - lokakuu 09, 2019, 04:33:09 IP
OMG! The problem is with one JPG and I get the same error message on this forum LOL
Otsikko: Re: HTTP ERROR 500
Kirjoitti: Arantor - lokakuu 09, 2019, 05:00:06 IP
How big is the JPEG? Both in terms of file size and pixel size.
Otsikko: Re: HTTP ERROR 500
Kirjoitti: lupaz77 - lokakuu 10, 2019, 10:30:14 AP
It's a 2.45 MB file, 3340px x 3340px.

I reduced the size by 10% and it worked.

I was able to attach even bigger images though... Maybe SMF doesn't like the size 3340px  :o

Thanks for you help.
Otsikko: Re: HTTP ERROR 500
Kirjoitti: Illori - lokakuu 10, 2019, 10:35:21 AP
most likely https://custom.simplemachines.org/mods/index.php?mod=4111 would help with that issue.
Otsikko: Re: HTTP ERROR 500
Kirjoitti: lupaz77 - lokakuu 10, 2019, 10:49:08 AP
Lainaus käyttäjältä: Illori - lokakuu 10, 2019, 10:35:21 AP
most likely https://custom.simplemachines.org/mods/index.php?mod=4111 would help with that issue.

Cool.

May be it does help.
But it still doesn't make sense to me.

In that link they ask to use this formula to check memory consumption:

Height * Width * 4 / 1000000

The image that keeps giving me errors gives a result of 44.62
Another bigger image that I can attach without a problem gives this result: 82.67

Otsikko: Re: HTTP ERROR 500
Kirjoitti: lupaz77 - lokakuu 10, 2019, 10:57:20 AP
Indeed, it's the memory consumption I believe.
A bigger image returned the same error.

Thanks.