Gossamer Forum
Home : Products : Links 2.0 : Customization :

Please Help!

Quote Reply
Please Help!
All of a sudden my add.cgi stopped working! I've tried everything i can from deleting it, re-uploading it, re-chmodding it, etc...
and i still get the same error:
=======================================
malformed header from script. Bad header=nobody... Recipient names must
=======================================
Thats all it says in my error log. And the weird thing is that when someone goes to add a link and they fill-out the form and hit submit they get a internal server error, but the link was sent in to be validated. So i'm assuming there's somthing wrong with the script after it's done sending the link to the validate.db ... Anyone ever had the same problem?
If anyone would like to look at the add.cgi i'll post a link to a txt ver.

Thanks,
Jacob
http://www.123webmaster.com
Quote Reply
Re: Please Help! In reply to
mine does it once and while. but yours looks like a bad prob. not sure what to tell you yet!
Quote Reply
Re: Please Help! In reply to
Problem is because they entered in an invalid email address. The script just checks to make sure the email looks ok, but if sendmail says it's bad it kicks up an error.

This has been fixed in 2.0. To fix in 1.1, just change in add.cgi (around line 107):

# Send the visitor to the success page.
&site_html_add_success;
# Send the admin an email message notifying of new addition.
&send_email;

I've just switched the order around so that the html page is displayed first, then the email is sent, so if there is an error, it won't produce a 500 server error.

Cheers,

Alex