Gossamer Forum
Home : Products : Links 2.0 : Customization :

malformed header from script

Quote Reply
malformed header from script
Hi all, I have just recently switched servers and installed my old copy of links 2.0. All works fine etc etc. Well so I thought. I got a system email from my admin saying my error log file is too large.

I went and checked it and its completely full of the same error log message.

Code:
[Fri Oct 4 02:20:31 2002] [error] [client 213.122.221.186] malformed header from script. Bad header=: /home/ultimate/public_html/cgi-bin/links/add.cgi

Now my add.cgi file works fine, emails are sent as they should, my send mail path is ok ('/usr/sbin/sendmail') and I have $db_iis set to 0.

Now I never had the facility to check error logs before on my old server, so I am unsure if this is a new problem or not.

I have searched the forums, but came up with very little, as said before the links 2.0 works ok, can't fault it, apart from this error log.

I have added over 40 files manually via add.cgi, I receive all emails and the links are showinging up in admin.cgi.

Is their a quick fix to this. As my server peeps are getting a tadge annoyed.
Quote Reply
Re: [stu2000] malformed header from script In reply to
Try the following:

1) Don't fill in required fields. (to see what happens in terms of the error page).

2) Try adding an invalid email address (invalid format)...again seeing the error page.

It might have something to do with the error page.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Stealth] malformed header from script In reply to
Eliot, thanx for that, it was my error page causing problems. I was getting an internal error message.

I re-installed links 2.0 orignal error template and tried again, all worked well. I have now re-done the modifications to error.html to match my site and no signs of any errors so far. -- touch wood --

I couldn't see what the problem was with the template, but well who cares, it works.

Thanx ONCE again Smile

Last edited by:

stu2000: Oct 3, 2002, 9:00 PM
Quote Reply
Re: [stu2000] malformed header from script In reply to
You're welcome.
========================================
Buh Bye!

Cheers,
Me