Hi @wyclef ,
Regarding the error, I haven’t seen this error so far. Do you get the error when clicking on “Download”?
Regarding the providers/apis: any of the other APIs will be fine as well. You can visit the api website and there you can obtain key. You can check GeoLite2 from Maxmind for start.
Best Regards,
Darko
I just ran into the same problem yesterday after installing it on another domain. Got it working fine on my first install but this one bops up the same message when trying to download the ip2 location database.
I’m going to try ftp’ing the database file from the first domain over to the same …/uploads location on this domain to see if it is a write-permission setting.
@darkog and @wyclef
I just uploaded a May 18th copy of the 2 iplocation.bin files from the site that is working fine to the appropriate folder on my site that gives the “copy_failed_ziparchive Could not copy file.” error when clicking on “Download database”. I then tested it by coming in from a non-US country via my VPN software and it does block me as expected.
However, when I click on the “Download database”, I still get that same error so I doubt if it will be updating the old database unless I do it manually.
-chuck
Thread Starter
wyclef
(@wyclef)
Thanks for confirming @palmerct this describes the situation precisely.
Thread Starter
wyclef
(@wyclef)
could deactivating IP Geo Block and not uninstalling cause a conflict here?
@wyclef
Did you migrate from IP Geo Block with the “Migrate now” button?
Thanks
@darkog and @wyclef
I tried both. The first time I just de-activated IP Geo and installed IP Location. Then I uninstalled IP Location completely and re-installed using the Migrate Now option.
Later tonite I will try uninstalling both then ftp’ing to the site and completely removing their folder structures. Then I’ll install IP Location from scratch again.
It looks like their databases are installed in completely different folders though, correct?
-chuck
@palmerct yes, ip location block uses different folder for the database.
It should be:
/wp-content/uploads/ip-location-block/databases/IP2Location/IP2LOCATION-LITE-DB1.BIN
/wp-content/uploads/ip-location-block/databases/IP2Location/IP2LOCATION-LITE-DB1.IPV6.BIN
If you can provide me login to the site i can see the error more in details and then release a fix. Feel free to message me.
-
This reply was modified 5 years ago by
Darko G..
@darkog
That’s what I thought and that’s where I manually placed both files the other day. But let me add this bit of info to make it even weirder! I just logged in and noticed the message under their location said that they were recently updated:
Last update: May 27, 2021 9:55 am
So I naturally thought something must be working and clicked on the Manual update button again to give it a shot. But I got the same “copy_failed_ziparchive Could not copy file.” message.
-chuck
@darkog
I deactivated and uninstalled the IP Location plug. NOTE: It does not remove the folders and files under /wp-content/uploads/ip-location-block/ — I ftp’ed to the site and manually deleted IP2Location folder, its 3 sub-directories, and the 2 .BIN files.
Then I reinstalled and activate the plugin. Under its settings it says “IP Location Block: Now downloading geolocation databases in background. After a little while, please check your country code and “Matching rule” at Validation rules and behavior.”
I waited about 10 minutes and it never created the /wp-content/uploads/ip-location-block/ folder so I deleted your plugin and went back to IP Geo block.
I can’t give you access to our prod site but will make a fresh clone over to my test area tomorrow or Saturday if you haven’t figured things out by then.
Good luck!
Thread Starter
wyclef
(@wyclef)
@darkog emailed you my diagnostic information.
Thread Starter
wyclef
(@wyclef)
Wondering if there is any progress on this?
@wyclef and @darkog
Well, I ran into a couple of weirdities. I cloned my production site to a dev sub-domain a couple of days ago then installed IP Location Block and updated its database without a problem. So I don’t know why it would not update on my prod site.
But here’s another weird one. After installing it on the dev site and doing a couple of database downloads that gave no error messages, I then ftp’ed out to the folder with those .BIN files and noticed the timestamps on the BIN files don’t seem to change.
Lastly, a co-admin on our prod site lives in Michigan. I’m in Florida. His ip address was locked out of our prod site yesterday. The log said his country code was “ZZ”. So I’ve de-activated the plug-in on our prod site.
Thread Starter
wyclef
(@wyclef)
@darkog are there any updates on any of this?