Closed (fixed)
Project:
GeoUser
Version:
6.x-1.5-beta
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2008 at 06:29 UTC
Updated:
14 Jan 2009 at 07:42 UTC
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
Comment #1
forward11 commentedI 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.
Comment #2
AntiNSA commentedI 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?
Comment #3
vasheck commentednot 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...
Comment #4
zidong.c commentedGeoUser 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.
Comment #5
AntiNSA commentedI 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.