Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Glinks3 -- Total Count --Static Mode

Quote Reply
Glinks3 -- Total Count --Static Mode
This had been reported in LinksSQL 2.X quite frequently.
Here i am on Glinks2.99.1 and have tried rebuilding in all combinations, repaired table deleted the index file rebuilt again but the count is still stuck on the old number... everything else on the home page gets updated but not this.

It shows up fine in dynamic mode.

Any clue?

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================
Quote Reply
Re: [HyperTherm] Glinks3 -- Total Count --Static Mode In reply to
Just letting you know this to works fine for me on GLinks 3.0.

Regards,
Peter Puglisi
www.ausfreedom.com
Ultimate Freedom is our game.
Quote Reply
Re: [rocco] Glinks3 -- Total Count --Static Mode In reply to
It works fine for me too 9/10 times i am just wondering how to get it to 10/10

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================
Quote Reply
Re: [HyperTherm] Glinks3 -- Total Count --Static Mode In reply to
grrr, the worst sort of bug, one that only happens some times. Any clue on how to duplicate it?

Adrian
Quote Reply
Re: [brewt] Glinks3 -- Total Count --Static Mode In reply to
I remember, that the repair function did not always work.
It uses some algorythm, which does check subcategories if there was a change in the link number.
If there was a delete and an add action, so the category number is not changed, then will not recount the numbers.

This is something I barely remember, but I think the bug should be something similar for the total count.
I don't have time to check the codes now, so that's all I can tell you at the moment.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [brewt] Glinks3 -- Total Count --Static Mode In reply to
Clueless right now.
If i do the build from ssh it's always fine ... it's only the http build that the inconsistency comes up. From http, it's also the last build time which gets stuck on "not the last build time" quite often.

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================

Last edited by:

HyperTherm: Apr 15, 2005, 7:09 AM
Quote Reply
Re: [HyperTherm] Glinks3 -- Total Count --Static Mode In reply to
Perhaps it's a mod_perl issue.

Adrian
Quote Reply
Re: [brewt] Glinks3 -- Total Count --Static Mode In reply to
hmm looks to be the case. i did a rebuild as under plain cgi mode and found that the last rebuild time was updating fine. Any suggestions to have it going under mod_perl?

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================
Quote Reply
Re: [HyperTherm] Glinks3 -- Total Count --Static Mode In reply to
Try editing nph-build.cgi, and add the following to the top of main():
Code:
# Reset the total so it's re-calculated for a build in persistent environments
$GRAND_TOTAL = undef;

Adrian
Quote Reply
Re: [brewt] Glinks3 -- Total Count --Static Mode In reply to
Hi.

ISE
Global symbol "$GRAND_TOTAL" requires explicit package name at

admin/nph-build.cgi line 34.\n

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================
Quote Reply
Re: [HyperTherm] Glinks3 -- Total Count --Static Mode In reply to
Oh, and add $GRAND_TOTAL to the use vars list

Adrian
Quote Reply
Re: [brewt] Glinks3 -- Total Count --Static Mode In reply to
Done. The last_build_time got updated correctly on three trial runs. More on links count when i have new one's added.

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================