<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Gayan,<br>
<br>
Could you please place the attached file in <xot
installdir>modules/xerte/engine, make sure $development is
switched on in <xot installdir>/config.php and that in that
same file XOT_DEBUG_LOGFILE is changed in such a way that the log
can be written.<br>
<br>
Could then save the preview file again (by editing the LO and
pressing 'Play').<br>
<br>
In the debug.log file search for "Magic quotes are switched On/Off"
and whether there is a line like "Calling stripslashes".<br>
<br>
Tom<br>
<br>
<div class="moz-cite-prefix">Op 22-8-2013 16:54, Pat @ Pgogy
schreef:<br>
</div>
<blockquote
cite="mid:D45F5843-23F3-49B9-9905-540292558CBD@pgogywebstuff.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div>Moodle sets magic slashes set differently</div>
<div><br>
On 22 Aug 2013, at 08:40, RGN Meegama <<a
moz-do-not-send="true" href="mailto:rgn@sci.sjp.ac.lk">rgn@sci.sjp.ac.lk</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>Without moodle integration,
USER-FILES/.../8-user/preview.xml looks like<br>
<br>
<learningObject language="en-GB" name="Learning Object
Title" navigation="Linear" textSize="12"
displayMode="default"> <summary linkID="PG1377108894847"
name="Enter Page Title" summaryHeader="Summary"
summary="Summarise the key points" nextstepsHeader="Next
Steps" nextsteps="Suggest how the knowledge can be applied and
any useful next steps" /><br>
</learningObject><br>
<br>
But after moodle integration, there are backslashes appearing
in preview.xml as follows that results in a blank page.<br>
<br>
<learningObject language=\"en-GB\" name=\"Learning Object
Title\" navigation=\"Linear\" textSize=\"12\"
displayMode=\"default\"> <summary
linkID=\"PG1377110768832\" name=\"Enter Page Title\"
summaryHeader=\"Summary\" summary=\"Summarise the key points\"
nextstepsHeader=\"Next Steps\" nextsteps=\"Suggest how the
knowledge can be applied and any useful next steps\" /><br>
</learningObject><br>
<br>
<br>
Any idea of what's happening?<br>
<br>
<br>
Gayan<br>
<br>
<br>
<div class="gmail_quote">On Tue, Jul 30, 2013 at 6:45 PM, Pat
@ Pgogy <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:xerte@pgogywebstuff.com" target="_blank">xerte@pgogywebstuff.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div>Dear Gayan,</div>
<div><br>
</div>
<div>Edit config.php and set development to be true</div>
<div><br>
</div>
<div>Then try the preview again</div>
<span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div>Pat</div>
</font></span>
<div>
<div class="h5">
<div><br>
On 30 Jul 2013, at 12:38, RGN Meegama <<a
moz-do-not-send="true"
href="mailto:rgn@sci.sjp.ac.lk" target="_blank">rgn@sci.sjp.ac.lk</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>Firefox gives a blank screen even for
source. IE gives an error message saying
somethjing like "<br>
<ul>
<li>The website is under maintenance.</li>
<li>The website has a programming error.</li>
</ul>
<p><br>
</p>
<br>
Gayan<br>
<br>
<br>
<div class="gmail_quote">On Tue, Jul 30, 2013 at
4:42 PM, Smith, John <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:J.J.Smith@gcu.ac.uk"
target="_blank">J.J.Smith@gcu.ac.uk</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">What
browser are you using? Try looking
in the development mode (usually F12
on browser in Windows) and see if
there are any messages in the
console?</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Also,
right click on the white blank
screen and view source. Is there any
code in there or nothing at all?</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards,</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">John
Smith</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Learning
Technologist</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">School
of Health & Life Sciences</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Glasgow
Caledonian University</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a moz-do-not-send="true"
href="mailto:xerte-bounces@lists.nottingham.ac.uk"
target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>
[mailto:<a moz-do-not-send="true"
href="mailto:xerte-bounces@lists.nottingham.ac.uk"
target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>RGN Meegama<br>
<b>Sent:</b> Tuesday, July 30, 2013
12:03 PM<br>
<b>To:</b> <a
moz-do-not-send="true"
href="mailto:xerte@lists.nottingham.ac.uk"
target="_blank">xerte@lists.nottingham.ac.uk</a><br>
<b>Subject:</b> [Xerte] Xerte moodle
integration</span></p>
<div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"
style="margin-bottom:12.0pt">I
installed Xerte 2.0 and it works
fine when not integrated with
Moodle. But when I integrate it with
Moodle (1.9), everything is Ok
except that the preview of a
learning object doesn't work and
gives a blank screen. any
suggestions?<br>
<br>
Gayan<br clear="all">
</p>
</div>
</div>
<br>
<font face="Arial" color="Gray">Glasgow
Caledonian University is a registered
Scottish charity, number SC021474<br>
<br>
Winner: Times Higher Education’s
Widening Participation Initiative of the
Year 2009 and Herald Society’s Education
Initiative of the Year 2009.<br>
<a moz-do-not-send="true"
href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html"
target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html</a><br>
<br>
Winner: Times Higher Education’s
Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a
lead with Universities Scotland
partners.<br>
<a moz-do-not-send="true"
href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html"
target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html</a><br>
</font>
<br>
<p>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.</p>
<p>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.</p>
<br>
</div>
<br>
_______________________________________________<br>
Xerte mailing list<br>
<a moz-do-not-send="true"
href="mailto:Xerte@lists.nottingham.ac.uk"
target="_blank">Xerte@lists.nottingham.ac.uk</a><br>
<a moz-do-not-send="true"
href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte"
target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Xerte mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:Xerte@lists.nottingham.ac.uk"
target="_blank">Xerte@lists.nottingham.ac.uk</a></span><br>
<span><a moz-do-not-send="true"
href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte"
target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></span><br>
</div>
</blockquote>
<br>
<p>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.</p>
<p>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.</p>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Xerte mailing list<br>
<a moz-do-not-send="true"
href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a moz-do-not-send="true"
href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte"
target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Xerte mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a></span><br>
<span><a moz-do-not-send="true"
href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></span><br>
</div>
</blockquote>
<br>
<p>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.</p>
<p>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.</p>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Xerte mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
</pre>
</body>
</html>