Gossamer Forum
Home : Products : Gossamer Links : Pre Sales :

hits counts not incrementing

Quote Reply
hits counts not incrementing
I was trying to troubleshoot my setup of links2, the hits are not incrementing. When I went to Gossamer's example setup of links2 to see how it should work, I noticed that the hits don't seem to be incrementing there either (based on my visits to some of the links). Can someone give me some pointers on where to start?

Quote Reply
Re: hits counts not incrementing In reply to
The hits will not increment until the database is rebuilt (updated), which can be done manually whenever the operator wishes or on a scheduled basis. Since you asked about Links 2 (in the Links SQL forum), it isn't relevant, but I believe running Links SQL through page.cgi will dynamically update things like hits, ratings, and votes.

Dan

Quote Reply
Re: hits counts not incrementing In reply to
You can even rewrite jump.cgi to write directly to the databse. It's not hard at all. Just update "Links" instead of the "Build_Update" but keep track of the hits in the Hits_Track table.

You still really won't see "dynamic" updates of the counts unless you are using dynamic pages, since the pages are "static" built by template.

If you do that, you can have your pages such as "Cool" and "Ratings" update dynamically, while other pages lag behind a little.

http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/