[Xerte] Re: Quiz in xerte 2.0 question
Smith, John
J.J.Smith at gcu.ac.uk
Fri Jul 26 11:01:48 BST 2013
Hi Jason,
Yes it should be 2x ' (empty string). I'm pretty sure I sent you the correct save.php file so all should be well...
The clearing of the cache is a long shot anyway - I don't think it would affect anything server side in this instance but sometimes it's just worth doing...
Can't think of any reason why following those steps that I sent you wouldn't work - I have tried them here and it works for me using an exact copy of your original xml file and it strips that char before saving - either your xml file is not being updated or else another character is also affecting things at your end...
I suppose the citrix element could be significant but I have no ideas why, anyone else have any ideas?
If you have a basic text editor (i'd recommend TextPad - google it) then you can load in the preview.xml file from the correct LO folder (match the id) from USER_FILES and manually remove all those little squares (or you can do a search and replace). That will at least allow you to open the LO.
Regards,
John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University
Cowcaddens Road | Glasgow | G4 0BA
________________________________________
From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Bardell Jason [jason.bardell at kent.fire-uk.org]
Sent: 26 July 2013 09:35
To: 'Xerte discussion list'
Subject: [Xerte] Re: Quiz in xerte 2.0 question
Hello John
I have looked at your code and that in our folder, on the last line should that be a ( ") or two of ( ' ) ?
We can't clear our cache as we are using citrix servers and have no control from here.
Getting back to the file you sent, I can't see another file of the same name "save.php" I can see "upload.php" but wouldn't have thought these were the same.. I have looked at a few other folders but can't see save.php anywhere... Also tried F12 but unable to see any errors.
Confused.com
Regards
Jason
-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 25 July 2013 23:04
To: Xerte discussion list
Subject: [Xerte] Re: Quiz in xerte 2.0 question
Jason,
You could also make sure that I actually sent you the right file? Lines 39-ish should be
/**
* Remove Ascii Chr(1) as it seems to break the XML later on...
*/
if (strpos($unescaped_data, chr(1))>0) {
$unescaped_data = str_replace(chr(1), '', $unescaped_data); }
Regards,
John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________
From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Bardell Jason [jason.bardell at kent.fire-uk.org]
Sent: 25 July 2013 20:33
To: 'xerte at lists.nottingham.ac.uk'
Subject: [Xerte] Re: Quiz in xerte 2.0 question
Hi John
I put the zip file in that folder and unzipped it there so I can see the save.php file. Should I have done it differently? As a novice I was quite pleased that I managed to get that far lol :-)
Thanks
Jason
----- Original Message -----
From: Smith, John [mailto:J.J.Smith at gcu.ac.uk]
Sent: Thursday, July 25, 2013 06:02 PM
To: xerte at lists.nottingham.ac.uk <xerte at lists.nottingham.ac.uk>
Subject: [Xerte] Re: Quiz in xerte 2.0 question
Thwarting = the
Damn you predictive text...
Regards
John Smith
Learning Technologist
School of Health and Life Sciences
Sent from Samsung Galaxy SII
"Smith, John" <J.J.Smith at gcu.ac.uk> wrote:
Did you place the actual zip file there or thwarting PHP file within the zip, overwriting the save.PHP that is there already?
The new file should strip out the marks when you press play... It does on my install?!?
Regards
John Smith
Learning Technologist
School of Health and Life Sciences
Sent from Samsung Galaxy SII
Bardell Jason <jason.bardell at kent.fire-uk.org> wrote:
Thanks John
I have uploaded the zip file. I am still unable to preview it but when I go into edit the LO I can see the symbols you were referring to. Until there is a fix to stop this code being imported (from web pages apparently) I'll get the team to use their own words or use notepad to clean any copy and pasting.
Thanks for providing an answer to this.
Regards
Jason
-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Bardell Jason
Sent: 24 July 2013 23:03
To: 'xerte at lists.nottingham.ac.uk'
Subject: [Xerte] Re: Quiz in xerte 2.0 question
Thanks John
I will give it a bash on Friday when I'm near a pc fingers crossed.
Thanks
Jason
----- Original Message -----
From: Smith, John [mailto:J.J.Smith at gcu.ac.uk]
Sent: Wednesday, July 24, 2013 09:40 AM
To: Xerte discussion list <xerte at lists.nottingham.ac.uk>
Subject: [Xerte] Re: Quiz in xerte 2.0 question
I've also patched a file to remove the offending character during edit... unzip and place the attached file here: \modules\xerte\engine within your xerte folder.
Once you have done this, It would be great if you could confirm the correct behaviour:
MAKE AN ARCHIVE ZIP FIRST - Properties -> Export tab -> Get archive Zip.
Try to play/preview offending LO that doesn't work Edit the LO and press the "Play" button. The learning object should now work.
If YES then you can go ahead and press Publish to make that version live
Regards,
John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________
From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk]
Sent: 23 July 2013 23:58
To: Xerte discussion list
Subject: [Xerte] Re: Quiz in xerte 2.0 question
Hi Jason,
Ok, I have solved the problem. There are 25x [] (that is [ and ] together to illustrate a box - not the actual character!!). Now i'm not sure where they came from and I can't even paste them in this email because they are not valid characters but they could have come from whatever the questions were copied+pasted from... UPDATE Have now discovered that they are ASCII code 1 and that there are also numerous ASCII code 147 and 148 in there which are the opening and closing "" that Word uses... they don't seem to be causing any problem though...
If you go to this question:
Do you Regularly take work... (about Q10)
And then go to the first option - you will see that the text ""If I managed my time..." has 1 or 2x SPACES in front of it... wel they are not spaces, this is where the bogus character is...
I will send you a working preview.xml file and you need to copy to a particular folder on your server (I will tell you where off list).
We will work on a way of detecting these characters and preventing/ignoring them in future...
Regards,
John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________
From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Bardell Jason [jason.bardell at kent.fire-uk.org]
Sent: 23 July 2013 17:01
To: 'Xerte discussion list'
Subject: [Xerte] Re: Quiz in xerte 2.0 question
I have been through the questions and each is set to 'false' or 'true'. I will ask where the info came from & whether it was a Word document, would this have an impact? I know that she has used html to underline or make bold certain text.
Thanks
Jason Bardell | Kent Fire & Rescue Service |
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 23 July 2013 16:39
To: Xerte discussion list
Subject: [Xerte] Re: Quiz in xerte 2.0 question
It sounds like some bad markup in one of the questions somewhere. There's no limits or anything like that. Do you cut and paste from Word?
From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Bardell Jason
Sent: 23 July 2013 16:38
To: xerte at lists.nottingham.ac.uk<mailto:xerte at lists.nottingham.ac.uk>
Subject: [Xerte] Quiz in xerte 2.0 question
Hello
One of my team has designed a large LO and an equally large quiz in xerte 2.0, she has used the html5 LO type, selected Quiz under Interactivity and added 27 questions. The feedback is in-depth with a number of paragraphs providing students feedback to some questions.
When we go to preview the LO, the screen remains white and nothing uploads. When we removed the quiz the LO loaded and was viewable. We duplicated the LO and added a new quiz, copy and pasting the first 2 questions and the LO loaded successfully. Having spent a number of hours working on her LO my colleague would like to know what is stopping the LO with 27 questions displaying? Has this been documented or asked before? Is there a question limit? Is there a word count limit with feedback?
Many thanks
Jason Bardell | Kent Fire & Rescue Service |
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.
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
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
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
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.
_______________________________________________
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.
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
More information about the Xerte
mailing list