Gossamer Forum
Quote Reply
PLZ help Me
I am having some problem in runnin Links on Unix system
http://www.wcws.net/cgi-bin/links/admin.cgi

it was giving me the following error :-
<body LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" bgcolor="#FFFFFF"
link="#04ADFF" vlink="#666699" alink="#FF6600" BACKGROUND="http://www.wcws.net/images/wcwsbg.jpg"
text="#C0C0C0



[This message has been edited by sohaib (edited May 13, 2000).]
Quote Reply
Re: PLZ help Me In reply to
You gave the wrong URL...

It should be:

www.wcws.net/cgi-bin/links/admin/admin.cgi

Your problem is with not setting the complete absolute path to your files in the $db_script_path variable in the links.cfg file.

And the correct error message you should've posted is 404 Not Found.

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.




[This message has been edited by AnthroRules (edited May 13, 2000).]
Quote Reply
Re: PLZ help Me In reply to
The problem is in the links.cfg file...

Change the following line of codes:

Code:
# Referers -- which hosts are allowed to add to your database.
@db_referers = www.wcws.net;

to the following:

Code:
# Referers -- which hosts are allowed to add to your database.
@db_referers = ('www.wcws.net');

BTW: The @ stands for array meaning multiple values and you have to use the structure I gave you for the array to work!

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: PLZ help Me In reply to
now error have been change to something like

Error including libraries: syntax error at /usr/local/etc/httpd/vhosts/wcws.net/cgi-bin/SisQo/admin/links.cfg line 53, near "="

Make sure they exist, permissions are set properly, and paths are set correctly.
I am again posting my links.cfg to
www.wcws.net/links.cfg.txt
Quote Reply
Re: PLZ help Me In reply to
ok here is the add.cgi.txt

http://www.wcws.net/add.cgi.txt
Quote Reply
Re: PLZ help Me In reply to
hi,

now I am having those same problem after configuring links.cfg the error I am having is the following :-
=============================================
<body LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" bgcolor="#FFFFFF"
link="#04ADFF" vlink="#666699" alink="#FF6600" BACKGROUND="http://www.wcws.net/images/wcw
============================================
you can chk at
http://www.wcws.net/cgi-bin/SisqO/add.cgi
Quote Reply
Re: PLZ help Me In reply to
You are not posting the correct error message.

Quote:
<body LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" bgcolor="#FFFFFF"
link="#04ADFF" vlink="#666699" alink="#FF6600" BACKGROUND="http://www.wcws.net/images/wcw

This tells me nothing...it is like Charle Brown's teacher talking...wahhahahahahahah.

Gibberish...

Please stop posting HTML codes...Post the error message that appears like 404 Not Found or 505 Internal Server Error.

Thank you.

Again...same problem...you have not set the correct path to the links.cfg file in the require line.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: PLZ help Me In reply to
i did you check my links.cfg by
visiting www.wcws.net/links.cfg.txt

thank you
Quote Reply
Re: PLZ help Me In reply to
That is not the file I was referring to. I was referring to the require line of codes in the ADD.CGI, the file that you posted you were having problems with.

Another problem is with your the following variables:

Code:
$db_mail_path = 'sendmail';
$db_smtp_server = 'smtp.wcws.net';

You only need to set ONE variable...use EITHER sendmail or SMTP.

Change the above codes to the following:

Code:
# $db_mail_path = '';
$db_smtp_server = 'smtp.wcws.net';

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.