Hi,
I am trying to install the free MaxMindGeoIP data using the config section of Piwik. The download into /misc worked successfully. I unpacked the file and copied it into /misc.
I refreshed the geoip config page and now the following errors appear:
Also a lot of notices appear:
Any idea how to fix this?
Thanks.
I am trying to install the free MaxMindGeoIP data using the config section of Piwik. The download into /misc worked successfully. I unpacked the file and copied it into /misc.
I refreshed the geoip config page and now the following errors appear:
User Error: error traversing database - perhaps it is corrupt? in /www/htdocs/v109876/web_analytics/piwik/libs/MaxMindGeoIP/geoip.inc on line 642 Backtrace --> #0 Piwik_ErrorHandler(...) called at [:] #1 trigger_error(...) called at [/www/htdocs/v109876/web_analytics/piwik/libs/MaxMindGeoIP/geoip.inc:642] #2 _geoip_seek_country(...) called at [/www/htdocs/v109876/web_analytics/piwik/libs/MaxMindGeoIP/geoip.inc:499] #3 geoip_country_id_by_addr(...) called at [/www/htdocs/v109876/web_analytics/piwik/libs/MaxMindGeoIP/geoip.inc:517] #4 geoip_country_code_by_addr(...) called at [/www/htdocs/v109876/web_analytics/piwik/plugins/UserCountry/LocationProvider/GeoIp/Php.php:125] #5 Piwik_UserCountry_LocationProvider_GeoIp_Php->getLocation(...) called at [/www/htdocs/v109876/web_analytics/piwik/plugins/UserCountry/LocationProvider/GeoIp.php:100] #6 Piwik_UserCountry_LocationProvider_GeoIp->isWorking(...) called at [/www/htdocs/v109876/web_analytics/piwik/plugins/UserCountry/LocationProvider/GeoIp/Php.php:186] #7 Piwik_UserCountry_LocationProvider_GeoIp_Php->isWorking(...) called at [/www/htdocs/v109876/web_analytics/piwik/plugins/UserCountry/LocationProvider.php:215] #8 Piwik_UserCountry_LocationProvider::getAllProviderInfo(...) called at [/www/htdocs/v109876/web_analytics/piwik/plugins/UserCountry/Controller.php:39] #9 Piwik_UserCountry_Controller->adminIndex(...) called at [:] #10 call_user_func_array(...) called at [/www/htdocs/v109876/web_analytics/piwik/core/FrontController.php:125] #11 Piwik_FrontController->dispatch(...) called at [/www/htdocs/v109876/web_analytics/piwik/index.php:47]
Also a lot of notices appear:
Notice: Uninitialized string offset: 0 in /www/htdocs/v109876/web_analytics/piwik/libs/MaxMindGeoIP/geoip.inc on line 627 .... Notice: Uninitialized string offset: 5 in /www/htdocs/v109876/web_analytics/piwik/libs/MaxMindGeoIP/geoip.inc on line 627
Any idea how to fix this?
Thanks.