Page 1 of 1

JavaScript error on page load

Posted: Thu May 25, 2006 7:39 pm
by Jesper Møller
Script URL: http://www.jart.dk/jgom/componenter/ccounter/index.php
Version of script: PHP Click counter 1.1
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try: scrip, error and more

Write your message below:


Im trying to install the ccount on my site, It works fine, the the counter counts the numbers as it shud (I can see that it works in th Admin panel) But on the page where the download/links, that are being counted is, i get 2 javascript errors.

The first error i get is form the head script:

line: 13
Char: 8
Error: expected ';'


The second i get is from the part where the numbers of download shud have being showd (Proberly becaus of the first erro ?)

line: 87
Error object expexted

here is the page with the errors http://www.jart.dk/jgom/actions.html

Hope you can help me out her :cry:

Posted: Thu May 25, 2006 8:09 pm
by Klemen
Hi,

In your HEAD tag you call

Code: Select all

componenter/ccounter/click.php
It should be

Code: Select all

componenter/ccounter/display.php
Regards,

Posted: Thu May 25, 2006 8:17 pm
by Jesper Møller
:oops: Thank you :oops:


Think i need galsses :shock: