StatCounter User Forum  
StatCounter Free web tracker and counter

Go Back   StatCounter User Forum > StatCounter.com > Bugs

Reply
 
Thread Tools Display Modes
  #1  
Old 11-21-2005, 11:05 PM
celsior celsior is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Default Blocking my IP: no hits at all and...

http://www.home.no/janirozsa

When I block my IP-address, I get no hits at all from anywhere. When I remove the block I get hits, and it counts unique visitors adequately. I have it set for 24 hours.

Can anyone tell me why the counter is doing this?

Last edited by celsior; 11-21-2005 at 11:19 PM.
Reply With Quote
  #2  
Old 11-22-2005, 03:01 AM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,145
Default

I see nothing in the Statcounter code you have to indicate this. Maybe you are getting no hits except from yourself.

You have a couple of validation errors which wouldn't explain that either however: http://validator.w3.org/check?verbos....no/janirozsa/
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
Reply With Quote
  #3  
Old 11-22-2005, 10:47 AM
celsior celsior is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Default

When the block is removed everything is working fine, I've tested it. And I have a blocking cookie "installed" in my Firefox browser.

When I add my IP-address to be blocked everything just stops working. (Why are there two ways to prevent myself from giving hits to the counter anyway?)

Oh, and any tips on the validation issues, can't seem to solve them...
Reply With Quote
  #4  
Old 11-22-2005, 11:42 AM
Arne's Avatar
Arne Arne is offline
Moderator
 
Join Date: Sep 2004
Location: Lulea, Sweden
Posts: 3,954
Default

Quote:
Originally Posted by celsior
When the block is removed everything is working fine, I've tested it. And I have a blocking cookie "installed" in my Firefox browser.
When I add my IP-address to be blocked everything just stops working. (Why are there two ways to prevent myself from giving hits to the counter anyway?)
You don't need both blocking methods at the same time. If you have a static IP address, you can block your IP# only. With a dynamic IP, the cookie is the option to use. I have a dynamic IP in "theory", but since it not change very often (several weeks or even months between), I have choose to block the IP. But in that case I need to check my IP regulary to see if when and if it change

Quote:
Oh, and any tips on the validation issues, can't seem to solve them...
(Line 147 column 25: there is no attribute "BACKGROUND".)

This is depricated in the way you use it:
<td background="Bilder/bg_left_ny.jpg">

If you want a page to validate, all styling must be set by stylesheet (CSS). In this case you could have a class with the values for the background image and style the td with <td class="classname">. You can also use an inline styling: <td style="background-image:bg-left-ny.jpg">

About the missing ALT in the image tag, it seems like you just miss that on one image? So it's easy to correct it, do as you have done for the other images, add a blank alt (alt="") for "051122.jpg" if you don't want to have any text there. But for the header image (start.jpg ?) you really should have someting, e.g. the text that is on the image. In case the images don't download for some reason, there will be nothing for the visitor to see if you don't have a alt text.
__________________
Statcounter: Forum Rules, Knowledge Base, FAQ

Attention! When reporting problems with your counter, please tell what
partition yours is on by looking at the code you inserted and you will see:
var sc_partition=xx; in the Javascript portion, where "xx" is the number.
Reply With Quote
  #5  
Old 11-22-2005, 03:25 PM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,145
Default

You were trying to block your hits from being recorded. Blocking cookie (if your browser truly allowed it and didn't delete it) or blocking by IP - either and both would result in your hits being blocked. Yours, not other visitor's hits to your web pages. If the blockign cookie didn't block you that means your browser didn't actually allow the cookie to be installed.

If you don't see any other hits, then you didn't get any visitors other than yourself. By now you should have seen at least Arne's hits.
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
Reply With Quote
  #6  
Old 11-22-2005, 10:32 PM
celsior celsior is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Default

Hey, I don't make much sense in my previous posts do I? I see that now Sorry, too hastily composed messages.

Well, everything's working fine now. I only have a blocking cookie installed. I have not entered any IP-adress to be blocked in my settings, because when I do that I totally stop getting hits, when I should get hits from other computers than my own (I have another computer in a LAN that I test with).

So why does the counter stop working when I enter my IP-adress in the settings? Just one IP-address' block shouldn't stop the whole thing from registering hits...

And Arne: Thanks for the tip! That's what I love with web design, there's always something new to learn!

Last edited by celsior; 11-22-2005 at 10:48 PM.
Reply With Quote
  #7  
Old 11-23-2005, 12:20 AM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,145
Default

Usually all the computers on a LAN share the same external IP address. So that's entirey normal that by blocking that IP, the hits from all the computers on that IP will not be recorded.

This is what you should maybe use the blocking cookie on those computers where you want to block your hits from being recorded, and remove the IP block.
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
Reply With Quote
  #8  
Old 11-23-2005, 12:11 PM
celsior celsior is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Default

Ok, thanks for the help... I just got a little suspicious when I hadn't received any hits for several days... Guess there never were anyone on my site those few days!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:53 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.