Gossamer Forum
Home : Products : Links 2.0 : Discussions :

nph-build.cgi error

Quote Reply
nph-build.cgi error
I have add manually some links in links.db and now, when I Build All and Staggered, system write:

: fatal error: Illegal division by zero at /usr/home/www.chile.cl/cgi-bin/links/admin/nph-build.cgi line 432, chunk 1097.

Where is the problem? What other scripts I have to modified?

Quote Reply
Re: nph-build.cgi error In reply to
In Reply To:
add manually some links in links.db and now
Not very wise unless you are using a DB management program, like MS Access or Excel, and then export the file as a tab delimited file and saved as a text file (.db)...manually adding field values and delimiters in the links.db flat file is both inefficient and risky...most always leads to corruption.

Suggestion: Add the links via admin.cgi or add.cgi...start over with a clean backup of your links.db file.

Regards,

Eliot Lee
Quote Reply
Re: nph-build.cgi error In reply to
I have add new categories too. When I build Staggered Auto I have not problem. Do I must change categoryid.txt or linksid.txt?

Quote Reply
Re: nph-build.cgi error In reply to
Yes...you need to update both of the files!

Make sure that the number contained in the files is the last record number in links.db and categories.db.

Regards,

Eliot Lee