<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Exploring this further I first tried using the purge all caches function via Moodle admin and same problem existed.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I then removed the integration_path from site_details and tried again via guest and all worked fine.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I then re-added the integration_path and tested again via guest and all still worked fine.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Changed auth_config back to using Moodle authentication and all still working fine.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Not sure if that helps apart from seemingly being a fix for a previously working install using Moodle authentication that had become broken but works again after removing and re-adding the integration_path. I guess somewhere these steps are killing the conflicting session or cache but not sure what's causing the conflict in the first place and clearly that's what we need to identify.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Ron<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-dev-bounces@lists.nottingham.ac.uk [mailto:xerte-dev-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 10 April 2015 12:06<br><b>To:</b> 'For Xerte technical developers'<br><b>Subject:</b> [Xerte-dev] Invalid backend response. Data is not JSON.<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi all<o:p></o:p></p><p class=MsoNormal>I'm posting here but have also posted to the issue reported by Brad I think at <a href="https://github.com/thexerteproject/xerteonlinetoolkits/issues/222">https://github.com/thexerteproject/xerteonlinetoolkits/issues/222</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I've been testing some stuff on a localhost xampp installation on and off over the last few days and again this morning. This is recent develop code but not the very latest. I'm not sure what caused this but now when I try to edit an existing or new LO and browser for media I get the following error: <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Invalid backend response. Data is not JSON.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This happens regardless of account, browser, project etc and I've completely shut down xampp, cleared session files and re-started but still the same problem. I remember having similar problems in a much earlier test version on the Techdis server where there was more than one install and liaising with Tom but never resolving it then and in this local xampp instance there's only a singe XOT install. It also inside a Moodle directory like the Techdis server was but has been working fine until this problem arose this morning and now even with auth_config set to guest or static effectively the install is broken because it's not possible to browse for media. In this case I can potentially just scrap and replace the install but I seem to recall when I tried that on the Techdis server previously it didn't resolve the problem and I'm worried about this happening on live installations. There are plenty using Moodle authentication.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any additional ideas re cause/solution?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This happens when the pop-up opens:<o:p></o:p></p><p class=MsoNormal><a href="http://localhost/moodle/xerte/editor/elfinder/browse.php?type=media&lang=en">http://localhost/moodle/xerte/editor/elfinder/browse.php?type=media&lang=en</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>And the FF console shows 2 repeat errors:<o:p></o:p></p><p class=MsoNormal>Line 1339 toolbox.js<o:p></o:p></p><p class=MsoNormal>console.log('Browse file: ' + id + ': ' + key + ', ' + name + ', ' + value);<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Cheers<o:p></o:p></p><p class=MsoNormal>Ron<o:p></o:p></p><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>This message and any attachment are intended solely for the addressee<o:p></o:p></pre><pre>and may contain confidential information. If you have received this<o:p></o:p></pre><pre>message in error, please send it back to me, and immediately delete it. <o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Please do not use, copy or disclose the information contained in this<o:p></o:p></pre><pre>message or in any attachment. Any views or opinions expressed by the<o:p></o:p></pre><pre>author of this email do not necessarily reflect the views of the<o:p></o:p></pre><pre>University of Nottingham.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>This message has been checked for viruses but the contents of an<o:p></o:p></pre><pre>attachment may still contain software viruses which could damage your<o:p></o:p></pre><pre>computer system, you are advised to perform your own checks. Email<o:p></o:p></pre><pre>communications with the University of Nottingham may be monitored as<o:p></o:p></pre><pre>permitted by UK legislation.<o:p></o:p></pre></div></body></html>