#14 geoip fix

closed-fixed
nobody
None
5
2011-12-13
2005-09-27
No

These directions and patch fix some geoip problems.

1. In conf.php add the following, preferably anywhere
in the paths section:

define(TEMP_DIR, '/tmp/');

The value /tmp/ should be directory on your system that
is mode 777 -
such as /tmp typically is.

2. As MySQL root run: GRANT FILE ON *.* TO
<mailwatch_user>@localhost

IDENTIFIED BY <mailwatch_user_password>;

3. Install the new geoip_update.php file in the
mailwatch firectory
under your www path.

Original discussion on mailing list:
http://sourceforge.net/mailarchive/message.php?msg_id=12885088

Discussion

  • Chris Tirpak

    Chris Tirpak - 2005-09-27

    new file with needed fixes - follow above directions

     
  • Nobody/Anonymous

    Logged In: NO

    If me use remote DB, this patch still can't runing,
    There will get error message as below.
    --
    Can't get stat of '/tmp/GeoIPCountryWhois.csv' (Errcode: 2)

    SQL:

    LOAD DATA INFILE '/tmp/GeoIPCountryWhois.csv' INTO TABLE
    geoip_country FIELDS TERMINATED BY ',' ENCLOSED BY '"'
    --

     
  • Garrod Alwood

    Garrod Alwood - 2011-12-13
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks