Gossamer Forum
Home : Products : Links 2.0 : Discussions :

I get a link.db file 0 error. does anyone know how to fix it

Quote Reply
I get a link.db file 0 error. does anyone know how to fix it
when I access the admin script, and when I click on build all, I get a error saying

CGI ERROR==========================================
Error Message : Error building! Links database is 0 bytes!
Script Location : /data1/hypermart.net/desibollywood/cgi-bin/links/admin/nph-build.cgi
Perl Version : 5.00404

Environment Variables-------------------------------------------
DOCUMENT_ROOT : /data1/hypermart.net/desibollywood
GATEWAY_INTERFACE : CGI/1.1HTTP_ACCEPT : application/msword, */*
HTTP_ACCEPT_LANGUAGE: en-usHTTP_HOST : www.desibollywood.com
HTTP_MAX_FORWARDS : 65535
HTTP_REFERER : http://www.desibollywood.com/cgi-bin/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 4.01; AOL 4.0; Windows 98; Compaq)
HTTP_VIA : 1.0 ra[ 1bca398] (Traffic-Server/1.1.7(8) [ 1])
PATH : /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
QUERY_STRING : REMOTE_ADDR : 152.163.188.1
REMOTE_HOST : 152.163.188.1REMOTE_PORT : 35110
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/nph-build.cgi
SCRIPT_FILENAME : /data1/hypermart.net/desibollywood/cgi-bin/links/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/links/admin/nph-build.cgi
SCRIPT_URI : http://www.desibollywood.com/cgi-bin/links/admin/nph-build.cgi
SCRIPT_URL : /cgi-bin/links/admin/nph-build.cgi
SERVER_ADMIN : webmaster@desibollywood.com
SERVER_NAME : www.desibollywood.comSERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0SERVER_SOFTWARE : Apache/1.2.4 FrontPage/3.0.3


What can I have done wrong, I dont know what to do. Can you guys help me out. Please, what did I do wrong.

Thank you if you know how to fix this please emaili me at patelrule@aol.com
Quote Reply
Re: I get a link.db file 0 error. does anyone know how to fix it In reply to
Links will not build the pages if there are no records in the links.db database. Note what the error message says: "Links database is 0 bytes!"

The error messages tell you what is wrong, in almost all cases. All you need to do is read what it says and correct the problem. That way, you don't have to write so many messages asking for help. It is when you cannot fix the problem according to the error message that you then ask for help.

I hope this helps.
Quote Reply
Re: I get a link.db file 0 error. does anyone know how to fix it In reply to
I know what the message says, but when I check my link.db file there is nothing in there, and when I even download the woal file, againe still there nothing in that file, and I keep geting the error.

Thank you
Quote Reply
Re: I get a link.db file 0 error. does anyone know how to fix it In reply to
If it is 0 bytes, then you need to add a link.