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

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Oct 21 12:42:10 BST 2011


The XMLEngine in the root should always be the latest one, it doesn't change too much these days, so if it's pretty recent it should be OK.

So in the latest files, the rloOBject.js that exports is correct? Or does that need fixing?

When we get all this php  stuff sorted out, I will update with all the latest xerte stuff: engine, wizard, templates, and supporting code (like the embed window stuff Ron mentioned as well).

Today, the priority is still on restoring the svn to a working state.

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 21 October 2011 10:16
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: Can't get export to work

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



_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte



More information about the Xerte mailing list