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

installation succesful except from one problem

Quote Reply
installation succesful except from one problem
Hello!

I was able to install the script succesfully and was able to build the pages however, when I did the editing of the templates the links of the menu on each page which is supposed to look as follows;

| Home | Add a Site | Modify a Site | What's New | What's Cool | Top Rated | Random Link | Search |



Now looks like this;

| http://www.phlinks.com">Home | http://www.phlinks.com/cgi-bin/links/add.cgi">Add a Resource | http://www.phlinks.com/cgi-bin/links/modify.cgi">Modify a Resource | http://www.phlinks.com/New">What's New | http://www.phlinks.com/Cool">What's Cool | http://www.phlinks.com/Ratings">Top Rated | http://www.phlinks.com/cgi-bin/links/subscribe.cgi">Email Updates | http://www.phlinks.com/cgi-bin/links/jump.cgi?ID=random">Random Link | http://www.phlinks.com/cgi-bin/links/search.cgi">Search |


As you can see, it's such a mess, and I don't know why this happened!


I've checked everything and can not find the problem. I thought the problem is in the link.cfg but I still can't find the problem. By the way, following is the partial content of the link.cfg.

# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/usr/local/apache/vhosts/phlinks.com/cgi-bin/links/admin";
$db_dir_url = "http://www.phlinks.com/cgi-bin/links/admin";

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/usr/local/apache/vhosts/phlinks.com/htdocs";
$build_root_url = "http://www.phlinks.com";

I hope someone could help me on this as I could not find a solution on this forum either... I tried several keywords but failed!

HELP!

Last edited by:

sushi: Jun 25, 2002, 12:32 PM
Quote Reply
Re: [sushi] installation succesful except from one problem In reply to
Ok, I have checked again and found out that there is something wrong with the template editor feature on admin.cgi.

The source which should be

[<a href="<%build_root_url%>">Home</a>]

For example, becomes

[<a href=><%build_root_url%>">Home</a>]

For some weird reason. As in, the " becomes a > when using the template editor, and that is the problem. Now, How do I fix this? Is this a bug? Or is it a problem on my installation procedure?

Please help!
Quote Reply
Re: [sushi] installation succesful except from one problem In reply to
I've never come across that problem before.

One thing you could do to remedy the problem without hacking the scripts is download copies of the template files from your server, edit the template files via an offline text editor (like notepad or wordpad or textpad or editplus), and then FTP the template files back to the TEMPLATES folder in your account.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Stealth] installation succesful except from one problem In reply to
Hello Stealth,

Thanks for your responce.

Ya I know it's kinda weird. I thought I could have done something wrong, but I could live with it editing offline no I'll do that for the mean time until I find a solution.

Thanks.