Error. Parsing request failed.
  • xyz.simon
    Posts: 16
    Joined: February 6th, 2021, 3:20 pm

    Error. Parsing request failed.

    by xyz.simon » February 13th, 2021, 6:49 pm

    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).
  • markdaps
    Posts: 21
    Joined: February 5th, 2021, 7:31 pm

    Re: Error. Parsing request failed.

    by markdaps » February 14th, 2021, 8:04 pm

    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.
    Mark M | Web Developer
  • xyz.simon
    Posts: 16
    Joined: February 6th, 2021, 3:20 pm

    Re: Error. Parsing request failed.

    by xyz.simon » February 27th, 2021, 1:32 pm

    Hi Mark,
    I've been meaning to thank you for a while now. Thank you for the feedback / solution.

Who is online

Users browsing this forum: No registered users and 1 guest