Gossamer Forum
Home : Products : Links 2.0 : Discussions :

add.cgi - Crisis (take 2)

Quote Reply
add.cgi - Crisis (take 2)
I am having a crisis with the add.cgi and modify.cgi scripts. It basically close to the error mentioned on your CGI Scripts FAQ "Why am I getting an Internal Server Error 500 with add.cgi"

Only in this case it is not a 500 but a straight "Internal Server Error". The add.cgi works fine at first, the form comes up ready for me to add details, but when I click on Send, it gives the error. You have no idea how long I have spend checking, double checking, triple checking the sendmail path and my e-mail address, but I still keep getting it.

The Validate.db file DOES show the entry, so something is working...

# Email Options
# --------------------------------------------------------
# NOTE: Be sure to edit the text of the message. It can be found
# in the templates directory: email-add.txt, email-del.txt and
# email-mod.txt respectively.

# Set only ONE of either $db_mail_path which should go to a
# mail program like sendmail, or $db_smtp_server which will use
# a SMTP server. Do not set both at once!


# PATH of sendmail. # SMTP Server

$db_mail_path = "/usr/lib/sendmail";

# $db_smtp_server = '';

# Email address of the administrator. BE SURE TO SET!

$db_admin_email = "dbhudia\@yahoo.com";

# Notify visitors automatically when their links are validated?
$db_email_add = 1;

# Notify visitors automatically when their links are modified?
$db_email_modify = 1;

# Log all outgoing messages? Put the full path to a logfile and make sure it
# exists and is writeable (chmod 666 -rw-rw-rw-). This logfile can get pretty
# big!
$db_mailer_log = '';

here is a seg from my formmail script to show that sendmail path is correct

----------------------
# This should match the mail program on your system.
$mailprog = '/usr/lib/sendmail';
# This should be set to the username or alias that runs your
# WWW server.
$recipient = 'dbhudia@yahoo.com';
---------------------

So what else is going wrong ? Oh yes the file is certainy 755 perission.

try for yourself

http://cgi.www.samaj.com/cgi-bin/www.samaj.com/links/add.cgi

Please help... i'm loosing it now
Subject Author Views Date
Thread add.cgi - Crisis (take 2) Narf 3408 Jan 2, 2000, 10:10 AM
Post Re: add.cgi - Crisis (take 2)
herbalife 3291 Jan 2, 2000, 7:37 PM
Post Re: add.cgi - Crisis (take 2)
Eliot 3388 Jan 2, 2000, 7:40 PM
Post Re: add.cgi - Crisis (take 2)
Narf 3350 Jan 3, 2000, 10:23 AM
Post Re: add.cgi - Crisis (take 2)
Eliot 3384 Jan 3, 2000, 4:11 PM
Post Re: add.cgi - Crisis (take 2)
Bmxer 3386 Jan 4, 2000, 1:41 AM
Post Re: add.cgi - Crisis (take 2)
Narf 3362 Jan 4, 2000, 7:24 AM
Post Re: add.cgi - Crisis (take 2)
Bmxer 3359 Jan 4, 2000, 11:55 AM
Post Re: add.cgi - Crisis (take 2)
Eliot 3361 Jan 4, 2000, 1:23 PM
Post Re: add.cgi - Crisis (take 2)
Narf 3402 Jan 5, 2000, 2:39 AM
Post Re: add.cgi - Crisis (take 2)
Karen 3398 Jan 5, 2000, 12:20 PM
Post Re: add.cgi - Crisis (take 2)
Craig A 3369 Jan 10, 2000, 7:26 AM