Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Cat/Subcat Change And Count Error

Quote Reply
Cat/Subcat Change And Count Error
Hi.

Admin changes the category before validating the link.
In this case after build all/build changed the original cat/subcat where the link was submitted has a count (-1) shown both in static as well as dynamic mode.

Repair Table throws no error.

Tried this multiple times and yet the above error does not go away.

Any solutions?

TIA
Anup
Quote Reply
Re: [anup123] Cat/Subcat Change And Count Error In reply to
In SSH, try;

Code:
perl nph-build.cgi --repair --force

... that should force it to manually repair the category count.

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Cat/Subcat Change And Count Error In reply to
Thanks Andy.

It did not work. The output of the command when run:

Started at Wed Jun 16 15:06:13 2004.
Building HTML Pages ...
Checking category stats ...
Done (0.26 s)
Resetting hits and rates ...
Done (0.02 s)
Checking for orphan links ...
Done (0.00 s)
Updating New Flags ...
Done (0.03 s)
Updating Changed Flags ...
Done (0.01 s)
Updating Cool Flags ...
Done (0.01 s)
All done. Total Time: (0.33 s)

Pretty much the same when run Repair Tables from admin.

Thanks
Anup
Quote Reply
Re: [anup123] Cat/Subcat Change And Count Error In reply to
Mmm.. it should work. Same as the details in this thread;

http://www.gossamer-threads.com/...i?post=217375#217375

Unsure

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Cat/Subcat Change And Count Error In reply to
Hi.

As suggested in the thread, i did the same from browser and everything got corrected. I am sure that this error would creep up again and again when the admin changes the category/subcat before validating a link. It had happened earlier and Repair Tables had worked.... this time it worked as per suggestions in the other thread but failed tp correct from ssh

Thanks
Anup