Open NA7KR opened 8 years ago
I commented out the following lines in geoip.inc. now looks to be working.
#function geoip_country_code_by_name($gi, $name) {
# $country_id = geoip_country_id_by_name($gi,$name);
# if ($country_id !== false) {
# return $gi->GEOIP_COUNTRY_CODES[$country_id];
# }
# return false;
#}
#function geoip_country_name_by_name($gi, $name) {
# $country_id = geoip_country_id_by_name($gi,$name);
# if ($country_id !== false) {
# return $gi->GEOIP_COUNTRY_NAMES[$country_id];
# }
# return false;
#}
just getting notices
PHP Notice: Constant GEOIP_COUNTRY_EDITION already defined in /usr/local/fail2sql/geoip.inc on line 31 PHP Notice: Constant GEOIP_PROXY_EDITION already defined in /usr/local/fail2sql/geoip.inc on line 32 PHP Notice: Constant GEOIP_ASNUM_EDITION already defined in /usr/local/fail2sql/geoip.inc on line 33 PHP Notice: Constant GEOIP_NETSPEED_EDITION already defined in /usr/local/fail2sql/geoip.inc on line 34 PHP Notice: Constant GEOIP_REGION_EDITION_REV0 already defined in /usr/local/fail2sql/geoip.inc on line 35 PHP Notice: Constant GEOIP_REGION_EDITION_REV1 already defined in /usr/local/fail2sql/geoip.inc on line 36 PHP Notice: Constant GEOIP_CITY_EDITION_REV0 already defined in /usr/local/fail2sql/geoip.inc on line 37 PHP Notice: Constant GEOIP_CITY_EDITION_REV1 already defined in /usr/local/fail2sql/geoip.inc on line 38 PHP Notice: Constant GEOIP_ORG_EDITION already defined in /usr/local/fail2sql/geoip.inc on line 39 PHP Notice: Constant GEOIP_ISP_EDITION already defined in /usr/local/fail2sql/geoip.inc on line 40 PHP Notice: Constant GEOIP_UNKNOWN_SPEED already defined in /usr/local/fail2sql/geoip.inc on line 51 PHP Notice: Constant GEOIP_DIALUP_SPEED already defined in /usr/local/fail2sql/geoip.inc on line 52 PHP Notice: Constant GEOIP_CABLEDSL_SPEED already defined in /usr/local/fail2sql/geoip.inc on line 53 PHP Notice: Constant GEOIP_CORPORATE_SPEED already defined in /usr/local/fail2sql/geoip.inc on line 54
in geoip.inc
no notices now
Please can you help with this? PHP Fatal error: Cannot redeclare geoip_country_code_by_name() in /usr/local/fail2sql/geoip.inc on line 376