Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Can't Add a resource.

Quote Reply
Can't Add a resource.
I can't add a url. It seems the add.pl file is missing. I can't find it on my system at all. I don't think it was included in the zip file I downloaded. Would someone be so kind to tell me where I can get this file? My site is located at http://www.freewarepalace.com/links/pages.

Thanks
Ellis W.

------------------
Ellis W.
Quote Reply
Re: Can't Add a resource. In reply to
Uh...Did you click on the Add a Site link???? There it is!

http://freewarepalace.com/cgi-bin/links/add.cgi

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Can't Add a resource. In reply to
Yes I know the add.cgi works. The problem is that when I click on add and fill in the form to add a link, then click add it brings up a blank page and says add.pl not found. So then I searched for the add.pl file, and there is none. I'm baffled. I downloaded the file again to look for the add.pl and there wasn't one.

Ellis W.
Quote Reply
Re: Can't Add a resource. In reply to
Well, then your original posting was quite confusing to say the least. You mentioned that you could not find the add.pl file. So, I pointed out that it is, indeed, there!

Anyway, here is one problem:

1) Change the following codes:

Code:
INPUT type="SUBMIT" value="Add Resource" name="SUBMIT">

to the following:

Code:
INPUT type="SUBMIT" value="Add Resource" name="process_form">

2) Make sure that you have the correct email settings set in your links.cfg file. Make sure that you have EITHER sendmail OR SMTP configured properly, NOT both.

3) You also have to change the following codes:

Code:
<FORM action="http://freewarepalace.com/cgi-bin/links/add.pl" method="POST">

TO THE FOLLOWING:

Code:
<FORM action="http://freewarepalace.com/cgi-bin/links/add.cgi" method="POST">

You have the wrong extension for the add.cgi file in the FORM codes in your add.html and probably in your add_error.html template files.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Can't Add a resource. In reply to
Thank you very much. I'm sorry if my post was confusing, but I'm very new to this cgi stuff. I think this is a great script and am having a great time working with it and learning alot at the same time. Thanks again for you help.

Ellis W.
Quote Reply
Re: Can't Add a resource. In reply to
You're welcome...BTW: The language that is mostly discussed and used in the scripts is Perl, which is the foundation of cgi programming/scripting.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------