Gossamer Forum
Home : Products : Gossamer Links : Discussions :

RATE IT / RATE.CGI

Quote Reply
RATE IT / RATE.CGI
I am getting a few errors with RATE.CGI

Unknown Tag Title seems to be creating this error. Anyone know the correct code and/ or template creating error?

Sorry, but we were unable to rate the Web Site for the following reason:

Sorry, but you seem to have already voted once before.



Please rate the link Unknown Tag: 'Title' between one and ten, with ten being tops

------------------------



Also on the Rate Success page there seems to also be an error...

Sorry, but we were unable to rate the Web Site / Gallery for the following reason:

Unknown Tag: 'error'

Thank you for your vote.

Any suggestions and your help appreciated.

Thanks

Crazy LennyWink
Quote Reply
Re: [Crazy Lenny] RATE IT / RATE.CGI In reply to
First,

you might want to start with a clean/fresh template set, to make sure you didn't make any changes.

Tags such as "error" need to be surrounded by <%if%> tags, since <%error%> will only have a value or be defined if it was set.

Also, try "title" (lower case) some templates use that, rather that "Title".

I did a major rewrite of the rate.cgi/etc system, and didn't have the problems you mentioned (or worked around them as above :)


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] RATE IT / RATE.CGI In reply to
Greetings, and thanks PuDog for answering my call for help :)

This is from the Rate Success template page.

previously as suggested, redid with clean rate template page + tried both upper /lower cast for Title & title.

also upgrade from 2.04 to 2.1.0



<TABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD>&nbsp;</TD></TR></TBODY></TABLE><!-- Content -->
<H2 align=center>Sorry, but we were unable to rate the Web Site / Gallery for
the following reason: </H2>
<H2 align=center><%error%> </H2>
<H2 align=center><FONT color=#ff0000>Thank you for your vote.</FONT></H2><!--

the above produces...

Rate a Resource: Success Sorry, but we were unable to rate the Web Site / Gallery for the following reason: Unknown Tag: 'error' Thank you for your vote.

Thankyou in advance for any input in this matter.


Quote Reply
Re: [Crazy Lenny] RATE IT / RATE.CGI In reply to
The <%error%> needs to be wrapped in an <%IF%>

<%if error%><%error%><%endif%>


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] RATE IT / RATE.CGI In reply to
Dear PugDog

BINGO!!!

Thank you for your assist and alerting me of the error of my ways.. What happened is a good example of what happens when we are sloppy in the way Blushwe handle the templates.

As you suggested, I made the correction, and that cleared up the problem, quick, fast and in a hurry.



Again, Thanks



CLSmile