Page 1 of 1

showing counts on website cant get it to work

Posted: Tue Aug 04, 2009 9:26 am
by vincenttor
Script URL:www.19division.nl/clickcounter/
Version of script:1.2
Hosting company:hosting2go.nl
URL of phpinfo.php:php is activated version 4.1 and 5 are accepted
URL of session_test.php:http://www.19division.nl/info/antennes/index.php
What terms did you try when SEARCHING for a solution:i have looked into the topic that has the same problem but could not get it working

Write your message below:

hello there. i wanted to use the script and i got the following errors
now i am nnot a php coder but i think i can not do many things wrong
the counter is working just fine if you check in the admin panel
it does count the clicks but now i want to display how many times something is clicked

i have tested the :

<script type="text/javascript">ccount_display('1')</script>

and the
<script language="Javascript">ccount_display('5')</script>

both didnt work and now i got all kinds of errors on my webpage
i want the count displayed into the tabel , but first i thought that was the error ,i have tested without adding it into the tabel and that still didnt worked
what have i done wrong ?

thanks

vincent

Posted: Fri Aug 07, 2009 8:42 am
by Klemen
There's an error in your clicks.txt file - a dot ( . ) at the beggining of the file. Not sure how it got there...

Download your clicks.txt file, delete the dot before the 1 (change .1 to 1), upload to your server again, refresh the page where you want to display clicks and it should work.

Posted: Fri Aug 07, 2009 12:11 pm
by vincenttor
thanks for the reply
i hope you enjoyed your holiday
indeed there was a . in the txt no idea why
but i have deleted it and refreshed the website a few times
cleaned my temp internet files and it still doesnt display the count
could i pm you my ftp info maybe that you have a look because i have no clue what ive done wrong
tested a few things but didnt do anything

grtz

vincent

Posted: Fri Aug 07, 2009 4:02 pm
by Klemen
On your antennas page you have 4 "w" in your URL:
http://wwww.19division.nl/clickcount/display.php

See "wwww", shloud be "www"

Posted: Fri Aug 07, 2009 4:25 pm
by DC
4 w's does not a url make :-) I think you have a ghost in the machine it puts in unxplained dots and extra w's :-)

DC

Posted: Fri Aug 07, 2009 6:34 pm
by vincenttor
thanks klemen, that suchs a little mistake could put things to 0
still busy @ making the credits page where i place ur banner on offcourse
thanks for helping and settiing the script for public use