Viewing 15 replies - 1 through 15 (of 33 total)
  • exactly the same here. It doesnt show the directory to download and instal to either.. so seems like a bug

    I thought it just might be permissions?

    Thread Starter PhilEsq

    (@philesq)

    It’s weird because the link works but the plug-in is not downloading the file. It would have been nice if the message indicated where to upload the file. However, I found the folder where it is stored. It is simply in the plug-ins folder at:
    plugins/iq-block-country

    It would be a lot nicer to figure out why the plug-in is not automatically downloading the file.

    chmod (change permissions) the plugins/iq-block-country folder to 0757 (writable by the app) – it will then download.

    Thread Starter PhilEsq

    (@philesq)

    Do you mean 757? I already have it set to 755 and I get the error message.

    Thread Starter PhilEsq

    (@philesq)

    I temporarily changed the permissions to 777 and tried again but still got the same error.

    Thread Starter PhilEsq

    (@philesq)

    I guess I found the problem. My server is not letting me change the permissions beyond 755. They said that on their server, it should work if I change it to 644. For some reason, filezilla will not let me change it at all so they are doing it for me. I will post here if I find it works.

    Thread Starter PhilEsq

    (@philesq)

    My hosting service changed the permissions to 757 but I still receive the same error.

    This plugin is broke. I attempted several different permission changes and I received the same message as Phil posted above.

    Time to deactivate it and move on.

    Thread Starter PhilEsq

    (@philesq)

    Did you update? It was just updated on May 16 and is working now. I was just going to thank Pascal for updating.

    I just got the most recent info and download files:

    On the FAQ page there is a link to download the latest database file:

    https://www.ads-software.com/extend/plugins/iq-block-country/faq/

    Here is the actual link:

    https://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz

    Place the unzipped GeoIP.dat file in the root of the iq-block-country folder.

    I tweeted Pascal but someone else chimed in on another post.

    Thread Starter PhilEsq

    (@philesq)

    There is an update of iQ Block Country which fixed the download button in the dashboard so you don’t have to go to maxmind.

    Ugh!

    Well I followed those instructions and the upload failed. Repeat and rinse, same result.

    I’m not sure if I wish to spend any more time on this. The original geoip file was readable in notepad, the new geoip file (date.file) is not.

    The this is a dat file vs. a txt file? Is this the problem with the upload to the server files? Not sure.

    One thing I am noticing is the zip file is downloading to my hard drive as a “gz” and not showing up in the download file up I attempt to upload to the server and extract from there. I fixed this by right clicking and placing it in a container file on downloads but still no go uploading to the server and extracting.

    I extracted with an unzip tool and uploaded the “dat” file and that’s when I received the upload error.

    I did that but the upload was showing “failed” in my server. I uploaded the unzipped file from the host into the IQ Block Country folder and yes, I have 1.0.6 version.

    I uploaded the zipped file and extracted it in the IP Block Country folder also and that didn’t work either.

    In either case when I return to the plugin in my WP admin area the download button still shows “error….”

    I’ve even deleted the whole thing and started over. I’ve got plenty of experience with WordPress, this is not my normal experience.

    One more try later and that’s it, I have other Internet fish to fry. I’d like this to work as I need to block some specific countries because of serious hacking attempt lately. I’ve manually denied IPs but that too is time consuming.

    Phil, I got it to work this morning. Here is a post on another thread I left.

    Although I’m getting a “failed” response after downloading/uploading the dat file to the server the file still appears in the folder. Go figure.

    Now, this morning I went through the exercise in my WP admin, hit the download button “Download New GEO IP Database” and it worked. No error message.

    Pascal mentions in his FAQ notes the GEOIP Lite may only allow a certain number of downloads from servers in a 24 hour period as follows:

    Why does downloading the GeoIP.dat.gz fail?

    For instance Maxmind limits the number of downloads per day. They probably do this by IP address so if you or somebody else who has a site at the same server your site is running on already downloaded the new database you may be blocked for 24 hours by MaxMind. No worries try a day later again.

    So something having to do with download excess may have been the problem with my host. I had the problem with the first download so it wasn’t too many downloads on my side, except after attempting to make it work several times.

    So waiting over night seems to have worked. Now the question – I have a number of sites on the same server. Will this problem occur again? If it does than implementing the fresh database to this plugin on multiple sites may take many days.

    Regardless, the problem must have been related to Pascal’s post on downloads.

    Thanks for your help, it’s appreciated.

    Thread Starter PhilEsq

    (@philesq)

    I also have several running on the same server. I have not run into a problem but I don’t know if I ever tried to download the new file on several sites on the same day. If it’s a problem, you can just do it on different days.

Viewing 15 replies - 1 through 15 (of 33 total)
  • The topic ‘[Plugin: iQ Block Country] Error occured: Could not download the GeoIP database’ is closed to new replies.