Gossamer Forum
Quote Reply
Bad_Link Problem
I just installed the bad_link mod and recommend_it mod. The recommend it mod works fine. But with the bad_link mod I'm getting a HTTP 500 server error. I've looked in my error log and this is what it came up with:

[Sun Mar 31 05:47:35 2002] [error] [client] malformed header from script. Bad header=The ID was found, the rec is D: /usr/local/psa/home/vhosts/devbite.com/cgi-bin/links/cgi/bad_link.cgi

Has anyone got any ideas on what may be causing this?



Quote Reply
Re: [codex] Bad_Link Problem In reply to
Looks like it is missing a header.

You need to make sure it has print $IN->header() before any template is loaded.
Quote Reply
Re: [Paul] Bad_Link Problem In reply to
Thanks for the reply Paul.

I haven't needed to change anything in the bad_link.cgi script itself. Therefore as far as I know, there shouldn't be any problems. But I took at look at bad_link.cgi and the line: print $IN->header(); seems to be there.

I wasn't sure if you have any other ideas?

Thanks again
Quote Reply
Re: [codex] Bad_Link Problem In reply to


Just a quick drop in - I just remembered a thread about bad_link and print $IN->header();
Not quite the same but maybe it helps you in your further research Wink