The Elearning Community • 500 Error on Uploading any files
Page 1 of 1

500 Error on Uploading any files

Posted: Thu Mar 28, 2024 4:14 pm
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

Re: 500 Error on Uploading any files

Posted: Thu Mar 28, 2024 4:17 pm
by alfa24
Hi the error is in apache log.
Find it and post it here.

Re: 500 Error on Uploading any files

Posted: Thu Mar 28, 2024 4:22 pm
by ReemHassan
Where is that? I only see the logfiles from inetpub

Re: 500 Error on Uploading any files

Posted: Thu Mar 28, 2024 4:26 pm
by alfa24
On a standard Windows Server, IIS log files are found at %SystemDrive%\inetpub\logs\LogFiles by default

Re: 500 Error on Uploading any files

Posted: Thu Mar 28, 2024 4:35 pm
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

Re: 500 Error on Uploading any files

Posted: Thu Mar 28, 2024 4:38 pm
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.

This site uses cookies.

Some of the cookies we use are essential for parts of the site to operate and have already been set. We also use Google Analytics scripts, which all use cookies.
You may delete or block all cookies from this site in your browser options.