[Xerte] Re: Can't get export to work

Tom Reijnders reijnders at tor.nl
Fri Oct 21 10:16:02 BST 2011


Julian,

If you look at the log file, the rloObject.js is 4330 bytes long. This 
is the .js from the scrom folder, and sure enough in the zip (just 
downloaded it) there is a .js file of 4330 bytes long, that has too many 
parameters in (one) of the functions.

Please check whether the engine swf in the rootfolder of the zip is also 
the one you intended. According the export.php, that is the one that 
ends up in the exported package (and here also the byte sizes correspond).

Tom

Op 21-10-2011 10:44, Henk Klopping schreef:
> Julian Tenney wrote:
>> How are you running the exported LO? Locally, just by firing up 
>> index.htm?
>
> Yes. I have a LAMP stack running on my local host (which I also use to 
> run the XOL stuff). I created a directory 'test' under my webroot and 
> then unzipped the archive there. Then I point my browser to 
> 'localhost/test' and get the directory listing. I then click the 
> index.htm file. Blue bar occurs. I have also renamed the file to 
> index.html (the Unix convention) and yes, then I don't have to click 
> the index file anymore, but the result is the same (as expected).
>
> BTW: I _DO_ see the messages "Loading XML" and "Please wait" flash by 
> under the bar, in the end both messages disappear, but then there is 
> just the blue bar and nothing else happens.
>
> This is an excerpt from my logfile, which may be of help: you can see 
> the 'calls' to Xerte to create the LO and then you see me starting the 
> LO. In the end, somewhere something is set to 'undefined' instead of 
> to it's proper value and as there is no file 'undefined' at my host it 
> breaks.
>
> 127.0.0.1 - - [21/Oct/2011:10:25:41 +0200] "GET 
> /xerte/website_code/php/scorm/export.php?scorm=false&template_id=3 
> HTTP/1.1" 200 1353698 
> "http://localhost/xerte/properties.php?template_id=3" "Mozilla/5.0 
> (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 
> CentOS/3.6-2.el5.centos Firefox/3.6.23"
> 127.0.0.1 - - [21/Oct/2011:10:27:09 +0200] "GET /test/index.htm 
> HTTP/1.1" 200 753 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; 
> rv:1.9.2.23) Gecko/20110928 CentOS/3.6-2.el5.centos Firefox/3.6.23"
> 127.0.0.1 - - [21/Oct/2011:10:27:09 +0200] "GET /test/rloObject.js 
> HTTP/1.1" 200 4330 "http://localhost/test/index.htm" "Mozilla/5.0 
> (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 
> CentOS/3.6-2.el5.centos Firefox/3.6.23"
> 127.0.0.1 - - [21/Oct/2011:10:27:10 +0200] "GET 
> /test/MainPreloader.swf HTTP/1.1" 200 1554 
> "http://localhost/test/index.htm" "Mozilla/5.0 (X11; U; Linux x86_64; 
> en-US; rv:1.9.2.23) Gecko/20110928 CentOS/3.6-2.el5.centos 
> Firefox/3.6.23"
> 127.0.0.1 - - [21/Oct/2011:10:27:10 +0200] "GET 
> /test/learningobject.rlt HTTP/1.1" 200 17160 "-" "Mozilla/5.0 (X11; U; 
> Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 
> CentOS/3.6-2.el5.centos Firefox/3.6.23"
> 127.0.0.1 - - [21/Oct/2011:10:27:10 +0200] "GET /test/XMLEngine.swf 
> HTTP/1.1" 200 147537 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; 
> rv:1.9.2.23) Gecko/20110928 CentOS/3.6-2.el5.centos Firefox/3.6.23"
> 127.0.0.1 - - [21/Oct/2011:10:27:10 +0200] "GET /test/resources.swf 
> HTTP/1.1" 200 36 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; 
> rv:1.9.2.23) Gecko/20110928 CentOS/3.6-2.el5.centos Firefox/3.6.23"
> 127.0.0.1 - - [21/Oct/2011:10:27:10 +0200] "GET 
> /test/common/styles.css HTTP/1.1" 200 160 "-" "Mozilla/5.0 (X11; U; 
> Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 
> CentOS/3.6-2.el5.centos Firefox/3.6.23"
> 127.0.0.1 - - [21/Oct/2011:10:27:10 +0200] "GET /test/undefined 
> HTTP/1.1" 404 286 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; 
> rv:1.9.2.23) Gecko/20110928 CentOS/3.6-2.el5.centos Firefox/3.6.23"
>
> And of course, the error logs says:
>
> [Fri Oct 21 10:27:10 2011] [error] [client 127.0.0.1] File does not 
> exist: /var/www/html/test/undefined
>
> Suuuomikkie vinnouuven,

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196





More information about the Xerte mailing list