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

Build all error

Quote Reply
Build all error
When I try the build all link I get a page not found error. What can cause this and how do I fix it?
Quote Reply
Re: Build all error In reply to
correction: I get a cannot find server, the page cannot be displayed error.
Quote Reply
Re: Build all error In reply to
If your server does not allow NPH files to be executed via your web browser, then use the NPH FAQs in the Resource Center to fix your problems.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Build all error In reply to
Ok I fixed the previous problem. Here is what occurs when I use the build link now (I have tried both nph fixes from the resource center and I still get the following error):


Content-type: text/html Links Manager: Building Pages
Building Pages
Pages built on 20-Mar-2000 at 00:48:54
--------------------------------------------------------

Backing up database . . .
Backing up links, category and email database (File::Copy) ...
Done.

Building URL Index . . .
Done.

Updating New and Popular Records . . .
What's New Cutoff: 14 days
Popular Cutoff: 2 hits
Updating record: 3, marking as new.
Done.

Updating ratings ..
Done.

Loading Category Information . . .
Done.

Gathering Category and Link information . . .
Done

Building Home Pages . . .
Subcategories: 2
Total Links: 1
Opening page: /web/sites/079/darksouth/www.darksouth.f2s.com
/links/pages/index.html

CGI ERROR
==========================================
Error Message : unable to open home page: /web/sites/079/darksouth/www.darksouth.f2s.com
/links/pages/index.html. Reason: No such file or directory
Script Location : nph-build.cgi
Perl Version : 5.00404

Form Variables
-------------------------------------------

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /web/sites/079/darksouth/www.darksouth.f2s.com
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.darksouth.f2s.com
HTTP_REFERER : http://www.darksouth.f2s.com/cgi-bin/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING :
REMOTE_ADDR : 152.200.254.66
REMOTE_HOST : 98c8fe42.ipt.aol.com
REMOTE_PORT : 1852
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/nph-build.cgi
SCRIPT_FILENAME : /web/sites/079/darksouth/www.darksouth.f2s.com/cgi-bin/links/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/links/admin/nph-build.cgi
SERVER_ADDR : 194.106.56.66
SERVER_ADMIN : support@freedom2surf.net
SERVER_NAME : www.darksouth.f2s.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.9 (Unix)

Quote Reply
Re: Build all error In reply to
Uh...in the README file...Do you see the section about changing directory and file permissions???

You need to change the /links/pages/ directory to 777 (rwxrwxrwx).

And refer to the README file for other directories that you need to change permissions and also the files (like in the /admin/data/ directory).

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Build all error In reply to
I got that to work. Now my user cgi scripts return a 500 Internal Server Error. What can I do to fix that?
Quote Reply
Re: Build all error In reply to
Please search the forum more carefully...

*sigh*

Here are things to check for:

1) Make sure that the first line to the Perl path in the .cgi files is correct.

2) Make sure you have the correct ABSOLUTE path to the links.cfg file in each of your .cgi files.

3) Make sure that the .cgi files are set to 755 (rwxrwxrwx).

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums