counter will not display

Post your Click counter digestion problems here
Post Reply
jle70
Posts: 1
Joined: Tue Aug 28, 2012 4:58 pm

counter will not display

Post by jle70 »

Script URL: www.mytechservices.info
Version of script: 1.4
Hosting company: hostgator
URL of phpinfo.php: www.mytechservices.info/pc/counter14
URL of session_test.php: www.mytechservices.info/pc/counter14
What terms did you try when SEARCHING for a solution:
counter no display
Write your message below:
When loading http://www.mytechservices.info/pc/count ... ?page=test I get this document.write('11');. But on the webpage I do not get it to show up.

Code: Select all

<script language="Javascript" src="http://www.mytechservices.info/pc/counter14/counter.php?page=test"><!--
//--></script>
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: counter will not display

Post by Klemen »

That's because your host is automatically adding code into generated pages and that code is breaking counter code.

If you look at the source code of your counter.php?page=test page in browser you will see a lot of Javascript code. That is not something generated by the counter, it's added there by your host.
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
Post Reply