PHPGcount probem with FF and IE

In case you have problems with some other PHPJunkyard script (not that there are THAT many).
Post Reply
orangpelupa
Posts: 3
Joined: Mon Jul 16, 2007 5:01 pm

PHPGcount probem with FF and IE

Post by orangpelupa »

Script URL: http://orangpelupa.5gbfree.com
Version of script: 1
Hosting company: 5gbfree
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
firefox AND phpgcount
Write your message below:

i have troublem, the image counter only showed on OPERA web broswer

in FF and IE, the image web counter will not shown, please heeelp :D

THANKS !
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Two possible problems:

1. you have other problems in javascript on your page, IE and FF stop displaying the rest of the javascript after the first error. I see you have some javascript in the <head> called to a local file (file:///...), maybe that's causing the problems.

- or -

2. seems like your host automatically adds code to each page, also to
http://orangpelupa.5gbfree.com/counter.php?page=INDEX
and that breaks the Javascript code. It's an issue with many free hosts... The only solution is to get a better 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
orangpelupa
Posts: 3
Joined: Mon Jul 16, 2007 5:01 pm

thanks

Post by orangpelupa »

i tried delete thet file:///

but its still not shown on FF and IE, only shown on opera

thanks for the quick reply,
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Yea but your host still automatically adds code to all apges, including javascript. Maybe Opera isn't that strict about valid Javascript, but I don't see another solution than to change the host, because invalid javascript will not work in IE or FF.
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
orangpelupa
Posts: 3
Joined: Mon Jul 16, 2007 5:01 pm

Post by orangpelupa »

okay,
hmm, any alternative graphic webcounter that maybe will work?

thanks
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

None that uses Javascript will work because of the problem mentioned.
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