Page 1 of 1

hit counter

Posted: Tue Dec 12, 2023 5:52 am
by MIROX
Installed the hit counter, followed the instructions and get this
when running the test:
https://www.fmvss500.com/counter/gcount.php?page=test
I get this
document.write('<img src="https://www.fmvss500.com/counter/styles/web1/2.gif" border="0" />');
and next time I do it it increments by one
document.write('<img src="https://www.fmvss500.com/counter/styles/web1/3.gif" border="0" />');
have all the files and folders counter>logs, styles > web1 with the 10 gif images
But no numbers show on the web page where installed with this:
<script src="http://www.fmvss500.com/counter/gcount. ... yle=ledaqb">
</script><!-- Counter END -->
This is the web page:
https://fmvss500.com/index.html
Any ideas ???
I did change the gcount.php permission to 0666 was 0644 before but no change !

Tried both the web1 and http://www.fmvss500.com/counter/gcount. ... yle=ledaqb
Still no images of the numbers

Re: hit counter

Posted: Tue Dec 12, 2023 10:49 am
by Klemen
The problem is your Javascript code calls http:// version on a secure site:

Code: Select all

<!-- Start Counter MRX -->
<div class="valid">
<script src="http://www.fmvss500.com/counter/gcount.php?page=home&amp;style=ledaqb">
</script><!-- Counter END -->
Change http tp https then reload the page:

Code: Select all

<!-- Start Counter MRX -->
<div class="valid">
<script src="https://www.fmvss500.com/counter/gcount.php?page=home&amp;style=ledaqb">
</script><!-- Counter END -->