Title: Data file detection problem
Last modified: August 21, 2016

---

# Data file detection problem

 *  Resolved [Victor Kosmenko](https://wordpress.org/support/users/victor-kosmenko/)
 * (@victor-kosmenko)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/data-file-detection-problem/)
 * Hi.
 * There is a function geoip_detect_get_abs_db_filename() in geoip-detect.php file.
   
   But it always returns an empty string (the file GeoLiteCity.dat is in the geoip-
   detect folder).
 * As I see the trouble is on the line
    `$data_filename = apply_filters('geoip_detect_get_abs_db_filename',
   $data_filename);`
 * Could you explain me what this line should do?
 * Thanks
 * [http://wordpress.org/plugins/geoip-detect/](http://wordpress.org/plugins/geoip-detect/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Benjamin Pick](https://wordpress.org/support/users/benjaminpick/)
 * (@benjaminpick)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/data-file-detection-problem/#post-4033761)
 * Actually this problem was already fixed in github, but I only released a new 
   version today — sorry for the inconvenience.
 * The line you mentioned is there in order to allow other plugins (and in this 
   case, updater.php) to modify this value. See:
    [http://codex.wordpress.org/Function_Reference/apply_filters](http://codex.wordpress.org/Function_Reference/apply_filters)

Viewing 1 replies (of 1 total)

The topic ‘Data file detection problem’ is closed to new replies.

 * ![](https://ps.w.org/geoip-detect/assets/icon-256x256.jpg?rev=978998)
 * [Geolocation IP Detection](https://wordpress.org/plugins/geoip-detect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/geoip-detect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/geoip-detect/)
 * [Active Topics](https://wordpress.org/support/plugin/geoip-detect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geoip-detect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geoip-detect/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Benjamin Pick](https://wordpress.org/support/users/benjaminpick/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/data-file-detection-problem/#post-4033761)
 * Status: resolved