Script URL: https://doomwadstation.net/doom3tc/ccount/
Version of script: 1.1
Hosting company: midphase.com
URL of phpinfo.php: NA
URL of session_test.php: NA
What terms did you try when SEARCHING for a solution: Chrome
Write your message below:
I thought there was a problem with the counter but it turns out it only doesn't work in Chrome.
It is a very old version but is obviously functional.
I did download the newer version but am reticent to install since 1. I don't know if it will resolve the issue and 2. I don't want to lose the counts I already have.
Here is an example: https://www.doomwadstation.net/bloodwor ... works.html
Checked it out in Edge and Firefox and the counter works fine but in Chrome it doesn't display the number of clicks nor does the download work.
I'm not exactly what you would call knowledgeable when it comes to php (I'm not).
But, since Chrome is the most used browser it seems that I either have to dump the counter or get it to work.
Is there a change I can make to the current code to make it function in Chrome or would I need to update to newer code? And, can I update without having to start from scratch?
counter (version 1.1) not working in Chrome only
Re: counter (version 1.1) not working in Chrome only
The problem most likely is your website is server over https:// but all the links to the counter (including display.php) are over http://
Change http:// to https:// in all the counter links and try again.
Change http:// to https:// in all the counter links and try again.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: counter (version 1.1) not working in Chrome only
Maybe I'm doing something wrong here but I tried this.
Edited clicks.txt to reflect https instead of http (just tried this with one download) - https://www.doomwadstation.net/bloodwor ... works.html
that didn't work.
Edited the actual link in the web page to https://www.doomwadstation.net/doom3tc/ ... .php?id=23
Still only displays normally in anything but Chrome. However, the download itself works, I'm just not seeing the actual count in Chrome but it still displays in other browsers. Very confusing
Edited clicks.txt to reflect https instead of http (just tried this with one download) - https://www.doomwadstation.net/bloodwor ... works.html
that didn't work.
Edited the actual link in the web page to https://www.doomwadstation.net/doom3tc/ ... .php?id=23
Still only displays normally in anything but Chrome. However, the download itself works, I'm just not seeing the actual count in Chrome but it still displays in other browsers. Very confusing
Re: counter (version 1.1) not working in Chrome only
Well, at least the downloads work again. Thankyou for that. Unfortunately it seems that because the ability to display the number of times a download has been done depends on Java and Java is not supported in Chrome any longer, that functionality is gone but at least I can see it in other browsers. My real concern was the inability to download in Chrome so I'm glad you helped me solve that. 

Re: counter (version 1.1) not working in Chrome only
Forgot about this code at the top of the page. made the change https vs http and all is good in life again. lol
<script language="Javascript" src="https://www.doomwadstation.net/doom3tc/ ... isplay.php">
Thankyou so much
<script language="Javascript" src="https://www.doomwadstation.net/doom3tc/ ... isplay.php">
Thankyou so much