Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Error, IF ELSE showing up

Quote Reply
Error, IF ELSE showing up
on my page www.ctps.com/links/pages

all the if and else show up.
whats up?

jEX
Quote Reply
Re: Error, IF ELSE showing up In reply to
Did you get it working? I don't see anything..

Cheers,

Alex
Quote Reply
Re: Error, IF ELSE showing up In reply to
No, it doesnt do it on the main page but on the categories... for example:

if meta_name endif endif
Top : CT Bands

CTPS Links: CT Bands

| Home | Add a Site | Modify a Site | What's New | What's Cool | Top Rated | Random Link | Search |
if category

Categories:

endif if links

Links:


* Conspiracy if Description - Crust punk/hardcore/metal... endif if isNew new endif if isPopular pop endif (Added: 12-Apr-1999 Hits: 0 Rating: Votes: ) Rate It




Thanks a lot,

Do you want me to do a coldfusion version of Links in exchange for a Perl CFX link checking tag?

Dustin Smith (jex)
Quote Reply
Re: Error, IF ELSE showing up In reply to
Also for search.cgi and add.cgi i get a "strip carrage" error?

Do you know what that means?


Thanks

JEX
Quote Reply
Re: Error, IF ELSE showing up In reply to
 
Code:
<%if meta_name%>
<%meta_name%>
<%endif%>

I think there is a missing "%" on that in the template.

Quote:
if category

Categories:

endif if links

That should be:

Quote:
<%if Category%>
Categories
<%endif%>
<%if links%>

Note that all of those are surrounded by "<%" "&>" pairs. The <%if ....%> and <%endif%> statements MUST be on lines by themselves.

You may need to fix others the same way.

I hope this helps.
Quote Reply
Re: Error, IF ELSE showing up In reply to
Strip carriage returns generally means that you didn't upload the .cgi or .pl files in ascii