Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

500 error add results page

Quote Reply
500 error add results page
When someone goes to add a link they get a 500 server error. I went through many of the posts related to this and tried the fixes I could find but to no avail. Any help would be appreciated.Smile

CGI ERROR
==========================================
Error Message : Done
Script Location : admin.cgi
Perl Version : 5.006001

Form Variables
-------------------------------------------
display : body

Environment Variables
-------------------------------------------
AUTH_TYPE : Basic
DOCUMENT_ROOT : /www/freewebmaster
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.freewebmaster.com
HTTP_REFERER : http://www.freewebmaster.com/cgi-bin/links/admin/admin.cgi
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
PATH : /usr/local/bin:/usr/bin:/bin:/www/cgi-bin
QUERY_STRING : display=body
REMOTE_ADDR : 24.242.255.47
REMOTE_PORT : 3830
REMOTE_USER : slsgod
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/admin.cgi?display=body
SCRIPT_FILENAME : /www/freewebmaster/cgi-bin/links/admin/admin.cgi
SCRIPT_NAME : /cgi-bin/links/admin/admin.cgi
SERVER_ADDR : 66.221.79.61
SERVER_ADMIN : webmaster@freewebmaster.com
SERVER_NAME : www.freewebmaster.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.23 (Unix) PHP/4.1.2 FrontPage/5.0.2.2510
Quote Reply
Re: [slsgod] 500 error add results page In reply to
When you say 'add a link', do you mean after they submit the page, or just when they try to even call add.cgi? If the first one, then you may want to check your path to Sendmail, as this has done the same thing to me before.

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [slsgod] 500 error add results page In reply to
Its not an error, its debugging.
Quote Reply
Re: [slsgod] 500 error add results page In reply to
Not when you call add.cgi but when you hit submit. You get a 500 server error.

I know its debugging I thought it might help to provide since I cannot figure why the problem is occurring.

Here is path to sendmail

PATH of sendmail. # SMTP Server
$db_mail_path = '/usr/sbin/sendmail'; $db_smtp_server = '
Quote Reply
Re: [slsgod] 500 error add results page In reply to
Use:

$db_mail_path = "/usr/sbin/sendmail -t -i";

If that doesnt work use:

$db_mail_path = "| /usr/sbin/sendmail -t -i";
Quote Reply
Re: [Paul] 500 error add results page In reply to
# PATH of sendmail. # SMTP Server
$db_mail_path = '/usr/sbin/sendmail -t -i'; $db_smtp_server = '';

Fixed the 500 error, here is the error I got when I went into admin and validated



CGI ERROR
==========================================
Error Message : Unable to init mailer! Reeason: Sendmail was not defined or not found: /usr/sbin/sendmail -t
Script Location : admin.cgi
Perl Version : 5.006001



Here is output of perldiver for sendmail.

sendmail:
/usr/sbin/sendmail
/usr/lib/sendmail
/usr/share/man/man8/sendmail.8.gz


I tried both sbin and lib
Quote Reply
Re: [slsgod] 500 error add results page In reply to
Try the other one:

$db_mail_path = "| /usr/sbin/sendmail -t -i";
Quote Reply
Re: [Paul] 500 error add results page In reply to
I did I got the same thing...