@anonymous-piwik-user opened this Issue on November 1st 2012

Installing geopip as directed I received the following message:

There is an error. Please report the message (Piwik 1.9.1) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Uninitialized string offset: 0 in /usr/www/users/fv/Concrete5/analytics/libs/MaxMindGeoIP/geoip.inc on line 627

Backtrace -->
#0 Piwik_ErrorHandler(...) called at [/usr/www/users/fv/Concrete5/analytics/libs/MaxMindGeoIP/geoip.inc:627]
#1 _geoip_seek_country(...) called at [/usr/www/users/fv/Concrete5/analytics/libs/MaxMindGeoIP/geoip.inc:499]
#2 geoip_country_id_by_addr(...) called at [/usr/www/users/fv/Concrete5/analytics/libs/MaxMindGeoIP/geoip.inc:517]
#3 geoip_country_code_by_addr(...) called at [/usr/www/users/fv/Concrete5/analytics/plugins/UserCountry/LocationProvider/GeoIp/Php.php:94]
#4 Piwik_UserCountry_LocationProvider_GeoIp_Php->getLocation(...) called at [/usr/www/users/fv/Concrete5/analytics/plugins/UserCountry/LocationProvider/GeoIp.php:83]
#5 Piwik_UserCountry_LocationProvider_GeoIp->isWorking(...) called at [/usr/www/users/fv/Concrete5/analytics/plugins/UserCountry/LocationProvider/GeoIp/Php.php:161]
#6 Piwik_UserCountry_LocationProvider_GeoIp_Php->isWorking(...) called at [/usr/www/users/fv/Concrete5/analytics/plugins/UserCountry/LocationProvider.php:222]
#7 Piwik_UserCountry_LocationProvider::getAllProviderInfo(...) called at [/usr/www/users/fv/Concrete5/analytics/plugins/UserCountry/Controller.php:40]
#8 Piwik_UserCountry_Controller->adminIndex(...) called at [:]
#9 call_user_func_array(...) called at [/usr/www/users/fv/Concrete5/analytics/core/FrontController.php:138]
#10 Piwik_FrontController->dispatch(...) called at [/usr/www/users/fv/Concrete5/analytics/index.php:53]

Keywords: geoip

@mattab commented on November 1st 2012 Owner

Thanks for the report. can you try to download and unzip the .dat file again maybe it is corrupt?

The error comes from the maxmind library directly which should not happen if the city/country database file is working well.

This Issue was closed on November 1st 2012
Powered by GitHub Issue Mirror