warning: fopen(../IPDatabase/GeoLiteCity.dat) [function.fopen]: failed to open stream: No such file or directory in C:\wamp\www\drupal-6.3\sites\all\modules\geouser\GeoIP.php on line 390.

I got this after install onmy local machine

Comments

forward11’s picture

I think you have an error with the directory. You need to install the folder "IPDatabase" at the same level of the directory of yout website.
->IPDatabase/GeoLiteCity.dat
->Yourwebsite
And i think it run.

AntiNSA’s picture

I have installed this into the root directory as described and it says that it still can not find the file. What is the correct path to install this?

vasheck’s picture

not sure if this is the correct procedure... but this worked for me...
i created the "IPDatabase" directory within the geouser module and uploaded the .dat file into it.

then I went to: admininister > site configuration > geouser > IP database settings >
and set the path to this...
sites/all/modules/geouser/IPDatabase/GeoLiteCity.dat

the error message is gone now...

zidong.c’s picture

GeoUser Module need an IP database called GeoLiteCity to function well, so please download and unpack this database first, then put into a directory you feel appropriate, you can change the setting of the path of the database on drupal admin panel later.

Please always read the readme.txt before you install GeoUser Module.

AntiNSA’s picture

Status: Active » Closed (fixed)

I found that the error was due to needing to clear the cache through the performance page after changing cache location for any that run into this problem.