Gossamer Forum
Quote Reply
BigWhat ...
I'm having problems running this. I'm getting "Unknown Tag" errors, and while I can see the plug in is being run, at times, nothing is being returned.

Any one else?



PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: BigWhat ... In reply to
Hi,

What unknown tags do you get? link_results? And how are you calling the search (by passing bw=1 in, or by setting the include mode to 1 or 2)?

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: BigWhat ... In reply to
I've tried them all.

It actually seems to be another 'error' reporting issue. My code number for bigwhat seems to be generating an "invalid" or unknown user code error, and this is "crashing" the plugin.

Inserted a print tag higher up in the routine, and it prints out an error return from bigwhat.

This needs to be trapped.... But that seems to be the issue here.



PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: BigWhat ... In reply to
Hmm, I thought I was catching this. I tried it with an invalid pid number, and was impressed when I got the real Links SQL error page with the error message from BigWhat..

I'll have to look into this a bit..

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: BigWhat ... In reply to
Alex,

You should know by now nothing ever works "normally" for me, even errors <G>

I had to learn to program and webmaster out of necessity and self preservation! :)



PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: BigWhat ... In reply to
I installed this plugin and set up with my PID from Big What.

If the option is set to 0, then my local results show, but I get an Unknown Tag "bigwhat_results" error.

When it is 1 or 2, I do not get any local results nor results from Big What. I don't get the unknown tag error.

Ideas?

Lance Rasmussen
Bowlingzone.com

Quote Reply
Re: BigWhat ... In reply to
They fixed my PID for me, must have been on their end.

Try editing the BigWHat.pm file, and adding:

(at the end of the post-search routine, right before the last return:

($results->{'error'}) && ($results->{'bigwhat_results}) && (undef $results->{'error'});

That fixed _some_ of the issues... if you think about what that line does, you'll figure out what's going on in the plugin with the Links templates.



PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: BigWhat ... In reply to
Is there a working example of this plugin anywhere?

thx


Quote Reply
Re: BigWhat ... In reply to
Hi,

I threw it on the demo to see what was going wrong, and it seems to be working fine. You can try:

http://www.gossamer-threads.com/...tertainment&bw=1

To see how it looks. There are other options that allow you to integrate your results together that I'm looking into to see if that's what's causing the problems.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: BigWhat ... In reply to
The problems seem to be without the bw=1 parameter, trying to get it to show searches if no searches turn up, or "every time".


I just installed it on a "virgin" site. You still need to:

undef $results->{'error'};

in the post_search routine, otherwise, you hit the error template.


PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: BigWhat ... In reply to
Where exactly do you add the bw=1 into search.cgi. ?

Thanks
janx


Quote Reply
Re: BigWhat ... In reply to
placing

[input type="hidden" name="bw" value="1"]

replacing the [ with < and ] with >

inbetween the [form] and [/form] tags on the search page should do the trick.

Discuss webhosting at
The Webhost Area Forums!
http://www.webhostarea.com/forums/
Quote Reply
Re: BigWhat ... In reply to
Code:

<input type="hidden" name="bw" value="1">


Regards,

Eliot Lee
Quote Reply
Re: BigWhat ... In reply to
Thanks Michael... I thought I had to insert something in the search.cgi.

Thanks Again
Janx