Link disappears

Post your Click counter digestion problems here
Post Reply
Katy
Posts: 15
Joined: Sun Feb 12, 2006 4:15 pm

Link disappears

Post by Katy »

Hello,
sorry for spamming this forum with my questions, but I really need help!

When I add the link to my file ID and the ccount_display script like below:

<a href="ccount/click.php?id=1">Download</a> &nbsp; <script language="Javascript">ccount_display('1')</script>

and then view my page, the link disappears! And only if I reload the page many times it shows up!
If I view the source of my page (when the link is shown) it looks like it should:

<a href="ccount/click.php?id=1">Download</a> &nbsp; <script language="Javascript">ccount_display('1')</script>

BUT if I view the page source when it's not shown, it looks like this:

<a href="ccount/click.php?id=1" ></a> &nbsp; <script language="Javascript">ccount_display('1')</script>

Where did my Download text disappear?

If you want to see the script in action, click here: http://my-stuff.be/test.php

Reload the page 3-4 times and see what happens!
Please, help me! I really like this counter and I don't want to use anything else!!!!!
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

I tried it and the download link appears every time.
Tried it in Internet Explorer and in Firefox.

Greetings,
Henrie
Katy
Posts: 15
Joined: Sun Feb 12, 2006 4:15 pm

Post by Katy »

Hmm, it still won't work for me... :(
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Works for me as well, try clearing our temporary internet files.
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
Katy
Posts: 15
Joined: Sun Feb 12, 2006 4:15 pm

Post by Katy »

How do I do that?
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

That depends on your browser.

In internet explorer.
http://www.microsoft.com/windows/ie/usi ... cache.mspx
This is the text from that page:
Clearing Your Browser's Cache
All those files stored in your cache take up space, so from time to time, you may want to clear out the files stored in your cache to free up some space on your computer. This is called clearing the cache.
To clear your cache:
1. On the Internet Explorer Tools menu, click Internet Options. The Internet Options box should open to the General tab.
2. On the General tab, in the Temporary Internet Files section, click the Delete Files button. This will delete all the files that are currently stored in your cache.

In Firefox.
1. On the Tools menu, click Options. The Options box should open to the General section.
2. Choose Privacy section and choose the buffer tab. Click the Clear buffer button. This will delete all the files that are currently stored in your cache.

Greetings,
Henrie
Katy
Posts: 15
Joined: Sun Feb 12, 2006 4:15 pm

Post by Katy »

Thank you! I cleared my browser's cache, but I still see only the number of downloads when I view my page and if I reload the page I can see the link...
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Have you perhaps got any software installed that would block Javascript? Do you have Norton or something similar?
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
Katy
Posts: 15
Joined: Sun Feb 12, 2006 4:15 pm

Post by Katy »

I only have Ad Muncher and Ad-Watch.

Oh, I just turned them off and now it works! :D

But is there a way I can make it without using Java-script?

Thanks.
Post Reply