When I type something into the the live search and let the javascript run the search for me, it gets this error

missing } in XML expression                                                                    jquery.js (line 2)
[Break on this error] data = <div class="page page-livesearch">{ "found": true, "results": "\x3cdl cla... 

reported in firebug. If I just hit enter, though, it works. Now this problem doesn't seem to be just Live Search. All forms of AJAX stopped working around the time I hit a white screen of death due to DEVEL and had to rollback from PHP5 to PHP4 and back to PHP5. I am contemplating simply reinstalling Drupal altogether to see if that might fix it, but I am posting it here just in case it is something you would like to know about :).

Comments

Kripsy’s picture

Title: AJAX is Failing » Results Not Being Posted
Status: Active » Closed (fixed)

I was able to diagnose the problem after a day of chasing my tail. It turned out that I had an error in my template.php preventing the search results from being posted.

kourge’s picture

:)
I knew that if I waited you'd figure it out, because it looked like invalid JSON data was being passed back. And that wouldn't happen unless a theme is going haywire.