Gossamer Forum
Home : Products : Links 2.0 : Customization :

Linkdead 2 problem

(Page 1 of 2)
> >
Quote Reply
Linkdead 2 problem
I installed everything, but when linkdead.cgi is accessed through the site, an error occurs as follows:



Unkown Tag: Name



Any ideas?


Thanks,

Collin

Quote Reply
Re: Linkdead 2 problem In reply to
Yeah in the template <%Name%> should be:

<%Contact Name%>

Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: Linkdead 2 problem In reply to
I have the same problem!
Sorry where i can find <%Name%> ?
inside which file?

regards

Quote Reply
Re: Linkdead 2 problem In reply to
Someone can help me?
please

Quote Reply
Re: Linkdead 2 problem In reply to
Sorry
i have find <%name%> in my linkdead_add.html
i have change it in <%Contact Name%> but i get always the same error

what's wrong?


Quote Reply
Re: Linkdead 2 problem In reply to
Nobody have a solution on my problem???

bye

Quote Reply
Re: Linkdead 2 problem In reply to
In the sub in site_html_templates.pl that loads the linkdead_add.html template, add

%rec,

Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com

Quote Reply
Re: Linkdead 2 problem In reply to
i am sorry but i already have %rec on it :(

sub site_html_add_linkdead {
# --------------------------------------------------------
# This routine determines how the deadlink comment page looks like.
&html_print_headers();
print &load_template ('linkdead_add.html', {
%rec,
%globals
});
}

What i can do now?

Quote Reply
Re: Linkdead 2 problem In reply to
No solution on my problem?

Quote Reply
Re: Linkdead 2 problem In reply to
At th top of that sub try adding:

my (%rec) = @_;

Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com

Quote Reply
Re: Linkdead 2 problem In reply to
Nothing to do!
i get always the same error: Unkown Tag: Name

Quote Reply
Re: Linkdead 2 problem In reply to
Err......about 10 posts up Glennu said to use <%Contact Name%>

Did you not READ that?

Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com

Quote Reply
Re: Linkdead 2 problem In reply to
My previous post in this message:

Sorry
i have find <%name%> in my linkdead_add.html
i have change it in <%Contact Name%> but i get always the same error

Quote Reply
Re: Linkdead 2 problem In reply to
Yes but you JUST SAID:

i get always the same error: Unkown Tag: Name

Thats ISNT the same as:

i get always the same error: Unkown Tag: Contact Name

Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com

Quote Reply
Re: Linkdead 2 problem In reply to
Yes you are right bcs i get also now Unkown Tag: Name and not contact name, so i think that i must change this <%Name%> also on other files but i have only change and find it on linkdead_add.html, what other place i can see for it?

Thank you

Quote Reply
Re: Linkdead 2 problem In reply to
Wherever you get the error is where you need to remove the tag from!!

Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com

Quote Reply
Re: Linkdead 2 problem In reply to
I am sorry but i can't undestand, i am talking only of likdead2 and i have add it only on link.html of links 2.0 templates, so what i must do? can u be more exactly

sorry

Quote Reply
Re: Linkdead 2 problem In reply to
I can't be any clearer.

WHERE is the error occuring? BE EXACT!

Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com

Quote Reply
Re: Linkdead 2 problem In reply to
i have add this tag <%db_cgi_url%>/linkdead.cgi?ID=<%ID%> on link.html (this is the template of links 2) so now when i try to click on <%db_cgi_url%>/linkdead.cgi?ID=<%ID%> to report a dead link i get Unkown Tag: Name.
You can check all yourself if visit my page:
http://www.linkzone.it/Arte_e_Cultura/
Tru to click on the image to report dead link

I remember to you that i have change in linkdead_add.html the tag <%Name%> in <%Contact Name%>

Many thanks

Quote Reply
Re: Linkdead 2 problem In reply to
Well you have EITHER :

Not renamed the Name tag to Contact Name properly

-OR-

You have another Name tag in the template that shouldn't be there

-OR-

You are editing the wrong template.

A possible solution may be to add:

Name => $name,

..in that sub above. That would get rid of the error but as I've not used the mod then I assume that $name is the wrong variable name but that won't matter for the moment if you are using Contact Name anyway.

As a side-point, none of your category names show up as they are the same color as the background (white).

Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com

Quote Reply
Re: Linkdead 2 problem In reply to
I have add Name => $name, and seem to work, but now i have a new error whenr i want submit the broken link ,adding a comment
CGI ERROR
==========================================
Error Message : fatal error: Template: Can't find template: /usr/local/plesk/apache/vhosts/linkzone.it/cgi-bin/links/admin/templates/linkdead_success.html at /usr/local/plesk/apache/vhosts/linkzone.it/cgi-bin/links/admin/Template.pm line 41.

Script Location : linkdead2.cgi
Perl Version : 5.006


Sorry what you mean whit this?
As a side-point, none of your category names show up as they are the same color as the background (white).


Quote Reply
Re: Linkdead 2 problem In reply to
It sound like you haven't installed the mod properly at all. That error means you are missing the template mentioned from the templates directory.


In Reply To:
Sorry what you mean whit this?
As a side-point, none of your category names show up as they are the same color as the background (white).
I mean that at the URL you gave me, NONE of the category names show up because they are white which is the same color as the background.


Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com

Quote Reply
Re: Linkdead 2 problem In reply to
The template is present in the directory of the server :(!!

I think that i can't use linkdead :(((

Btw: about my white directory on http://www.linkzone.it/Arte_e_Cultura/
is really strange that u see it white, bcs it are black , and on mouse over is grey
what browser do u use?
any idea fpr linkdead? :(

sorry if i broke u, thanks

Quote Reply
Re: Linkdead 2 problem In reply to
Netscape 4.76

Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com

Quote Reply
Re: Linkdead 2 problem In reply to
Ah ok yes you are right, i have try it with netscape and my css dosn't work:(( i will fix many thanks for this

If u will have a idea on my problem pls answer me asap

i really need to finish this work on monday

regards

> >