Page 1 of 1

Error. Parsing request failed.

Posted: February 13th, 2021, 6:49 pm
by xyz.simon
Sometimes I get the pop-up message:

Error. Parsing request failed. OK

and when I click 'OK', the pop-up message disappears.

This message doesn't always appear...I haven't recorded other instances when it has appeared but it has has just appeared when I attempted to login to my user account on the beta that I am testing on FireFox web browser 77.0.1 (64-bit).

Re: Error. Parsing request failed.

Posted: February 14th, 2021, 8:04 pm
by markdaps
Hi Simon,

The popup is an alert box generated by the script after it encounters an AJAX parsing error.

If you encounter this error again, take a look at your browser developer tools. and under the 'Network' tab, filter by 'XHR'. This should display the headers sent, and any issues.

Can also check in the 'Console' tab, and see if anything shows up there.

Could be incorrect headers sent, incorrect data-type, or server communication problems.

I've had this problem before many years ago, and never got it resolved (wasn't sure what to look for back then though).

You can stop the alert box from popping up by changing a line of code in /includes/javascript_global.js

To print it to the console instead, try changing this line;

Code: Select all

alert('Error.\nParsing request failed.');
to;

Code: Select all

console.log('Error: Parsing request failed.');
Although the error is annoying, I've never had any actual problems from it before.

Re: Error. Parsing request failed.

Posted: February 27th, 2021, 1:32 pm
by xyz.simon
Hi Mark,
I've been meaning to thank you for a while now. Thank you for the feedback / solution.