Page 1 of 1

Count not shown on html page

Posted: Thu Aug 11, 2005 2:16 am
by Adri
Script URL: http:///www.facilitytalents.nl/clickcount/klik.html
Version of script: 1.1
Version of PHP: ??
Hosting company: http://www.qball.nl
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: Read the all

Write your message below:

Everything is working fine except the show the count link on a page.

Test page looks like this

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>klik</TITLE>
<META NAME="Author" CONTENT="© 2001 by Amazing Prosites">
<META NAME="Generator" CONTENT="NetObjects Fusion 5.0.2 for Windows">
<script language="Javascript" src="http://www.facilitytalents.nl/clickcount/display.php">
<!--
//-->
</script>

</HEAD>
<BODY>

Banner had been clicked <script language="Javascript">ccount_display('1')</script> times


</BODY>
</HTML>

The page that uses the count script is on
http://www.facilitytalents.nl/concept/index.html

Greetings

Adri

Posted: Thu Aug 11, 2005 9:52 am
by Klemen
Hi,

Have you been manually editing the clicks.txt file? Seems like you have an empty line at the top of the file which creates an empty variable in the Javascript code.

Try deleting the clicks.txt file, uploading an empty one and try again.

Regards

Posted: Thu Aug 11, 2005 11:21 am
by Adri
Hi Klemen,

No i didn't edit the clicks.txt file.

But there was a empty line ine the file, i removed it and everything is ok now.

Thanks for your quick response.
Keep up the good work

Posted: Sun Sep 04, 2005 1:51 pm
by Guest
same problem here.

but i have no empty line?

Posted: Sun Sep 04, 2005 2:02 pm
by Guest

Posted: Mon Sep 05, 2005 2:47 pm
by Klemen
You are missing this code in your HEAD (between <head> and </head> tags):

<script language="Javascript" src="http://www.domain.com/ccount/display.php">
<!--
//-->
</script>


Regards

Posted: Tue Sep 06, 2005 1:58 pm
by Guest
thank you, thank you, thank you.

I Like your skript sooo much :-) *happy**dance* ;)

Total downloads are visible, but they have gone NUTS!

Posted: Mon Nov 28, 2005 12:27 pm
by Leprakawn
I downloaded everything and uploaded it to my site, and I adjusted all of my download links with the proper code. I refreshed my page and was stunned to see that everything had been hit, a few of them in the thirties!

I tried it myself, but it didn't increase after I clicked on it. Do you mind taking a look and seeing what I did wrong?

Thanks! Image

Image

Posted: Mon Nov 28, 2005 12:28 pm
by Guest
Oh yeah... URL might be nice, huh? Image

http://www.reaganator.com > Enter > Misc > Downloads

Posted: Mon Nov 28, 2005 12:34 pm
by Guest
Okay, okay... ONE LAST NOTE!!! For some reason ID as "1" is showing a total download of: Undefined, yet the file can be downloaded. Any idea what's up with that?

Posted: Mon Nov 28, 2005 6:51 pm
by Klemen
Hi,

There is no link with ID 1 in your clicks.txt file and also shouldn't show up in the admin panel? You should check that.

Posted: Mon Nov 28, 2005 7:01 pm
by Leprakawn
From clicks.txt:
1%%2005/11/28%%http://www.reaganator.com/downloads/Lep - fancy.abr%%6%%PS - Fancy
From admin.php:
1 6 2005/11/28 PS - Fancy

But I'm still confused as to why the counter isn't counting my files. :?

Posted: Mon Nov 28, 2005 7:09 pm
by Guest
Oops, I think I figured out why it's not counting mine poperly...

YEP!! Nevermind, I got it working! Thanks for the free code. It's the bomb! Image