Re: Empty Response

2010-11-05 Thread Eric
run Django's built in server. Following > > > > > the asynchronous GET  I get a response with the expected json > > > > > structure which I can then use to populate the page. > > > > > > However, when I have Apache in front, the response is empty. A

Re: Empty Response

2010-11-05 Thread Eric
can then use to populate the page. > > > > > However, when I have Apache in front, the response is empty. And this > > > > appears to be only when I make an AJAX request since all of the other > > > > requests and responses produce the expected resul

Re: Empty Response

2010-11-05 Thread Eric
equests and responses produce the expected results. > > > > I don't know how to go about troubleshooting this. > > > > Does anybody know what is going on here? Or, how to troubleshoot this? > > > Some random tips: > > > Take a hard look at what's

Re: Empty Response

2010-11-02 Thread adelein
> > Does anybody know what is going on here? Or, how to troubleshoot this? > > Some random tips: > > Take a hard look at what's actually being returned.  Empty response, > apparently.  But what about the http status code?  200 OK or 500 > AARGH_ERROR?  Or something that'

Re: Empty Response

2010-11-02 Thread Reinout van Rees
to troubleshoot this? Some random tips: Take a hard look at what's actually being returned. Empty response, apparently. But what about the http status code? 200 OK or 500 AARGH_ERROR? Or something that's just not parsed as valid json? Or perhaps an invalid mimetype? Useful tools: firebug (lets you

Empty Response

2010-11-02 Thread Eric
I am returning a json structure in one of my views after the user performs a search when I only run Django's built in server. Following the asynchronous GET I get a response with the expected json structure which I can then use to populate the page. However, when I have Apache in front, the

Re: Django with an empty response after database access - Apache2/mod_python and MySQL on Debian Sarge

2006-09-19 Thread phxx
Ok, I think I've solved the problem on my own. Yesterday I coincidentally found this mod_python FAQ Entry: http://www.modpython.org/FAQ/faqw.py?req=show=faq02.013.htp Though I changed my configs to run Django with Fast-CGI and it works :-) Yeah, FCGI rocks! Bye, Gregor Müllegger

Django with an empty response after database access - Apache2/mod_python and MySQL on Debian Sarge

2006-09-19 Thread phxx
Hi all together. Since a few weeks i have a problem with database access in my django installation. On views, which use some Database related actions (mysql as backend) i get a "Zero Sized Reply" Message from my local proxy. That means that there it is simply an empty Response. The