Problem with displaying number of downloads of links

Post your Click counter digestion problems here
Post Reply
yurijstanngrad
Posts: 3
Joined: Wed Dec 03, 2008 8:59 pm

Problem with displaying number of downloads of links

Post by yurijstanngrad »

Script URL: http://www.yurijstanngrad.eu/downloadcounter (clicks.txt, display.php etc. all in this directory)
Version of script: 1.2
Hosting company: Antegonist
URL of phpinfo.php: - (php is working, other php items of the website are working fine)
URL of session_test.php: - (php is working, other php items of the website are working fine)
What terms did you try when SEARCHING for a solution:
I searched this form for known problems with ccount, I have checked the clicks.txt file and there was no empty line in it. I use version 1.2


Write your message below:
Since a couple of days the amount of clicks is not shown on the downloadpage (http://portfolio.yurijstanngrad.eu/html/download.html), under the header NOD. Except for the last few days the script worked fine and I did not change anything in the files of the counter. Furthermore display.php and clicks.txt both store valid values of the clicks (they are not corrupted). The admin panel does show valid values to and nothing seems strange.

Secondly I do not think that the total amount of clicks does exceed the capabilities of a text-base database (total 1304 cliks, 58 links).

I hope someone can help me out, because visitors of my site would like to see the number of downloads of particular links.

Any help would be greatly appreciated.

Regards,

Mark
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

One of the other scripts you are using (time.js) has some problems and is breaking all the Javascript...
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
yurijstanngrad
Posts: 3
Joined: Wed Dec 03, 2008 8:59 pm

Post by yurijstanngrad »

I've checked it and created a page without any javascript (http://portfolio.yurijstanngrad.eu/html/test.html). However, the numbers do not show up...

Regards,

Mark
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello Mark,

I have tested your testpage and noticed only a small error in your display link, but enough to break it.

You have

Code: Select all

<script type="Javascript">ccount_display('1')</script>
It should be

Code: Select all

<script type="text/javascript">ccount_display('1')</script>
You have to add text/ to the type
You can leave the capital J but for clean coding reasons, i would replace that also by a small j

Succes ermee.

Groeten,
Henrie
yurijstanngrad
Posts: 3
Joined: Wed Dec 03, 2008 8:59 pm

Post by yurijstanngrad »

Thnx Henrie,

pfft, what an error :P. I just missed it, thank you very much ;).

Groeten,

Mark
Post Reply