Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#26228 - [php-geoip] tries to look at wrong file name

Attached to Project: Community Packages
Opened by Rasmus Abrahamsen (Ralle) - Monday, 03 October 2011, 14:14 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 10 October 2011, 01:58 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The PHP extension php-geoip is trying to access the GeoIP database with the wrong filename.
The database from GeoIP is called GeoIP.dat but PHP tries to access GeoIPCity.dat

Additional info:
* geoip 1.4.8-1
* php-geoip 1.0.7-2

Steps to reproduce:
When using the following PHP function: geoip_record_by_name() PHP gives me the following warning:
PHP Warning: geoip_record_by_name(): Required database not available at /usr/share/GeoIP/GeoIPCity.dat. in geoip.php on line 3
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 10 October 2011, 01:58 GMT
Reason for closing:  Not a bug
Comment by Evangelos Foutras (foutrelis) - Saturday, 08 October 2011, 19:04 GMT
GeoIP.dat is the country database which is used by the geoip_country_* functions.

If you want city-level information, I'm afraid you'll need to download the city database and place it under /usr/share/GeoIP/.

Loading...