Closed (fixed)
Project:
Live Search
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2008 at 01:55 UTC
Updated:
15 Jan 2008 at 06:31 UTC
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
Comment #1
Kripsy commentedI 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.
Comment #2
kourge commented:)
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.