Page 1 of 1

Count Display Problem

Posted: Fri Jun 09, 2006 1:36 am
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:

Posted: Fri Jun 09, 2006 2:31 pm
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

Posted: Mon Jun 19, 2006 10:48 pm
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.

Posted: Tue Jun 27, 2006 5:30 pm
by Klemen
You are not even counting the clicks, you need to use proper URL code, see
viewtopic.php?t=728