Page 1 of 1

Problem with displaying number of downloads of links

Posted: Sat Dec 06, 2008 6:30 pm
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

Posted: Sat Dec 06, 2008 7:16 pm
by Klemen
One of the other scripts you are using (time.js) has some problems and is breaking all the Javascript...

Posted: Sat Dec 06, 2008 7:39 pm
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

Posted: Sun Dec 07, 2008 9:31 am
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

Posted: Sun Dec 07, 2008 1:04 pm
by yurijstanngrad
Thnx Henrie,

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

Groeten,

Mark