I just grabbed the latest version of Sphinx using HG. ( v0.6b1) I am still unable to use search. I am getting the following javascript errors in my browser when trying to search on the HTML output I generated with Sphinx (errors from the javascript console)
I have downloaded other sphinx generated HTML doc (django doc) to this same environment and the search works beautifully in both IE and firefox, so I assume that it is something to do with my build environment. Javascript errors In Firefox..... x Search.setIndex is not a function x Access to restricted URI denied" code: "1012 In IE: Line: 2 Char: 1 Error: Object doesn't support this property or method. Code: 0 URL: file:///C:/temp/html/search.html?q=project On Fri, Feb 27, 2009 at 6:47 AM, Georg Brandl <[email protected]> wrote: > > PFL schrieb: > > hmmm....my search page is no longer working. It used to work. I > > updated some pages, did a re-build and now, search does not return > > anything. I have the animated GIF that keeps saying "search...." > > It's not an animated GIF but a JavaScript thingie ;) > > > i am using both IE7 an FireFox.... > > > > I am not even sure where to begin to debug this? Are there any online > > pointers or FAQs that might steer me in the right direction. > > I usually use Firefox' excellent Firebug extension to debug the JavaScript. > > In your case, I suspect it's the same embarrassing bug that was found and > fixed a few days ago (if you have Firebug it should say something like > "setQuery not found"), so it should be fixed if you use the version from > Mercurial or wait for 0.5.2/0.6 in a few days. > > cheers, > Georg > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
