I get the following error when the code is trying to close the GeoIP database Warning: fclose(): 107 is not a valid stream resource in /home/www/html/horde/lib/NLS/GeoIP.php on line 222 I looked at the code and it seems fine and GeoIP works as intended so I'm not sure what's going on. Amith