500 Error on Uploading any files

Third party plugins, patches, bugfixes
Post Reply
ReemHassan
Newbie
Posts: 3
Joined: Thu Mar 28, 2024 3:50 pm

500 Error on Uploading any files

Post by ReemHassan »

Forma version- 3.3.22
PHP version- 7.4

I've tried uploading single files, SCORM zips, nothing works and I just get a 500 error.

But when I checked the console, I might have found the error?
My guess is the OnSubmitClick function is having an issue with the & symbol since it's not formatted as &

Can someone confirm if that's the issue or if I'm totally off base and how to fix this?
(I tried testing it out myself but can't find the location of that function)

I've attached images for reference
Attachments
console error
console error
source code
source code
alfa24
Senior Boarder
Posts: 2009
Joined: Fri Nov 24, 2017 8:45 am

Re: 500 Error on Uploading any files

Post by alfa24 »

Hi the error is in apache log.
Find it and post it here.
Per supporto GRATUITO contattatemi in privato qui
ReemHassan
Newbie
Posts: 3
Joined: Thu Mar 28, 2024 3:50 pm

Re: 500 Error on Uploading any files

Post by ReemHassan »

Where is that? I only see the logfiles from inetpub
alfa24
Senior Boarder
Posts: 2009
Joined: Fri Nov 24, 2017 8:45 am

Re: 500 Error on Uploading any files

Post by alfa24 »

On a standard Windows Server, IIS log files are found at %SystemDrive%\inetpub\logs\LogFiles by default
Per supporto GRATUITO contattatemi in privato qui
ReemHassan
Newbie
Posts: 3
Joined: Thu Mar 28, 2024 3:50 pm

Re: 500 Error on Uploading any files

Post by ReemHassan »

These are the last few lines in the log file but I can't really make out the error:


2024-03-28 15:26:32 172.18.0.4 GET /templates/standard/static/fonts/fontawesome-webfont.woff2 v=4.6.3 443 - 172.18.0.4 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/123.0.0.0+Safari/537.36 https://training.micco.ca/templates/sta ... ss?v=3.0.1 200 0 0 12

2024-03-28 15:26:32 172.18.0.4 GET /templates/standard/images/favicon.ico - 443 - 172.18.0.4 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/123.0.0.0+Safari/537.36 https://training.micco.ca/appLms/index. ... 1:{i:0;i:0;} 200 0 0 0

2024-03-28 15:31:24 172.18.0.4 POST /appLms/index.php modname=item&op=insitem 443 - 172.18.0.4 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/123.0.0.0+Safari/537.36 https://training.micco.ca/appLms/index. ... 1:{i:0;i:0;} 500 0 0 3127

[12:36 p.m.] Reem Hassan
2024-03-28 15:33:32 172.18.0.4 POST /appLms/index.php modname=scorm&op=insitem 443 - 172.18.0.4 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/123.0.0.0+Safari/537.36 https://training.micco.ca/appLms/index. ... 1:{i:0;i:0;} 500 0 0 717
alfa24
Senior Boarder
Posts: 2009
Joined: Fri Nov 24, 2017 8:45 am

Re: 500 Error on Uploading any files

Post by alfa24 »

You should know how to configure your web server to store correctly PHP errors.
I can only suggest to get rid of IIS (and Windows as well) and switch to a LAMP environment.
Per supporto GRATUITO contattatemi in privato qui
Post Reply