Support » Fixing WordPress » Stats showing region a and region b

  • On one of my computers stats show normally and correctly.

    On my 2nd computer i see these bar graphs for region a and region b, 2003-2005 – what is this?

    I am using the same browser for both machines – but the 2nd machine (ie7 or firefox) shows this region a region b crap for stats.


    i searched around and found no answers for this anybdoy got a clue why this happens w/one of my computers?

Viewing 14 replies - 1 through 14 (of 14 total)
  • same thing is happening to my blog stats. I’d love for someone to shed some light as to why the stats are like this.

    same thing is happening to my stats, though it only started 2 days ago (October 5, 2008). Til then, I had normal stats.

    I’m having the same problem that started on October 6th. Since then, all I get is that Region A | Region B bar graph.

    I am also experiencing this problem.

    About a year ago, it surfaced and there was some discussion, and fixes offered. Review this WordPress trac ticket #4248, and the links at the bottom of:

    Text of that ticket:

    I’m not sure if this is even appropriate here, since it’s not really WordPress’ fault, but there’s a bug in PHP 5.2.2 that prevents XMLRPC from working properly. Basically, $HTTP_RAW_POST_DATA is never set, even when called via POST or with the config option set to always be on.

    It’s possible to work around it in WP 2.2 by adding one line to the beginning of WordPress’ xmlrpc.php file, right before the first mention of the variable.

    $HTTP_RAW_POST_DATA = file_get_contents("php://input");

    It’s apparently fixed in the PHP CVS, but who knows how long it’ll be before 5.2.3 comes out.

    Anyway, I don’t know if you’ll want to include a workaround for a single-version bug (though this is the most current “stable” release) or what impact this would have running on other versions of PHP, but I thought I’d post it just to convey the info.

    The links below this WordPress trac ticket explain much of the detail of the problem, tracing it to a bug in PHP.

    But this is over a year later – Oct/Nov 2008, and I am experiencing this problem – stats shows in admin as a bar graph labeled ‘Region A’ and ‘Region B’ and years on the x-axis 2003-2005.

    I am using:

    WordPress 2.6.3
    PHP version 5.2.6
    Apache version 2.2.10 (Unix)
    MySql version 5.0.51a-community
    FireFox 3.0.3 on Mac OS X 10.5.5

    I turned off caching (WP super cache).

    I altered XMLRPC.php as specified above in the Comment thread of “Automattic Stats, or PHP 5.2.2 vs WordPress XMLRPC“.

    I did change permalinks from my custom to one of the offered configs, saved those changes, then changed back to my custom settings, as suggested in this Comment thread (to ‘flush’ something or other).

    None of that fixes the problem. And I have not come across any analysis of the problem less than a year old. Maybe something in PHP 5.2.6 breaks something that had been fixed in versions after 5.2.2? Anyway, “IT’s BACK.”

    Very annoying, and interesting, problem now resurfacing a year and a half later in Oct/Nov 2008. Sincerely hope someone out there who has some information about this problem, what is causing it now, and how to work around it.

    Thanks in advance,


    I really wish someone either from the WordPress team, or some other knowledgeable person would weigh in on this problem.

    It’s not like it hasn’t been raised on this forum over the years, for example, in addition to the links I offered in my previous Comment in this thread, see:


    Can anyone help?

    Thanks in advance,


    Well, as in the scene in the movie, Brazil, “It fixed itself? Machines don’t fix themselves!”

    Anyway, the problem reported in this thread is, for the moment, resolved, at least for me.

    November 12, 2008 – I started getting correct displays from stats. The “Region A” “Region B” is gone, again.

    I still wish someone from WordPress or other knowledgeable coder/programmer would explain this problem – what caused it, and how does it get fixed, and who is fixing it?

    I’ll call this ‘ticket’ “Uncomfortable resolved.”



    I’ve been having the same problem since upgrading the wordpress stats plugin to version 1.3.2 a few weeks ago. I just fixed the problem and this is how I did it.

    1. Deactivate the plugin named “ stats” in the plug-in management list
    2. Reactivate the plugin and you will see an alert to re-enter your wordpress API key
    3. Once you re-enter the API key it will ask you if you want to add a new blog or replace an existing blog, choose the the name of the blog you are replacing and next time you go to the dashboard you will see all your stats back

    Hope this helps.

    Thank you so much, joemcgill, for Commenting on this problem.

    Easy enough (‘gee, I should have thought of that’ -smile-) – I’ll try it should the problem recur.

    I guess we can color this problem “[resolved].”


    Upgrading, deactivating, reactivating — none of it worked for me. I’m still getting the “Region A & B” graph.

    But I’ve just discovered that the problem is limited to Firefox. On Safari, the graph loads correctly.

    So, now what?

    I had the same problem.

    Stats were showing that dummy graphic instead of the dynamic diagram. I tried everything. Editing xmlrpc.php, updating, deactivating and activating.. ect., nothing worked for me. I normally use Safari, but then I switched over to Firefox and I saw that it worked just fine there. So I thought it must be a browser problem eventually. I reset Safari and voila, I had my dynamic blog stats diagram back. : )

    Just another chance to fix that weird bug. Reset your Safari (browser).

    Thanks, joemcgill. This fixed it for me, too.

    Don’t you just love it when a support forum works the way it’s supposed to?

    I followed the steps but the problem was not fixed. Anyone have another idea?

    I am having the same issue. Just got a new computer (macbook) a few days ago, and it started showing the Region A / Region B graph.

    This is happening in both firefox and safari. I have deactivated and reactivated the plugin, cleared the cache, even upgraded wordpress to the latest version to see if that might change anything. Nothing has worked.

    I can see the stats fine on another computer, but no matter what I try on my new one, it’s been showing this static graph for days.

    Is there anything else anyone would recommend for this?

    Zack Katz


    This just happened on my hosted site running 2.7.1 – I refreshed, and then it logged me out, and upon logging back in it was fixed.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Stats showing region a and region b’ is closed to new replies.