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

Build error: /links/pages/index.html not found

Quote Reply
Build error: /links/pages/index.html not found
Hi, everything seems to go fine when building the links, but I get the following error message in tge last line:

Building Home Pages . . .
Subcategories: 1
Total Links: 1
Opening page: /links/pages/index.html

CGI ERROR
==========================================
Error Message : unable to open home page: /links/pages/index.html. Reason: No such file or directory
Script Location : /path/to/my/host/public_html/links/admin/nph-build.cgi
Perl Version : 5.00503

I have put an empty index.html in the directory /links/pages why does it say no such file or directory???? Should it create an index-file automatically?


Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
Use the full path to your pages directory in links.cfg

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
Hello Paul, sorry for the confusion

My links.cfg file points to the correct destination, I only covered it up out of security reasons :) Any idea why it still cannot find the index.html file? I can open the file in my browser, very strange.

Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
You need to have index.html uploaded into your pages directory, and make sure it is CHMODed to 666. That should fix it! Also, you need to make sure that your pages folder is CHMODed to 777! Cool

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
Umm no you don't have to have index.html uploaded because nph-build.cgi builds it. (Did for me anyway).

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
For the second time use the full path in links.cfg.

I am not refering to.....

Script Location : /path/to/my/host/public_html/links/admin/nph-build.cgi


...but.....

Error Message : unable to open home page: /links/pages/index.html. Reason: No such file or directory

This should be showing the full path, indicating that you have not used the full path to the pages directory in links.cfg





Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
Doesn't on all servers, but it is best to as some servers require it to be there :)

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
To all who replied: thanks for helping me out

Paul>Thanks for the clarification (again) :)

Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
Was I right?

Have you fixed it?

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
Yes, it works perfectly. I am editing all the templates now
thnx Paul.

btw, I customized the index.html file, but every time it builds it replace it with the standard layout. Is there any way to stop LINKS from doing that?

Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
You need to customize home.html in the templates directory to change the layout of the built index.html file

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
Ok, works fine now

thnx

Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
Hoping someone can help me out here. Before I moved the data to the new server I just put one dummy link in to test the Build. I'm getting the same error as above. I've changed the permissions, tried both the full and relative paths to the file and still no dice. It starts to build then can't access the index file. Any clues?

Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
Yes read above.

If you ARE using the full path then you shouldn't have any problems.

What paths do you have?

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
I've tried the full paths two ways. I have multiple domains setup on one account - and I'm trying to build the links page for "agspy".

I've done it from the main account:
http://www.voyagetovictory.com/web/agspy/pages /index.html

And from the subdomain:
http://www.agspy.com/pages/index.html

I've also tried the path:
/home/sites/www.voyagetovictory.com/web/agspy/pages

And I still get this error:
CGI ERROR
==========================================
Error Message : unable to open home page: http://www.voyagetovictory.com/web/agspy/pages /index.html. Reason: No such file or directory
Script Location : /home/sites/site110/web/cgi-bin/admin/nph-build.cgi
Perl Version : 5.00503

Reading through the support forums I've noticed quite a few people who have had problems with Cobalt RAQ servers and links. If it makes a difference in this case the new server I'm trying to install it on is a Cobalt RAQ 4.


Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
Read the error it gives a BIG hint........

/home/sites/site110/web/

TRY : /home/sites/site110/web/pages (seeing as it asks for a PATH not a URL).

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
Thanks. Its working with these paths:

$build_root_path = "/home/sites/www.voyagetovictory.com/web/agspy/pages";
$build_root_url = "http://www.voyagetovictory.com/web/agspy/pages";

Strange thing is that I've tried these paths before.. Not sure exactly what I've changed then but as long as its working I don't care! cheers! :)



Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
Are you sure this is right?

$build_root_url = "http://www.voyagetovictory.com/agspy/pages";

I wouldn't have thoughy you need to include /web in the url.

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: Build error: /links/pages/index.html not found In reply to
Yup, as far as I can tell. I have a couple problems figuring out the templates but the build is running ok. I think it has something to do with how my host has the second domain setup. If I take out the /web I get CGI Wrap errors - file not found.