The requested URL was not found on this server. - SCORM issue after upgrading to 3.10

The requested URL was not found on this server. - SCORM issue after upgrading to 3.10

aziz vefa -
回帖数:11

Hi.

I've updated my moodle site from 3.9.2 to 3.10 via Softaculous today. When I try to open SCORM packages I receive that error:

Not Found

The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I'm using a VPS on fastcomet.

What should I do?

Thank you.

回复aziz vefa

Re: The requested URL was not found on this server. - SCORM issue after upgrading to 3.10

Bret Miller -
Particularly helpful Moodlers的头像
Softaculous is not a supported upgrade method.

I would manually verify you have a complete installation. See https://docs.moodle.org/310/en/Upgrading.
回复Bret Miller

Ynt: Re: The requested URL was not found on this server. - SCORM issue after upgrading to 3.10

aziz vefa -
Hi Bret.
Thank you for your answer.
I couldn't solve the problem. I deleted my moodle site and reinstalled but nothing changed. I still receive the same error when I try to run a SCORM. I really don't know what to do伤心

回复aziz vefa

Re: Ynt: Re: The requested URL was not found on this server. - SCORM issue after upgrading to 3.10

Bret Miller -
Particularly helpful Moodlers的头像
Did you check to see if the path in the URL exists on the server?
回复Bret Miller

Ynt: Re: Ynt: Re: The requested URL was not found on this server. - SCORM issue after upgrading to 3.10

aziz vefa -
Hi Brett.
I check the URL, and it doesn't exist. When I try to run the SCORM, I viewed the console to see what's happening, this is what's happening:


Actually, I don't have such a path in my moodle. I installed my moodle under a subdomain like tradepartner.ca/moodle30, but it seems like above. Also, the number (27) after the slash is changing randomly. I see it was 30 before that. (tradepartner.ca/30/mod_scorm....)
Currently, I use moodle 3.10. The first time I see that error, I was using 3.9.2 and I updated it to 3.10, then I had that error. I removed, deleted everything related to my moodle, and installed it again, but still same error. 
I don't know why SCORM goes to check this URL to install the player.php. 
I don't know how can I make the SCORM check the correct URL.
Thank you
Regards
Aziz
回复aziz vefa

Re: Ynt: Re: Ynt: Re: The requested URL was not found on this server. - SCORM issue after upgrading to 3.10

Bret Miller -
Particularly helpful Moodlers的头像
回复Bret Miller

Ynt: Re: Ynt: Re: Ynt: Re: The requested URL was not found on this server. - SCORM issue after upgrading to 3.10

aziz vefa -
Hi Bret,
Thank you for the advice. I checked there but unfortunately, it didn't help. Let me explain more;
I have two moodle sites. I use the same SCORM packages. They were all working properly before the update. I mean nothing wrong or missing within the SCORM packages. When 3.10 was released, I updated only one of them, in case of such updates issues. I can run the same SCORM packages with my moodle site that currently has 3.9.2, and they work fine. But the other updated site (3.10) is not able to view the same SCORM packages and gives the error I mentioned previously. I didn't do anything different except updating to 3.10 from 3.9.2.
Thank you
Regards
Aziz
回复aziz vefa

Re: The requested URL was not found on this server. - SCORM issue after upgrading to 3.10

Bret Miller -
Particularly helpful Moodlers的头像

Well, I am out of ideas. SCORM isn't something we use here to my knowledge. And I have a pretty strict policy of not upgrading to the latest release. We were burned pretty badly one release where a key feature we use was broken for about 4 months. It caused our teachers and students enough grief that even if there is a feature in a release we really want, we will still hold until the next release to make sure it's stable. Always -1. 

So at this point, if you believe it to be a bug in Moodle 3.10, I'd suggest searching on Tracker and if it's not there, submit it yourself so it gets looked at by the developers. You might get a work-around out of it until it's actually fixed.

回复Bret Miller

Ynt: Re: The requested URL was not found on this server. - SCORM issue after upgrading to 3.10

aziz vefa -
Hi Brett.
My problem was solved by our hosting service.
They investigated the issue and it is caused by the following rule in the htaccess to remove the .html extension from the pages of the main website.

RewriteCond %{THE_REQUEST} /([^.]+)\.html [NC]
RewriteRule ^ /%1 [NC,L,R]

Thank you very much
Regards
回复aziz vefa

Re: Ynt: Re: Ynt: Re: The requested URL was not found on this server. - SCORM issue after upgrading to 3.10

Ken Task -
Particularly helpful Moodlers的头像

Pardon intrusion ... sigh ... could be you are yet another 'victum' of Softac. 伤心

But ...

I ses in your screen shot of filesystem something rather strange ...
moodle30
and then a directory called 'mod/scorm' in which player.php is supposed to be.  ???? 'mod/scorm' should not possible

On linux machines a '/' is a designator of a directory and one cannot manually create a directory named 'mod/scorm' ... even as root user.

Structure should be
moodle30
-mod
--scorm

Wonder if Softac created a 'mod/scorm' directory in error.

'SoS', Ken

回复Ken Task

Ynt: Re: Ynt: Re: Ynt: Re: The requested URL was not found on this server. - SCORM issue after upgrading to 3.10

aziz vefa -
Hi Ken.
Thank you for replying.
Currently, I use a moodle (3.9.2) website installed via Softaculous, with the same SCORM packages, same directory structure. I don't have any problem with it. Since I updated my other moodle site from 3.9.2 to 3.10 I still take the same error. I also tried a SCORM created by someone else and it also gave the same error.

Recently we found that: https://moodle.org/plugins/browse.php?list=category&id=36
Do you think that could be the reason?
Thank you
Regards
Aziz
回复aziz vefa

Re: Ynt: Re: Ynt: Re: Ynt: Re: The requested URL was not found on this server. - SCORM issue after upgrading to 3.10

Ken Task -
Particularly helpful Moodlers的头像

"same directory structure"

Am sorry but '/' is a reserved character and cannot be used in the creation of a directory in Linux.

That's what your screen shot showed ... /moodle code and then 'mod/scorm'.    So humor me ... give a screen shot of what's in 'mod/scorm'.

As far as the link ... that's an addon, right?  So are you having issues with the plugin?

Here's what I see ... 3.9.x and 3.10.x

directory structure