ccount beavior when refreshing pages

Post your Click counter digestion problems here
Post Reply
animagifs
Posts: 2
Joined: Tue Sep 25, 2007 1:50 am

ccount beavior when refreshing pages

Post by animagifs »

Script URL: http://animagifs.110mb.com/ccount/
Version of script: 1.1
Hosting company: http://www.110mb.com
URL of phpinfo.php: http://animagifs.110mb.com/phpinfo.php
URL of session_test.php: http://animagifs.110mb.com/session_test.php


Hi,
I very like your script and I'm triyng to use it in my site. It works perfect, apart of a small problem.
I have my pages whit some images and every time I refresh the page it increases the counting number of some counters whitout clicking the images.
If you have time and want to have a look this is the adress:
http://animagifs.110mb.com/01_a_15_Dez_2006.html , and the next 3 pages.
I've read all the posts in this forum and also tried the (CCount_one_per_session), but whit this one it only counts one click per session and only for one image, even if I click a secound image in the same session it will not be counted.

Can you please help me if you have time?

Thanks in advance
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Not really sure why, probably has something to do with your Javascript. Also your HTML code is messy, you have <doctype and <head> several times throughout the file, should be only once per file.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
animagifs
Posts: 2
Joined: Tue Sep 25, 2007 1:50 am

Post by animagifs »

Hi!
I've checked the pages and fixed the HTML.
The problem still the same after that.

After a few experiments I've found that the problem is whit the tabs where I have the target content to be counted.

Moving the content out of the tabs your script works perfectlly.

Thanks.
[url=http://animagifs.110mb.com]Animagifs Club[/url]
Post Reply