Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Illegal division by zero error at nph-build.cgi

Quote Reply
Illegal division by zero error at nph-build.cgi
Hi,

when I try to build links as usual, I keep getting following error and links outputs corrupt html file. What may be wrong?

CGI ERROR
==========================================
Error Message : fatal error: Illegal division by zero at nph-build.cgi line 432, line 346.

Script Location : nph-build.cgi
Perl Version : 5.006

Guvenc Kaplan

Quote Reply
Re: Illegal division by zero error at nph-build.cgi In reply to
Did you install any new mods since your last successful build?

Thomas
http://links.japanref.com
Quote Reply
Re: Illegal division by zero error at nph-build.cgi In reply to
Yes I did. Everyone of us install mods, don't we? Why should this affect my output? Everything was going well.

Quote Reply
Re: Illegal division by zero error at nph-build.cgi In reply to
Sorry, I just tried to help you. If we knew which mods you have installed, we could have tried to establish what went wrong. Anyhow, good luck to you.

Thomas
http://links.japanref.com
Quote Reply
Re: Illegal division by zero error at nph-build.cg In reply to
Based on the number of posts on this problem over the years on this forum I think there must be a real bug here somewhere... I suspect that some more error checking is needed or something like that...

A links install that I hadn't touched for 2 years just got this problem and I seem to have fixed it by deleting all the files in the data/rates/ directory. Don't ask me why that fixed it.

Chris

--
http://www.webarchitects.co.uk/
Quote Reply
Re: Illegal division by zero error at nph-build.cg In reply to
I had this problem too with my 2 years old search engine. I hadn't touched anything too, but my server suspended my account for a bandwich problem. After they turned it back, I had this illegal division by zero ecc ecc.
Thanks to your suggestion to delete the rates I resolved the problem. But I needed only to delete the files that had the file size of zero. So, I guess that was the problem. Some rates were empty and so the systerm couldn't write them. If you have this probelm too, please try to delete all the fiels that have the size of zero in the rates directory
--
Kagome
http://www.animegalaxy.com