Page 1 of 1

counter does not display on web page

Posted: Fri Sep 12, 2014 6:05 pm
by grimftl
Script URLs:
http://www.otterstow.com/test.php
http://www.otterstow.com/indexTest.php
Version of script: 2.0.1
Hosting company: yahoo
URL of phpinfo.php: ?
URL of session_test.php: ?
What terms did you try when SEARCHING for a solution: Count no display

Write your message below:

On my web page, I display the results of my click counts, e.g.

The font XYZ has been downloaded 123 times.

The script has worked flawlessly for years, until just a week or so ago (this 'failure' coincided with the sudden - and unexplained - appearance for an online casino). Now, the number simply does not show up. So, it looks like...

The font XYZ has been downloaded times.

I have two URLs listed. One is my full webpage (or a copy, rather) and the other is where I removed everything else except one line to test the script.
I updated to 2.0.1 (from 1.2) and that went well. The dashboard shows the stats and everything else seems to work.

Based on what I read in an earlier post, I did a "view source" of my web pages and, as suggested, there is a line of java at the very bottom, which is NOT present when I view the files with HTML, so I suspect that might have something to do with it. It is as follows:

<script type="text/javascript">(function (d, w) {var x = d.getElementsByTagName('SCRIPT')[0];var f = function () {var s = d.createElement('SCRIPT');s.type = 'text/javascript';s.async = true;s.src = "//np.lexity.com/embed/YW/ae52477cefb5de618fdea7793e5fe443?id=b6af884b62cc";x.parentNode.insertBefore(s, x);};w.attachEvent ? w.attachEvent('onload',f) :w.addEventListener('load',f,false);}(document, window));</script>

Re: counter does not display on web page

Posted: Fri Sep 12, 2014 6:13 pm
by Klemen
The code added at the bottom is indeed what is causing the problem.

You might want to check with your hosting company if this is something they add. If not, your website could have been compromised...