Linux vs Windows

Linux vs Windows

Jim Warren發表於
Number of replies: 4
Hi All,
I have a testing Moodle site that works fine (1.9.6). I have a production site hosted by Godaddy on a Linux platform tha seems to have an issue. I uploaded the same files to set up both sites. When I upload/launch a SCORM course on the testing site, it works fine. When I upload and launch the same course on the remote site, I get an error on the scorm player page that says "No input file specified." The Moodle docs for the page with the error are for mod/scorm/player - and don't exist yet. Is there a different set of files needed for a Linux install vs Windows? If so, I can't seem to locate them. If not, is anyone familiar with this error and how to fix it?
Thanks,
Jim
評比平均分數: -
In reply to Jim Warren

Re: Linux vs Windows

Andrea Bicciolo發表於
There is no different set of files among linux and windows and a SCORM should play just fine on both platforms: we do regurarly move SCORMs from linux to windows and viceversa without problems.

The first thing I'm thinking at is file naming rules: in linux a file named MyFile.htm is different from myfile.htm, while in windows it is the same file. If SCORM uses the file names without caring for capital/no capital, in windows SCORM will play, while in linux will fail. It could be worth a check, just in case.
評比平均分數:Useful (2)
In reply to Andrea Bicciolo

Re: Linux vs Windows

Jeff Forssell發表於
Just a "me too" here.

I have had scorma packages that worked fine in Moodle on a Windows machine but not on a Linux machine because of filename CAPiTALS differences. After adjusting the filenames they worked.
In reply to Jeff Forssell

Re: Linux vs Windows

Jim Warren發表於
Hi Jeff,
I'm not sure I understand.... Are you saying that the course name needs to be in upper case, or that there may be differences between file name packaged in the manifest and the name you are trying to launch?

I'll look at both and see - will let you know.

Thanks for the thought.
Jim
In reply to Jim Warren

Re: Linux vs Windows

Jeff Forssell發表於
The course name doesn't need to be upper case, but all file references must be identical case for every character in both path and name.

For example I had a scorm package with a Java animation that includes several pictures (parts of a vernier caliper) that worked fine on the Window$ server but when I imported it to a Moodle on a Linux server, the pictures didn't show up.

I looked into the package and found that in the HTML page the picture was "Images/moveableJaw.gif" and in the package folder structure was the file: "images/MoveableJaw.gif" (Note case DIFFERENCES!). Then Linux says "that isn't the one!" So if just change the HTML file so all linkages have the right case on all parts of the filename and path, then the pictures showed up. Otherwise I could change the filename and folder name and that would work too. But changing the folder name could be risky if another picture in the same folder was appearing, it would than disappear.