[Xerte] Re: SCORM export -- Maybe some faults in XOT and moodlepatch
Pat Lockley
patrick.lockley at googlemail.com
Sat Oct 22 13:03:04 BST 2011
Hello,
Thanks for the feedback.
The header functions in PHP give mixed responses - sometimes the code
works in firefox, but not IE. If you are running an install for
multiple people you might want to check this (in case it has stopped
working in other browsers).
You may find removing the file length parameter will not affect the code.
As for the new folder, export.php needs to be altered to allow for the
new folder in the xerte format.
Pat
2011/10/22 <timwee at sina.com>:
> Hi from China.
>
> I've integrated XOT in my moodle installation using xerte_1.0.2_moodlepatch
> , it worked well except when i exported my project. The exporting ZIP file
> encountered an 'Invalid zip format' error and i found the fault caused by
> strlen function.
>
> In archive.php, zip work, then when heading the zip file to user's browser,
> it uses strlen to determine the file size. But strlen can't get the accurate
> length of a biary string, because it'll stop counting when it go through a
> null byte and return a wrong value. I changed the export option to
> 'inmemory' => 0 ( in export.php) and redirect the broswer to download the
> zipped file, then every thing's OK.
>
> Another fault i found was in moodlepatch, export.php dosen't copy
> the languages directory, so when imported in moodle, the hint words can not
> display.
>
> Hope the mail's helpful.
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it. Please do not
> use, copy or disclose the information contained in this message or in any
> attachment. Any views or opinions expressed by the author of this email do
> not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it. Please do not
> use, copy or disclose the information contained in this message or in any
> attachment. Any views or opinions expressed by the author of this email do
> not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
>
More information about the Xerte
mailing list