Scorm Load from xml 403 access denied

Anything about what happens on the user and teacher side
Post Reply
BigData
Newbie
Posts: 3
Joined: Sat Jun 06, 2020 1:46 pm

Scorm Load from xml 403 access denied

Post by BigData »

Hi,

I have been experimenting with Forma LMS and run into a strange issue. After successfully uploading a scorm file, when I try to open it, I get a "Load from xml" error message. With a bit of hacking I managed to print out the source, and it is the scormXmlTree.php and the problem is 403 access denied.

Can it be an installation or configuration issue? (It was deployed by the Softaculous app installer.) Or a problem with the scorm file? (It was created by eXe.) Maybe my users are not added to the system or to the course properly? Can somebody give me a hint where to continue my investigation?

best regards,
bd

alfa24
Senior Boarder
Posts: 998
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Scorm Load from xml 403 access denied

Post by alfa24 »

Please provide exact debug error stack trace alongwith php version.
I'm Jasmines, the One. If you need, you can contact me.

BigData
Newbie
Posts: 3
Joined: Sat Jun 06, 2020 1:46 pm

Re: Scorm Load from xml 403 access denied

Post by BigData »

I wish I had access to the logs. All I have is:
Load from xml:[site]/appLms/modules/scorm/scormXmlTree.php?idscorm_organization=10&idReference=10&environment=course_lo&time=1591523575098 403 Access denied

Actually nothing is accessible under appLms/modules (I guess it is good as is) but I see in the .htaccess that scormXmlTree should have been still accessible, somehow it did not take effect.

Perhaps the easiest solution is to move environment...

alfa24
Senior Boarder
Posts: 998
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Scorm Load from xml 403 access denied

Post by alfa24 »

Chmod 755 all files in folder?
I'm Jasmines, the One. If you need, you can contact me.

User avatar
max
FormaLms Guru
Posts: 2399
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Scorm Load from xml 403 access denied

Post by max »

BigData wrote:
Sat Jun 06, 2020 1:56 pm
Hi,

I have been experimenting with Forma LMS and run into a strange issue. After successfully uploading a scorm file, when I try to open it, I get a "Load from xml" error message. With a bit of hacking I managed to print out the source, and it is the scormXmlTree.php and the problem is 403 access denied.

Can it be an installation or configuration issue? (It was deployed by the Softaculous app installer.) Or a problem with the scorm file? (It was created by eXe.) Maybe my users are not added to the system or to the course properly? Can somebody give me a hint where to continue my investigation?

best regards,
bd
it can be either as Alfa24 is suspecting, or something with your scorm being malformed. Have you tried uploading your package to the free service scorm.cloud? It is the best way to see if there is something wrong with it.
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it

BigData
Newbie
Posts: 3
Joined: Sat Jun 06, 2020 1:46 pm

Re: Scorm Load from xml 403 access denied

Post by BigData »

When I install forma lms on xampp, the scorm file works fine, everything works fine. On the server, despite Apache is quasi the same, the app is the same, the scorm is the same, chmod is correct, I get the 403. If no user ever faced this scenario, while I truly appreciate your help, do not waste your time on me, I will just look for another test environment.

Post Reply