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

Henk Klopping henk at fortean.org
Fri Oct 21 09:44:16 BST 2011


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,
-- 
    Henk Kloepping                         Voice  : +31 598 42 31 31
    European Fortean Foundation            e-mail : henk at fortean.org

    To join ISOC.NL: http://www.isoc.nl



More information about the Xerte mailing list