Gossamer Forum
Home : Products : Links 2.0 : Discussions :

ADD.CGI problem

Quote Reply
ADD.CGI problem
Hello,
What's wrong with the add.cgi ?

This is my error message :

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@studiojb.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

I have checked all the CHMOD and all seem to be correct. 755 for the CGI, 666 for the templates files.

Sendmail is configured in links.cfg like this :
$db_mail_path = '/usr/sbin/sendmail';

i log the outgoing messages in :
$db_mailer_log = '/www/studiojb/futsal/links2/mail/mail.log';
with the chmod 666

What's the matter ? Thanks to help me
JB


Quote Reply
Re: ADD.CGI problem In reply to
An internal server error can be caused by a million things so unfortunately I/we can't give you an answer.

Your best bet it to check your error log or search for *add.cgi internal server error*.

Installations:http://www.wiredon.net/gt/

Quote Reply
Re: ADD.CGI problem In reply to
ok Paul, i just spend my time to find informations about add.cgi internal server error and i'm very hungry because there's to much avorted discussion about this.
So, i try the mod for RAQ 4 without success, then check all the CHMOD for the X time. I don't undestand why the add.cgi give me this stupid error. All the other cgi works find, like the admin section. I've changed the add.cgi by the older on the zip file, and it's the same result. What can i make with this? Can you explain me what append exactly when you submit the data with the add.cgi? What type of file will be update and how tested the script? When i leave blank the form and send the data, the script say me that i must feel the blank fields.This tell me that the problem come from an other thing…
thanks to help, if you can

PS: i use the links manager for a Futsal association (five a side) and i have'nt money to spend for an installation right now. Regards - JB

Quote Reply
Re: ADD.CGI problem In reply to
It is most likely related to either your sendmail path or your admin email address.

Check your error log.

Installations:http://www.wiredon.net/gt/

Quote Reply
Re: ADD.CGI problem In reply to
ok let's go,
i'm not a CGI technical specialist, this is the reason to give you a short listing of the config file in the email options part:

# 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/sbin/sendmail'; $db_smtp_server = '';

# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'jb@studiojb.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 = '/www/studiojb/futsal/links2/mail/mail.log';

All the email*.txt are in chmod 666 like all the file in the templates directory. It's the same with the mail.log

To finish with the config file this is the listing of the path and database options :

# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/www/studiojb/cgi-bin/futsal/links2/admin";
$db_dir_url = "http://www.studiojb.com/cgi-bin/futsal/links2/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.studiojb.com/cgi-bin/futsal/links2";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/www/studiojb/futsal/links2/pages";
$build_root_url = "http://www.studiojb.com/futsal/links2/pages";

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "/www/studiojb/futsal/links2/pages/new";
$build_new_url = "http://www.studiojb.com/futsal/links2/pages/new";

# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "/www/studiojb/futsal/links2/pages/cool";
$build_cool_url = "http://www.studiojb.com/futsal/links2/pages/cool";

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "/www/studiojb/futsal/links2/pages/votes";
$build_ratings_url = "http://www.studiojb.com/futsal/links2/pages/votes";

# Database Options
# --------------------------------------------------------
# You really need to use flock(). However if your system doesn't support it (Win95),
# then turn this off at your own risk!
$db_use_flock = 1;
# Use Pragma: no-cache to stop browsers from caching output? (0 = cache, 1 = nocache)
$db_nocache = 1;
# Use IIS headers? Set this to 1 if your web server needs the full headers (HTTP/1.0 etc.)
$db_iis = 0;
# Field number of category in category.db
$db_main_category = 1;
# Referers -- which hosts are allowed to add to your database.
@db_referers = ('studiojb.com','futsal.asso.fr');

Can you say me if there's something wrong ?

Quote Reply
Re: ADD.CGI problem In reply to
Simple stuff first.

1) Is the location to Perl correct?

2) Have you CHMODed it to 755?

3) Do any of the other scripts work???

Andy

webmaster@ace-installer.com
http://www.ace-installer.com