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

Can't Get Add a Site, Modify a Site, Random Link, Search

Quote Reply
Can't Get Add a Site, Modify a Site, Random Link, Search
I finally got the admin page up and functional and managed to build a fledgling link page! I added categories and links they were built okay after much struggling with a couple of errors and searching the forums here over and over. Finding the right paths to put in the links.cfg file seems like the hardest thing to figure out. I am so happy I got this far, though! It took some doing...

But on the links page itself, some functions are working while others are not. What's not working is the Add a Site, Modify a Site, Random Link, and Search functions. I've been searching and searching the forum here again, but still don't know how to fix this. My paths in the links.cfg file are:

# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/htdocs/users/snelson/snelson/interactive-poker.com/cgi-bin/friends/admin";
$db_dir_url = "http://www.interactive-poker.com/cgi-bin/friends/admin";

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/htdocs/users/snelson/snelson/interactive-poker.com/html/friends/pages";
$build_root_url = "http://www.interactive-poker.com/friends/pages";


Does anyone have a clue as to what I might need to change in this file? BTW. I am using prohosters (recently aquired by Carpathia) in case anyone is familiar with their setup and can help find the right settings.

Also, As you can see, I named the links file "friends" instead, because I believe Google frowns on pages using the word "link". Does this mean there are other parts of the code I will have to change to reflect this?

Any help would be VERY MUCH APPRECIATED! I hope I won't have to give up after getting this far.

Kess
Quote Reply
Re: [Kess] Can't Get Add a Site, Modify a Site, Random Link, Search In reply to
Did you put all the non-working cgi's in the friends directory? If so, change this:

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.interactive-poker.com/cgi-bin/friends";


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] Can't Get Add a Site, Modify a Site, Random Link, Search In reply to
Thanks, Leonard, I haven't looked at that yet, but I think I might have fixed it!

I changed the code from:

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = http://www.interactive-poker.com/cgi-bin;

to

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.interactive-poker.com/cgi-bin/friends";

ps - just reread your post - yes you were right - we found it at the same time - thanks for the input!!!!

Last edited by:

Kess: Jul 22, 2004, 8:20 PM