[Xerte-dev] Re: Invalid backend response. Data is not JSON.

Ron Mitchell ronm at mitchellmedia.co.uk
Fri Apr 10 12:32:42 BST 2015


Exploring this further I first tried using the purge all caches function via
Moodle admin and same problem existed.

I then removed the integration_path from site_details and tried again via
guest and all worked fine.

I then re-added the integration_path and tested again via guest and all
still worked fine.

Changed auth_config back to using Moodle authentication and all still
working fine.

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.

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 10 April 2015 12:06
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Invalid backend response. Data is not JSON.

 

Hi all

I'm posting here but have also posted to the issue reported by Brad I think
at https://github.com/thexerteproject/xerteonlinetoolkits/issues/222

 

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: 

 

Invalid backend response. Data is not JSON.

 

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.

 

Any additional ideas re cause/solution?

 

This happens when the pop-up opens:

http://localhost/moodle/xerte/editor/elfinder/browse.php?type=media
<http://localhost/moodle/xerte/editor/elfinder/browse.php?type=media&lang=en
> &lang=en

 

And the FF console shows 2 repeat errors:

Line 1339 toolbox.js

console.log('Browse file: ' + id + ': ' + key + ', ' +  name  + ', ' +
value);

 

Cheers

Ron

 
 
 
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20150410/8e245ed6/attachment.html>


More information about the Xerte-dev mailing list