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

Building Pages Error

Quote Reply
Building Pages Error
I'm having problems building pages.
I'm not sure what the problem is, here is the error I got:

CGI ERROR
==========================================
Error Message : unable to open temp links database: /home/sglider/www/cgi-bin/links/admin/data/links.db.bak. Reason: Permission denied
Script Location : /home/sglider/sugarglider-www/cgi-bin/links/admin/nph-build.cgi
Perl Version : 5.00404

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

Environment Variables
-------------------------------------------
AUTH_TYPE : Basic
DOCUMENT_ROOT : /home/sglider/sugarglider-www
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_COOKIE : lastLogin=2451252.0252;
HTTP_HOST : sugarglider.net
HTTP_REFERER : http://sugarglider.net/cgi-bin/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.04 (Macintosh; I; PPC)
PATH : /usr/bin:/bin:/usr/local/bin
QUERY_STRING :
REMOTE_ADDR : 216.140.174.125
REMOTE_PORT : 2454
REMOTE_USER : sglider
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/nph-build.cgi
SCRIPT_FILENAME : /home/sglider/sugarglider-www/cgi-bin/links/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/links/admin/nph-build.cgi
SERVER_ADMIN : webmaster@sugarglider.net
SERVER_NAME : sugarglider.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.4 (Unix) FrontPage/3.0.4.2

Quote Reply
Re: Building Pages Error In reply to
sounds like your data directory is not chmod 777.

--mark
Quote Reply
Re: Building Pages Error In reply to
Okay, thanks that helped but I can't seem to get to any of the pages it built.
Quote Reply
Re: Building Pages Error In reply to
I finally got everything working, but after I tried to add more categories and build the page again I got this error. I don't understand, I was able to build my pages before and I didn't change anything.


CGI ERROR
==========================================
Error Message : Error building! Links database is 0 bytes!
Script Location : /home/sglider/sugarglider-www/cgi-bin/links/admin/nph-build.cgi
Perl Version : 5.00404

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

Environment Variables
-------------------------------------------
AUTH_TYPE : Basic
DOCUMENT_ROOT : /home/sglider/sugarglider-www
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : sugarglider.net
HTTP_REFERER : http://sugarglider.net/cgi-bin/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.04 (Macintosh; I; PPC)
PATH : /usr/local/mysql/bin:/usr/sbin:/sbin:/etc/local:/etc:/local/bin:/usr/bin:/bin
QUERY_STRING :
REMOTE_ADDR : 216.140.174.175
REMOTE_PORT : 2880
REMOTE_USER : sglider
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/nph-build.cgi
SCRIPT_FILENAME : /home/sglider/sugarglider-www/cgi-bin/links/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/links/admin/nph-build.cgi
SERVER_ADMIN : webmaster@sugarglider.net
SERVER_NAME : sugarglider.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.4 (Unix) FrontPage/3.0.4.2

Quote Reply
Re: Building Pages Error In reply to
According to the error message, you have no links in your database. Links v2 will not build the files without at least one link in the database.