[Xerte-dev] Re: SCORM 1.2 export

Pat L (pgogy) xerte at pgogywebstuff.com
Fri Jul 11 15:55:43 BST 2014


it doesn't 404
which makes me think an if statement is failing
I'd start sticking echos into export.php


On Fri, Jul 11, 2014 at 2:54 PM, Julian Tenney <
Julian.Tenney at nottingham.ac.uk> wrote:

> OK, thanks,
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [mailto:
> xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron Mitchell
> *Sent:* 11 July 2014 14:38
> *To:* 'For Xerte technical developers'
>
> *Subject:* [Xerte-dev] Re: SCORM 1.2 export
>
>
>
> Actually maybe it is a problem with the .htaccess not quite correct.
>
>
>
> Just tested on my install with .htaccess enabled and scorm 1.2 export
> doesn't work but 2004 does
>
> Tested on the sandpit without .htaccess but apart from that same codebase
> and 1.2 export does work.
>
> Points to for example
> /sandpit/website_code/php/scorm/export.php?data=rich&scorm=true&template_id=3666&html5=true&flash=false
>
>
>
> will have a look later if I can get it working with a .htaccess change but
> other things to finish first…
>
>
>
> HTH
>
> Ron
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk
> <xerte-dev-bounces at lists.nottingham.ac.uk>] *On Behalf Of *Julian Tenney
> *Sent:* 11 July 2014 14:16
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: SCORM 1.2 export
>
>
>
> No, other than we updated toolkits back in – ooh – January?
>
>
>
> I don’t know about php changes.
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk
> <xerte-dev-bounces at lists.nottingham.ac.uk>] *On Behalf Of *Ron Mitchell
> *Sent:* 11 July 2014 14:12
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: SCORM 1.2 export
>
>
>
> Those lines are what I have in my installations and both scorm exports
> work so I suspect there is a different cause here. Perhaps the server/php
> updates I think you've mentioned previously? Any details of that?
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk
> <xerte-dev-bounces at lists.nottingham.ac.uk>] *On Behalf Of *Julian Tenney
> *Sent:* 11 July 2014 14:02
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: SCORM 1.2 export
>
>
>
> No, same problem. If I clcik export SCORM 1.2 package, I get a very brief
> ‘waiting for www.nottingham...’ etc in the status bar, then it just bombs
> out> I get this error:
>
>
>
> “The character encoding of a framed document was not declared. The
> document may appear different if viewed without the document framing it.”
>
>
>
> SCORM 2004 works fine.
>
>
>
>
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk
> <xerte-dev-bounces at lists.nottingham.ac.uk>] *On Behalf Of *Ron Mitchell
> *Sent:* 11 July 2014 13:58
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: SCORM 1.2 export
>
>
>
> Try these export lines:
>
>
>
> rewriteRule ^export_([0-9]+)$
> /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false
>
>
>
> rewriteRule ^export_([0-9]+)?(.*)$
> /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false&$2
>
>
>
> rewriteRule ^export_full_([0-9]+)$
> /toolkits/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=false
>
>
>
> rewriteRule ^export_full_([0-9]+)?(.*)$
> /toolkits/website_code/php/scorm/export.php?full=true&scorm=false&template_id=$1&$2
>
>
>
> rewriteRule ^export_local_([0-9]+)$
> /toolkits/website_code/php/scorm/export.php?template_id=$1&local=true&scorm=false
>
>
>
> rewriteRule ^export_local_([0-9]+)?(.*)$
> /toolkits/website_code/php/scorm/export.php?template_id=$1&local=true&scorm=false&$2
>
>
>
> rewriteRule ^scorm2004_([0-9]+)$
> /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=2004
>
>
>
> rewriteRule ^scorm2004_([0-9]+)?(.*)$
> /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=2004&$2
>
>
>
> rewriteRule ^scorm_([0-9]+)$
> /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=true
>
>
>
> rewriteRule ^scorm_([0-9]+)?(.*)$
> /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=true&$2
>
>
>
> rewriteRule ^scorm_rich_([0-9]+)$
> /toolkits/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true
>
>
>
> rewriteRule ^scorm_rich_([0-9]+)?(.*)$
> /toolkits/website_code/php/scorm/export.php?data=rich&scorm=true&template_id=$1&$2
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk
> <xerte-dev-bounces at lists.nottingham.ac.uk>] *On Behalf Of *Julian Tenney
> *Sent:* 11 July 2014 13:49
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: SCORM 1.2 export
>
>
>
> Ahh. Maybe that got lost in the upgrade…
>
>
>
> This is what I have:
>
>
>
> Options +FollowSymLinks
>
>
>
> rewriteEngine on
>
> #RewriteEngine On
>
>
>
>
>
>
>
>
>
> rewriteBase /
>
>
>
> rewriteRule ^edit_([A-Za-z0-9]+)?(.*)$ /toolkits/edit.php?template_id=$1&$2
>
>
>
> rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$
> /toolkits/preview.php?template_id=$1&$2
>
>
>
> rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)?(.*)$
> /toolkits/preview.php?template_id=$1&linkID=$2&$3
>
>
>
> rewriteRule ^example_([A-Za-z0-9]+)$ /toolkits/example.php?template_id=$1
>
>
>
> rewriteRule ^play_([A-Za-z0-9]+)?(.*)$ /toolkits/play.php?template_id=$1&$2
>
>
>
> rewriteRule ^properties_([A-Za-z0-9]+)$
> /toolkits/properties.php?template_id=$1
>
>
>
> rewriteRule ^folderproperties_([A-Za-z0-9]+)_folder$
> /toolkits/folderproperties.php?template_id=$1
>
>
>
> rewriteRule ^publishproperties_([A-Za-z0-9]+)$
> /toolkits/publishproperties.php?template_id=$1
>
>
>
> rewriteRule ^drawing$ /toolkits/drawing.php
>
>
>
> rewriteRule ^xml_([A-Za-z0-9]+)$ /toolkits/data.php?template_id=$1
>
>
>
> rewriteRule ^peerreview_([A-Za-z0-9]+)$ /toolkits/peer.php?template_id=$1
>
>
>
> rewriteRule ^export_([0-9]+)?(.*)$
> /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false&$2
>
>
>
> rewriteRule ^export_full_([0-9]+)?(.*)$
> /toolkits/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=false&$2
>
>
>
> rewriteRule ^export_local_([0-9]+)?(.*)$
> /toolkits/website_code/php/scorm/export.php?template_id=$1&local=true&scorm=false&$2
>
>
>
> rewriteRule ^scorm2004_([0-9]+)?(.*)$
> /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=2004&$2
>
>
>
> rewriteRule ^scorm_([0-9]+)?(.*)$
> /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=true&$2
>
>
>
> rewriteRule ^scorm_rich_([0-9]+)?(.*)$
> /toolkits/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true&$2
>
>
>
> rewriteRule ^RSS/$ /toolkits/rss.php
>
>
>
> rewriteRule
> ^RSS/([A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+_[A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+)/$
> /toolkits/rss.php?username=$1
>
>
>
> rewriteRule
> ^RSS/([A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+_[A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+)/([A-Za-z0-9_]+)/$
> /toolkits/rss.php?username=$1&folder_name=$2
>
>
>
> rewriteRule ^export/$ /toolkits/rss.php?export=true
>
>
>
> rewriteRule ^syndication/$ /toolkits/syndicate.php
>
>
>
> rewriteRule ^workspaceproperties$ /toolkits/workspaceproperties.php
>
>
>
> rewriteRule ^management$ /toolkits/management.php
>
>
>
>
>
>
>
>
>
>
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk
> <xerte-dev-bounces at lists.nottingham.ac.uk>] *On Behalf Of *Ron Mitchell
> *Sent:* 11 July 2014 13:48
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: SCORM 1.2 export
>
>
>
> Did you ever update your .htaccess? There were changes/additions needed at
> one point I seem to recall.
>
>
>
> *From:* xerte-dev-bounces at lists.nottingham.ac.uk [
> mailto:xerte-dev-bounces at lists.nottingham.ac.uk
> <xerte-dev-bounces at lists.nottingham.ac.uk>] *On Behalf Of *Julian Tenney
> *Sent:* 11 July 2014 13:38
> *To:* For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)
> *Subject:* [Xerte-dev] SCORM 1.2 export
>
>
>
> SCORM 1.2 export isn’t working here: nothing happens, nothing exports.
>
>
>
> Any idea?
>
>
>
> 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.
>
>
>
>
>
> 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.
>
>
>
>
>
> 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.
>
>
>
>
>
> 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.
>
>
>
> 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-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20140711/410927ba/attachment-0001.html>


More information about the Xerte-dev mailing list