Gossamer Forum
Quote Reply
Bad_Link.cgi
Andy updated the plugin for me, and I've posted it to the downloads area (I found my access info).

It now should work with links version 2.1.0.

If anyone needs the older versions.... I'll have to email them to you til I can get them set up on my site.

If anyone knows of good download management software, let me know! I've looked a few times, and can't seem to find any that work simply, and effectively.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Bad_Link.cgi In reply to
Pugdog,

Thanks for updating the plugin, I have been waiting on this for really long.

[quote]If anyone knows of good download management software, let me know! I've looked a few times, and can't seem to find any that work simply, and effectively. [/quote]

I am not sure if this is what you are looking for - but why not try Download Accelerator - you can get it from download.com [and yeah, you can find many more other there :) ]... Hope this helps.


Vishal Thakkar

Vishal
-------------------------------------------------------
Quote Reply
Re: [pugdog] Bad_Link.cgi In reply to
Ouch -

I don't know if I am doing something wrong, or the plugin itself is having some error.

It is giving be below error
[code]
A fatal error has occured:

Can't call method "param" on an undefined value at bad_link.cgi line 39.

Please enable debugging in setup for more details.
[/code]

Vishal
-------------------------------------------------------
Quote Reply
Re: [TRPN] Bad_Link.cgi In reply to
Hmm I'm not actually sure what Andy updated but he missed one of the most important things :)

You need to add:

Links::init('/path/to/admin');

....into bad_link.cgi before main(); is called.

Last edited by:

Paul: Jun 22, 2002, 5:29 PM
Quote Reply
Re: [Paul] Bad_Link.cgi In reply to
Mmmm.I'm sure I did that Unsure

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Bad_Link.cgi In reply to
I'm going to be setting up some sites, and I'll be re examining the plugins over all.

I have a concrete idea of what I need to do, and get done, so I have a targeted direction, and defined parameters to work in.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [Paul] Bad_Link.cgi In reply to
Grrrrrr Pirate

What do I have to do to make this plugin working one?

My problem is

Links::init('/path/to/admin');

Where to put this piece of code?

Any help is VERY welcome Wink

Thanks
Quote Reply
Re: [Payooo] Bad_Link.cgi In reply to
You need to edit the part of 'path/to/admin' to be whatever you path to admin is. You can see that at the top of scripts like jump.cgi

I'll check the plugin, and see what's up. What might have happened is that the install.pm file was not updated, so in install the line of the code wasn't replaced. One of the bugs that happens between development and production versions :)


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Bad_Link.cgi In reply to
Ok,

I made a few changes, and have this running on my newest site.

I'm attaching it here, because I forgot the URL to the plugins area <sigh>. It's on my other machine.

I didn't change the version number, but this would be the 'a' release <G>

I updated the template to use the default Links set, rather than my customized one.

I can see some changes to make, such as adding the template to the "local" folder... and such, but at some other point.


[the file is now in the download area]


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.

Last edited by:

pugdog: Jun 29, 2002, 4:08 AM
Quote Reply
Re: [pugdog] Bad_Link.cgi In reply to
I've PMed you the URL ;) Hope you can remember you login stuff now Tongue

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [pugdog] Bad_Link.cgi In reply to
I'm still getting the error:

malformed header from script. Bad header=The ID was found, the rec is D: /home/mysite/public_html/cgi-bin/bad_link.cgi ...

I tried to play with it so I changed:

print "The ID was found, the rec is ", %$rec, "<br><BR>"; (bad_link.cgi - line 63) to

print "The ID was found, the rec is ", $rec, "<br><BR>";



That is the only time that % appears in front of $rec (I know that you perl gurus will laugh now Blush Wink )

It's working now!

Is this ok? (Safe)

Last edited by:

Payooo: Jun 29, 2002, 3:52 AM
Quote Reply
Re: [Andy] Bad_Link.cgi In reply to
Yeah.. thanks. The url wasn't in the history list here, but I do know my passwords.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [Payooo] Bad_Link.cgi In reply to
The error is due to the fact that no header is printed before the print line...add:

print $IN->header(); above it and it will work.
Quote Reply
Re: [Payooo] Bad_Link.cgi In reply to
Where are you seeing that?

That looks like debug code, not part of the script.

I just looked at the code, and I don't understand what was going on. That was debug code, but there was no debug around it, *AND* it doesn't give an error with MSIE 6+.

It's fixed now in the download area. Really bizare.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Bad_Link.cgi In reply to
>>>*AND* it doesn't give an error with MSIE 6+. <<<

Another one of M$'s great ideas Wink

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [pugdog] Bad_Link.cgi In reply to
In Reply To:
Where are you seeing that?

That looks like debug code, not part of the script.

I just looked at the code, and I don't understand what was going on. That was debug code, but there was no debug around it, *AND* it doesn't give an error with MSIE 6+.

It's fixed now in the download area. Really bizare.


Yup! Error logs and I'm using MSIE6 ...

It's working now, thanks for help and this very useful script.
Quote Reply
Re: [Andy] Bad_Link.cgi In reply to
Yes... hide errors so that everyone elses programs break...

Actually, I wonder if it's a problem in MSIE + ME combination, because I get a lot of weird things happening on my machine that runs that combination, which I don't see with MSIE and Win95/98


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Bad_Link.cgi In reply to
>>
Actually, I wonder if it's a problem in MSIE + ME combination
<<

It was a missing header before a print in your perl code, that's all Cool

Last edited by:

Paul: Jun 30, 2002, 2:14 AM
Quote Reply
Re: [Paul] Bad_Link.cgi In reply to
Yeah, buit the point is the browser didn't spew up an error, which the other browsers did. I would have thought the server would have picked it up though Unsure

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Bad_Link.cgi In reply to
Quote:
Yeah, buit the point is the browser didn't spew up an error, which the other browsers did. I would have thought the server would have picked it up though
That's what's so bizzare.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Bad_Link.cgi In reply to
Hi all,

I was just trying to install the new bad_links.cgi and when it runs I get the follwoing error message.Invalid Site HTML method: site_html_bad_link (bad_link.html). Most likely template does not exist in yahoo. at /home/virtual/site14/fst/var/www/cgi-bin/linkssql/admin/Links/SiteHTML.pm line 208.Does anyone have any suggestions for the fix? Many thanks.
Webmaster
http://www.e-bannerx.com
Quote Reply
Re: [fulcan] Bad_Link.cgi In reply to
Hi,

The bad_link.html file is only copied to the default template set. Not the system default, but the default set <G>

I'll fix that in the next update -- *BUT* if you use multiple template sets, you'll still have to copy the file to the other sets (there is no real way to know from if you are).

To fix it, just copy the bad_link.html file to that template directory (yahoo) from the (default) directory.

FWIW ... whenever you see that error message, it means the template is missing. Just find/copy/create that template, and the error will go away :) It happens a lot when you use dynamic sites, multiple template sets, or you do a backup and forget to put back all the templates.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.