[Xerte] Re: Xerte moodle integration

RGN Meegama rgn at sci.sjp.ac.lk
Sun Aug 25 17:33:55 BST 2013


Thanks Tom and Pat for giving me the leads. I enabled magic quotes in
php.ini and it solved my problem.

On Sunday, August 25, 2013, Tom Reijnders <reijnders at tor.nl> wrote:
> Gayan,
>
> 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.
>
> Could then save the preview file again (by editing the LO and pressing
'Play').
>
> In the debug.log file search for "Magic quotes are switched On/Off" and
whether there is a line like "Calling stripslashes".
>
> Tom
>
> Op 22-8-2013 16:54, Pat @ Pgogy schreef:
>
> Moodle sets magic slashes set differently
> On 22 Aug 2013, at 08:40, RGN Meegama <rgn at sci.sjp.ac.lk> wrote:
>
> Without moodle integration, USER-FILES/.../8-user/preview.xml  looks like
>
> <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" />
>     </learningObject>
>
> But after moodle integration, there are backslashes appearing in
preview.xml as follows that results in a blank page.
>
> <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\" />
>     </learningObject>
>
>
> Any idea of what's happening?
>
>
> Gayan
>
>
> On Tue, Jul 30, 2013 at 6:45 PM, Pat @ Pgogy <xerte at pgogywebstuff.com>
wrote:
>
> Dear Gayan,
> Edit config.php and set development to be true
> Then try the preview again
> Pat
> On 30 Jul 2013, at 12:38, RGN Meegama <rgn at sci.sjp.ac.lk> wrote:
>
> Firefox gives  a blank screen even for source. IE gives an error message
saying somethjing like "
>
> The website is under maintenance.
> The website has a programming error.
>
> Gayan
>
>
> On Tue, Jul 30, 2013 at 4:42 PM, Smith, John <J.J.Smith at gcu.ac.uk> wrote:
>
> Hi,
>
>
>
> 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
>
> --
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
> 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.
>

-- 
Prof. RGN Meegama
Professor in Computer Science
Department of Statistics and Computer Science
Faculty of Applied Sciences
University of Sri Jayewardenepura
Gangodawila, Nugegoda
Sri Lanka

Tel: +94 11 2758380
Intercom:  8380
Web:  http://staff.sjp.ac.lk/gayan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20130825/ebc6ee79/attachment.html>


More information about the Xerte mailing list