4sight

By Couchy Last update Jul 28, 2012 — Installed 20,190 times.

No threads found?

in
Subscribe to No threads found? 7 posts, 3 voices



iGod User
FirefoxWindows

As of today, I've been getting this issue in which 4sight's index results all come up with "No Results Found" and generally just not working. This may or may not have to do with the new changes to the site today. Here's a screenshot.

http://img192.imageshack.us/img192/9484/therecl...

Also for the past few weeks now, the "Search Board" option doesn't even work with some boards. I've noticed it's an on and off thing in which sometimes it works and sometimes it doesn't, but today it's been more prominent. What happens is the "Search Board" option becomes unclickable and I can't search at all. No idea what that could be about...

 
GeeGee User
FirefoxWindows

The same for me since yesterday, please fix this script!

 
iGod User
FirefoxWindows

I just downloaded the recent update and it has fixed the issue of not being able to find threads, however the issue of the "Search Board" option being broken in some boards still seems to stand...

 
Couchy Script's Author
ChromeX11

You might have gotten corrupt data somehow. Can you change this part of the script

if(window.localStorage.getItem(index))
    eval("threads = " + window.localStorage.getItem(index) + ";");

to this
if(window.localStorage.getItem(index))
try{
    eval("threads = " + window.localStorage.getItem(index) + ";");
}catch(e){alert(e.message);}

and see what that does on the boards that aren't working?

 
iGod User
FirefoxWindows

So, I did exactly what you asked. The good news is that the search function now works on those boards.
The bad news is that I'm now getting a "unterminated string literal" Greasemonkey Alert popup whenever I visit any board. Now, there's a new problem. Full part of the script on my end is:

if(window.localStorage.getItem(index))
try{
    eval("threads = " + window.localStorage.getItem(index) + ";");
}catch(e){alert(e.message);}
if(window.localStorage.getItem(timestamp))
    status("Index last updated " + window.localStorage.getItem(timestamp));

Something must be wrong there. I wouldn't know what.

 
Couchy Script's Author
ChromeX11

No, that's a good thing. It's catching the error that was causing the script to crash. You can either remove the alert(e.message); or just wait for me to update the script with safer data loading.

 
iGod User
FirefoxWindows

I shall do both.

Thank you for all the help.