WP Statistics
[resolved] GeoIP collection is disabled due to the following reasons: (4 posts)

  1. AdlerBCE
    Posted 11 months ago #

    I have more than one WP website that I manage. I have been successfully using WordPress Statistics plug-in for a couple of months on one site. When I first installed it on the first site I vaguely remember seeing a warning that some manual action was required to activate/download GioIP.

    Just this week I decided to install WordPress Statistics plug-in which seemed to be straight forward. Did not see any warning to take any manual action. However, I don't see the Google map and there is no Country summary listing.

    When I check Statistics/setting - GioIP the following error message is displayed:

    "GeoIP collection is disabled due to the following reasons:"

    and then there are no reasons listed. Clicking the <Update> causes a screen refresh but there is no change.

    Any suggestion on where I go to from here?


  2. Greg Ross
    Plugin Author

    Posted 11 months ago #

    Are you running PHP 5.3 or lower? With safe mode disabled?

    If so it looks like there is a bug in the detection code, edit wordpress\wp-content\plugins\wp-statistics\includes\functions\functions.php. Line 588 should be:

    if( !ini_get('safe_mode') ) {

    replace it with:

    if( ini_get('safe_mode') ) {
  3. AdlerBCE
    Posted 10 months ago #

    @Greg Ross - Never got a chance to try your fix. Just saw the 5.4 upgrade notification, upgraded from 5.3 to 5.4 and all is working.

  4. Greg Ross
    Plugin Author

    Posted 10 months ago #

    Good to hear.


You must log in to post.

About this Plugin

  • WP Statistics
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic