Gossamer Forum
Home : Products : Links 2.0 : Customization :

Remote Rate it errors?

Quote Reply
Remote Rate it errors?
I forgot to mention that I am running LINKS 2 with Templates on WinNT 4.0 with IIS 4.0
the regular rate.cgi included with LINKS works fine...
---
Hi, I am using the remote rate-it script from from:
http://speculativevision.com/rateit/rateitmod.shtml

I am getting the following error when testing this ...

Code:
CGI ERROR
==========================================
Error Message : fatal error: Undefined subroutine &main::site_html_rating_form_success called at F:\Links\cgi-bin\ratehome.cgi line 124.

I searched through the forum, and unless I missed something, I can't find anything on this specific area...

I double checked the line of code in question, and it looks ok...
Code:
else {
open (HIT, ">$db_rates_path/$id") or &cgierr ("Can't increment counter file '$db_rates_path/$id'. Reason: $!");
print HIT "1 $rating\n$time\n$ENV{'REMOTE_ADDR'}";
close HIT;
&home_site_html_rating_form_success($id, $url, $title, $votes, $rating);

Any ideas?

Thanks!
Babalon


[This message has been edited by Babalon (edited April 20, 1999).]
Quote Reply
Re: Remote Rate it errors? In reply to
Ack!

I found it... there was a typo in the site_html_templates.pl file...

Ok, so who gets to slap me first? <lol>

Sorry Frown
babalon

[This message has been edited by Babalon (edited April 20, 1999).]
Quote Reply
Re: Remote Rate it errors? In reply to
(Gone looking for a 2 by 4) Wink