Reputation: 145
I have a jquery ajax call that returns a 500 error. If I type the url directly into my browser, it works fine (it is a GET request).
I'm using apache 2.2.23 with php 5.4.10. There is nothing in the apache or php logs even with log level set to debug. The crazy thing is, this same ajax call works on other peoples' machines.
Firebug console shows the 500 error, but the body of the response is the actual content that I expect to be returned.
Thoughts?
Upvotes: 0
Views: 1149
Reputation: 1562
Are you opening the page on all machines from the same hostname? If yes, you have to use jsonp as ajax normally doesn't work over multiple domains.
Upvotes: 0
Reputation: 125
If you are using Firefox as a browser install Firebug..I hope it will help you in tracking any ajax bug/error!
Upvotes: 1