Forums

Ajax completely stopped working on entire site!

I am using $.get for all of my ajax calls. Including using beautifulsoup for webscrapping, updating database, creating sessions/cookies. Everything was working well, but inexplicably ajax completely stopped working. I can still use my forms to update the database (with ajax), but the functionality of ajax, including creating cookies is simply not working on any of the forms. The forms also refresh immediately.

Have you taken any steps to debug the problem?

If you open up your web browser and open its developer tools (ctrl+shift+i), they usually let you monitor ajax requests -- either in the console section or the network section. you should be able to see what's being sent, whether the server is replying, what status code / message, etc.

Also, you can take a look at your access log (from the Web tab) to see if the requests from the browser are coming through. And check the error log to see if there are any errors...