It might be a wordpress session cookie problem. Try log out of admin. Then log in again. or try another web browser.
I have such a problem too (with manual upload no problem). I like to use the automatic update…
Error message:
——————————————————————
Visitor Maps
Preparing a first time install of the Maxmind GeoLiteCity database
PHP Memory Limit is 256M, increasing is not needed.
Connecting to this URL: http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
Please allow plenty of time for the approximately 19meg file to download.
The time needed depends on your server download speed.
A timeout can happen if the connection is really slow causing this to take more than 3 minutes.
Warning: fopen(/var/www/vhosts/–the-domain-name–.com/httpdocs/wp-content/plugins/visitor-maps/GeoLiteCity.dat.gz) [function.fopen]: failed to open stream: Permission denied in /var/www/vhosts/–the-domain-name–.com/httpdocs/wp-content/plugins/visitor-maps/class-wo-update.php on line 415
download_file error: cannot write to file, check server permission settings
——————————————————————
PS: Mike, I like the plug-in! well done!
I managed to fix this by deactivating it, renaming the plugin folder on the server, logging out, logging in, renaming the folder to the original name & reactivating.
I tried this… no effect… still the same error. I hope Mike has an idea 😉
mcfri,
If the geolite database errors trying to download, the server’s PHP
settings could be the cause. Possible reasons: PHP safe_mode could be
enabled, you should turn it off. allow_url_fopen could be disabled, you
should turn it on.
If you can, edit your PHP.ini file (usually located in /etc/php.ini or
the root folder of your web site) and make sure these two settings are
like this: safe_mode = Off, allow_url_fopen = On
see also:
http://codex.wordpress.org/Changing_File_Permissions
The geolite database is really just a 30 meg file. As a workaround,
you can manually download the GeoLiteCity.dat.gz file from this URL,
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
unzip it and upload GeoLiteCity.dat to the /plugins/visitor-maps/
folder. The GeoLiteCity.dat file is the database for the location from
IP feature. If the file is missing, the blog should function fine.
When the file is not installed, the location information for a user is
skipped.
Hi Mike, if you check this thread, can you help me with an error?
I get this every time you issue an update and it tells me to upgrade the database. My server says safe mode is off but I can’t tell about the other stuff; I guess I don’t have access to php.ini? Anyway, this is the error I get in my WP admin area:
Warning: fopen(http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz) [function.fopen]: failed to open stream: Connection timed out in /home/foo/public_html/sitename/wp-content/plugins/visitor-maps/class-wo-update.php on line 414
download_file error: reading or opening file
Appreciate any help!