• Resolved fplnepal

    (@fplnepal)


    I am getting Json parae error while calculating result. What might be the reason?
    I simply entered score in russia 5 and saudi arabia 0 then when I click save button it throws json parse error.
    Plz help

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter fplnepal

    (@fplnepal)

    To be exact it gives
    SyntaxError:Unexpected token < in JSON at position 0

    Plugin Author AntoineH

    (@antoineh)

    This means you get a server error in the calculation method. The server throws an error and returns an error page in HTML, which cannot be parsed as JSON. With a tool like Fiddler you can view the exact response from the server.

    Also your error log on the server should log the error (if you enable debugging).

    Or try the NO_AJAX setting in wp-config to view the message (see help page for exact code).

    Thread Starter fplnepal

    (@fplnepal)

    I did find TRUE the debug a sper instruction in help page, but there was no error log or debug log in mentioned folder.
    However I did forced calucalation, it didnt work, But It gave Calculation running on 2nd attempt, so I refreshed page then force calucaltion again, it worked.
    But normal calculation isnt working.Should i worry
    I have about 200 paid members, and I dont want any error to show up esp when I just have to input match score and should calculate predict.

    Plugin Author AntoineH

    (@antoineh)

    If my webhost / install was this unstable, then I would worry, yes. You may want to ask if any of them can help you locate the error log. Or help resolve the problem.

    There is no difference in normal or force calculation other than that in the force the code does not check for a “has started” flag in the options table (which is set at the beginning of a calculation run).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Json Parae Error’ is closed to new replies.