Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#853 GeoIP override files not read

7.0
open
nobody
5
2012-12-18
2011-03-04
ajelenak
No

GeoIP override files fail to be processed even when properly declared with the LoadPlugin configuration directives. The problem is in the LoadOverrideFile_* subroutines of the geoip pm files in the plugins directory. The two patches I submit fix this problem for the geoip.pm and geoip_city_maxmind.pm. Fixing other geoip plugins should is straightforward as the majority of the code is the same.

Discussion

  • ajelenak
    ajelenak
    2011-03-04

     
    Attachments
  • ajelenak
    ajelenak
    2011-03-04

  • twac
    twac
    2012-12-18

    White space seems messed up in the patches, attaching a version with tabs.

    geoip.pm.patch works for me with an explicit +override in the config file. But not automatically with the file geoip_generator.pl creates (geoip.awstats.foo.txt next to awstats.foo.txt)

     
    Last edit: twac 2012-12-18
    Attachments