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

Re: add.cgi not working

Quote Reply
Re: add.cgi not working In reply to
Am still getting an error. Did add the whole path to the add.cgi file. This is the error now.CGI ERROR
==========================================
Error Message : fatal error: Compilation failed in require at F:\users\netbhara\www\vhost\ilaaj\www\htdocs\cgi-bin\links\add.cgi line 161.

Script Location : F:\users\netbhara\www\vhost\ilaaj\www\htdocs\cgi-bin\links\add.cgi

Line 161 is somewhere in this portion of the add.cgi script:
# Then mail it away!
require "$db_lib_path/Mailer.pm";
my $mailer = new Mailer ( { smtp => $db_smtp_server,
sendmail => $db_mail_path,
from => $from,
subject => $subject,
to => $to,
msg => $msg,
log => $db_mailer_log
} ) or return;
$mailer->send or return;

Mailer.pm was in the cgi-bin/links/admin directory. I tried adding mailer.pm to the cgi-bin/links directory with no luck. I am wondering if I am doing something wrong the way I am entering the info about my smtp server in links.cfg. I entered 'smtp.mydomain.com' where mydomain is the name of my domain.

Thanks.




Subject Author Views Date
Thread add.cgi not working dinesh 5330 Mar 3, 2000, 4:22 PM
Post Re: add.cgi not working
Stealth 5227 Mar 6, 2000, 10:40 AM
Post Re: add.cgi not working
dinesh 5235 Mar 11, 2000, 5:34 PM
Post Re: add.cgi not working
Stealth 5218 Mar 11, 2000, 6:01 PM
Post Re: add.cgi not working
dinesh 5217 Mar 11, 2000, 6:24 PM
Post Re: add.cgi not working
Stealth 5232 Mar 11, 2000, 6:32 PM
Post Re: add.cgi not working
dinesh 5222 Mar 12, 2000, 3:21 AM
Post Re: add.cgi not working
Stealth 5221 Mar 12, 2000, 8:52 AM
Post Re: add.cgi not working
dinesh 5220 Mar 12, 2000, 9:05 AM