Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error installing geoip #3504

Closed
anonymous-matomo-user opened this issue Nov 1, 2012 · 1 comment
Closed

error installing geoip #3504

anonymous-matomo-user opened this issue Nov 1, 2012 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.

Comments

@anonymous-matomo-user
Copy link

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
Copy link
Member

mattab commented Nov 1, 2012

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants