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

How do I link my front index page with Links 2.0

Quote Reply
How do I link my front index page with Links 2.0
I am having trouble getting my "new, cool and home" pages working. I don't know what I am doing wrong. Anthorules tried to help but was breif and I did what he told me.

my links: "http://yosaid.netfirms.com/cgi-bin/links/cgi-bin/admin/admin.cgi

or .../cgi-bin/links/cgi-bin/search.cgi when you go to that page, please click on the link for email updates and from that page, click on the "new" or "cool" pages. They just don't go anywhere.
My links.css is at location

http://yosaid.netfirms.com/cgi-bin/links/pages/links.css

I appreciate for your devotion to Links 2.0.

Thank you
Quote Reply
Re: How do I link my front index page with Links 2.0 In reply to
As I stated to you before, you probably did not configure the $build_css_url variable correctly in your links.cfg file.

I was not being brief, I was being helpful.

Please do not add duplicate Topics in the Forums...simply add a Reply to your original Topic if the answer you received does not solve the problem.

Thank you.

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: How do I link my front index page with Links 2.0 In reply to
I know you are helping me...I did not mean it rude or anything... I just noticed you don't have alot of time to discuss these questions by everybody...so I was seeking bigger help. Now if you can help me....these are my parameters.

$build_css_url = $build_root_url . "/links.css"; # URL to your CSS file.


while....


$build_root_url = "http://yosaid.netfirms.com/cgi-bin/links/pages";

Now what am I doing wrong....

Thank you.
Quote Reply
Re: How do I link my front index page with Links 2.0 In reply to
And are you using the <%build_css_url%> tag in your template files for referencing the CSS file???

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: How do I link my front index page with Links 2.0 In reply to
I did not change anything from the templates...I did not do any editing...should I be doing that or what.

Thanks
Quote Reply
Re: How do I link my front index page with Links 2.0 In reply to
this is what I have in my "what new" template.

<head>
<title><%site_title%>: What's New</title>
<link rel=stylesheet href="<%build_root_url%>/links.css" type="text/css" title="<%site_title%> style sheet">
</head>


Thanks
Quote Reply
Re: How do I link my front index page with Links 2.0 In reply to
And do you have the links.css file uploaded in your $build_root_path directory???

Try changing the following line:

Code:
<link rel=stylesheet href="<%build_root_url%>/links.css" type="text/css" title="<%site_title%> style sheet">

to the following:

Code:
<link rel=stylesheet href="http://www.yourdomain.com/links/pages/links.css" type="text/css" title="<%site_title%> style sheet">

Best of luck!

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: How do I link my front index page with Links 2.0 In reply to
Hi...

I have my links.css file in the cgi-bin directory. I don't have it in the "www" directory. I also have my "pages" folder in the cgi-bin directory... Am I doing something wrong. Please help....I made your changes in the templates and still it says "server error on netscape" and "no index.html file" on explorer.

http://yosaid.netfirms.com/cgi-bin/links/cgi-bin/admin/admin.cgi

http://yosaid.netfirms.com/cgi-bin/links/cgi-bin/search.cgi

by the way, All my links 2.0 files are in the cgi-bin directory. I need to have my index file in the my "www" directory or what....

Thank you
Quote Reply
Re: How do I link my front index page with Links 2.0 In reply to
 
Quote:
I have my links.css file in the cgi-bin directory.

That is your problem. Either put the links.css file in the $build_root_path specified in the links.cfg (which BTW: should NOT be in your cgi-bin directory) -OR- change the configuration of your $build_css_url variable to point to the correct URL where your links.css file is located.

Best of luck!

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: How do I link my front index page with Links 2.0 In reply to
Hi...

I did what you told me of moving the "pages" files and putting them in my "www" directory rather than the cgi-bin one. I do have my index page appearing but it is not updated somehow. when I go to admin page and try to build pages, I get the error

"CGI ERROR
==========================================
Error Message : unable to open home page: /web/space/d02/sec/s08/U0000llD/index.html. Reason: Permission denied
Script Location : nph-build.cgi
Perl Version : 5.00503
"


I set the permissions also. I don't kwow whats going on...

Thank you for your constant help...
Quote Reply
Re: How do I link my front index page with Links 2.0 In reply to
The problem is with the permission of the "home page" file. Change the permission of your non-cgi-bin directory where you are building your pages to (drwxrwxrwx) AS MENTIONED in the README file.

Refer to the README file for other permission settings that you are most likely forgetting.

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.


Quote Reply
Re: How do I link my front index page with Links 2.0 In reply to
Hi..

Things got worse now...I am getting this error when I run admin.cgi.

Thanks!

Error including libraries: Can't locate /db.pl in @INC (@INC contains: /usr/lib/perl5/5.00503/i686-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i686-linux /usr/lib/perl5/site_perl/5.005 .) at admin.cgi line 29. Make sure they exist, permissions are set properly, and paths are set correctly.
Quote Reply
Re: How do I link my front index page with Links 2.0 In reply to
As mentioned MANY times in this forum, you need to have the COMPLETE ABSOLUTE PATH to your links.cfg file in the require line in the admin.cgi file?

Do you even use the forum's search engine?

If you search for "Can't locate db.pl", I betcha you will find relevant Topics that provide solutions.

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.