# warning: fopen(../IPDatabase/GeoLiteCity.dat) [function.fopen]: failed to open stream: No such file or directory in /var/www/vhosts/xxx.com/httpdocs/xxxx/sites/all/modules/geouser/GeoIP.php on line 390.
# Unable to open file: ../IPDatabase/GeoLiteCity.dat
# warning: fopen(../IPDatabase/GeoLiteCity.dat) [function.fopen]: failed to open stream: No such file or directory in /var/www/vhosts/xxx.com/httpdocs/xxxx/sites/all/modules/geouser/GeoIP.php on line 390.
# Unable to open file: ../IPDatabase/GeoLiteCity.dat
# warning: fopen(../IPDatabase/GeoLiteCity.dat) [function.fopen]: failed to open stream: No such file or directory in /var/www/vhosts/xxx.com/httpdocs/xxxx/sites/all/modules/geouser/GeoIP.php on line 390.
# Unable to open file: ../IPDatabase/GeoLiteCity.dat
# warning: fopen(../IPDatabase/GeoLiteCity.dat) [function.fopen]: failed to open stream: No such file or directory in /var/www/vhosts/xxx.com/httpdocs/xxxx/sites/all/modules/geouser/GeoIP.php on line 390.
# Unable to open file: ../IPDatabase/GeoLiteCity.dat
# warning: fopen(../IPDatabase/GeoLiteCity.dat) [function.fopen]: failed to open stream: No such file or directory in /var/www/vhosts/xxx.com/httpdocs/xxxx/sites/all/modules/geouser/GeoIP.php on line 390.
# Unable to open file: ../IPDatabase/GeoLiteCity.dat
Comments
Comment #1
fuzzy_texan commentedGetting the same errors on beta3.
Comment #2
zidong.c commented/var/www/vhosts/xxx.com/httpdocs/xxxx/sites/all/modules/geouser/GeoIP.php on line 390.
# Unable to open file: ../IPDatabase/GeoLiteCity.dat
Since this error message occurred, you dont have GeoLiteCity.dat file under your system.
You have to download and put under a directory yourself.
Before installing geouser module. please read readme.txt file carefully.
Hope this will help you.
Comment #3
fuzzy_texan commentedThanks for the reply, but yes I had already done that (can't speak for shah_waliuallah).
I put it under the directory suggested in the readme.txt
Comment #4
bryancasler commentedIn case someone else was wondering what is going on, do this
1.Install and activate the module
2.Ignore the errors
3.Ensure you have GeoLiteCity.dat uploaded to the following directory sites/all/modules/Other/geouser/IPDatabase/
4.Go to GeoUsers modules settings page admin/settings/geouser
5.In Path of database: put sites/all/modules/Other/geouser/IPDatabase/GeoLiteCity.dat
6.Click "save configuration"
Bam! you are done.
Comment #5
pimok3000 commentedHi,
you have to add the GeoLiteCity.dat from here http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz into the root folder of your site and then change settings under admin/settings/geouser from "../IPDatabase/GeoLiteCity.dat" to "GeoLiteCity.dat"
Comment #6
noodle.farm commentedI had this same issue at first but the solution is to place the IPDatabase folder containing GeoLiteCity.dat one level above your root web directory.
For example if your website is in the following directory: /var/www/html/
Then you need to place the GeoLiteCity.dat file here: /var/www/IPDatabase/GeoLiteCity.dat
I believe the developers intent with this was to provide a simple way to protect the file against download.
Hope this helps.