Count Display Problem

Post your Click counter digestion problems here
Post Reply
picklesnort
Posts: 1
Joined: Fri Jun 09, 2006 1:19 am

Count Display Problem

Post by picklesnort »

Version of script: Version 1.1
Version of PHP: Latest I think
Hosting company: http://www.aurora-hosting.net / Plesk
Have you searched THIS FORUM for your problem: Yes
If so, what terms did you try:
- Display
- Display Problem
- Count Display

Write your message below:
Hello, I am trying to display the number of clicks to my affiliates on my website. However, the count number does not show up! Instead, all I have is a blank spot. The counting of the clicks does work...just not the display. You can see the page here:

http://www.kaidan.org/Ccount/affiliate.php

I have looked at other forum pages, and I've checked:
- No White Space in clicks.txt
- .txt documents CHMOD'd to 666
- Images sent over BINARY, others sent over ASCII
- No forced ads...except for the Google Adsense, but that should have no interference I think.

I'm really not sure what to do! Please help? :shock:
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

You have invalid Javscript syntax in throughout your HTML page that's why no Javascript is working correctly.

All your ccount display numbers are missing one quote, you have

Code: Select all

<script language="Javascript">ccount_display(1')</script>
but should be

Code: Select all

<script language="Javascript">ccount_display('1')</script>
Note I added a ' before 1. Correct this throughout he code and it should work.

Regards
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
ju1ie
Posts: 2
Joined: Mon Jun 19, 2006 10:42 pm

Post by ju1ie »

Klemen Stirn wrote:You have invalid Javscript syntax in throughout your HTML page that's why no Javascript is working correctly.

All your ccount display numbers are missing one quote, you have

Code: Select all

<script language="Javascript">ccount_display(1')</script>
but should be

Code: Select all

<script language="Javascript">ccount_display('1')</script>
Note I added a ' before 1. Correct this throughout he code and it should work.

Regards
I'm having the same problem, and I have the javascript code in correctly.
I'm trying to put it underneath the 'Register Here' link You can see it here: http://www.loveju1ie.com/journal/?page_id=18

PS. my journal is in a sub directory, and the counter folder is in my public_html (not where my journal is at). I hope that makes sense.

PS. do i need to have the script where the journal is located at?

I have read the readme a bunch of times, and i can't get the clicks to display. I have even searched the forum too. I hope someone in here can help.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

You are not even counting the clicks, you need to use proper URL code, see
viewtopic.php?t=728
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
Post Reply