Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Help! CANT REMOVE HIT FILE

Quote Reply
Help! CANT REMOVE HIT FILE
Hi,

I've been having all sorts of problems with my link 2.0 database, and badly need help.
It is 3 weeks since I have been asking help without any success.

=========================
THIS IS MY LATEST PROBLEM WHILE BUILDING :

Updating record: 2530, marking as new.
Updating record: 2531, marking as new.
Updating record: 2532, marking as new.
Updating record: 2533, marking as new.

CGI ERROR
==========================================
Error Message : Can't remove hit file:
'/home/joe/cgi-bin/links/admin/data/hits/277'. Reason: No such file or directory

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

Let me brief you on my history, so that you will understand better.

1. I had close to 2000 links, when all permissions goes phut one day! [Reason: Front Page 2000 installed by my ISP].

2. Removed front page extensions - all permission back to normal, but while
building, I got the error : Links database 0 bytes. [ I saw a posting by someody who had a similar problem. It said that lack of server
space could be a problem.] I checked, and it was true. I had run out of space. So, I
upgraded my server space.

3. Now while building, I get the error :

Updating record: 2532, marking as new.
Updating record: 2533, marking as new.
Done.

Updating ratings ..
Updating rating to 4.00 for link id 27
Updating rating to 6.00 for link id 56

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

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


This is Line 432..

$values[$db_rating] = (($values[$db_rating] * $values[$db_votes])
These are the lines just below line 432..

+ $rating{$id}) /($values[$db_votes] + $votes{$id});
$values[$db_rating] = sprintf ("%.2f", $values[$db_rating]);
$values[$db_votes] = $values[$db_votes] + $votes{$id};

Also, my newsletter database [links 2.0] had around 300 email addresses, now there are just 10 [all new], all the old ones have
simply disappeared..

Can somebody please help? he Line 432 error has disappeared and now it's 'cant remove hit file' this week. Every week, there's something new. I have not updated my database in weeks.

Regds
Joe