Pascal
Forum Replies Created
-
Forum: Plugins
In reply to: [iQ Block Country] Notice: Undefined index: SERVER_ADDRStrange, it checks if the index is set first. Anyhow, I’ve pushed v1.2.4 just now which adds more ways to detect the server addr so perhaps that helps in your situation.
Forum: Plugins
In reply to: [iQ Block Country] IQ Blocker Stopped WorkingHi,
Yes sorry for the late reply, Time difference and lots of work 🙂 On the tools tab there is indeed a section with the IP header information and if the detection does not work for you you should choose the header that has your own IP address.
Which values were set in your case?
Forum: Plugins
In reply to: [iQ Block Country] IQ Blocker Stopped Workingv1.2.3 has been released today. I’ve tweaked the detection of IP’s a bit (aka it compares the detected ip address to your server ip address) if this does not work you can override it.
You can check the tools tab, at the bottom of the page there are a couple of header names with either values or not. If your IP address is not properly detected check this tab for which header detects your IP address and set the override setting on the home tab to this header.
Forum: Plugins
In reply to: [iQ Block Country] Logging table out of viewI’ve set a cutoff for very long urls in the latest release, works for my test urls but feel free to respond back if it is not sufficient for you.
Forum: Plugins
In reply to: [iQ Block Country] IQ Blocker Stopped Working@jixxer There is a beta version available for testing that allows you to override the ip detection process if it goes wrong for your setup.
So far it seems to be limited to HostGator accounts
Forum: Plugins
In reply to: [iQ Block Country] wrong ip detectedThis might be linked to this topic:
https://ww.wp.xz.cn/support/topic/iq-blocker-stopped-working/
Forum: Plugins
In reply to: [iQ Block Country] Plugin not working after WP updateAh sorry then I misunderstood what you were writing.
If you still have issues you can send an email to the support mail adress listed in the plugin with:
– a export of your iQ Block Country settings
– Screenprint/pdf/copy of the info on the tools tab
– Output of the ip lookup of your own IP address on the tools tab.Forum: Plugins
In reply to: [iQ Block Country] IQ Blocker Stopped WorkingThe code for this is pretty much in place it just needs to tested
Forum: Plugins
In reply to: [iQ Block Country] Spam from blocked countryWould you be able to provide the following?
– Output of the tools tab of the iQ Block Country setting
– Table dump of the logging table
– Raw webserver access log around the time it occured
– IP address of the spam commenterForum: Plugins
In reply to: [iQ Block Country] IQ Blocker Stopped WorkingOkay… I know Apache (it’s pretty much the most runned software for webservers) and if you upgrade it properly it would not just break this or other plugins so the answer is kind of BS.
Anyhoo the way the plugin works now is it does it best to detect the proper IP address even if a visitor tries to hide it behind a proxy or other solution. Obviously Hostgator uses multiple headers with different IP addresses. I am planning to build a override solution so you can set which header should only be used to help in this kind of situations
Forum: Plugins
In reply to: [iQ Block Country] Plugin not working after WP updateHi,
No it’s been tested with 5.1.1 but you mention you cleared the cache. So I assume you use a caching plugin.
If you use a caching plugin (or other caching solution) WordPress is not started for those pages in your cache and the iQ Block Country plugin needs to be started by WordPress before it can do it’s job.
Ergo if your page is in cache and a visitor from a blocked country visits your site it will get the page from cache. It just needs 1 visitor for the page to get cached after all so between you clearing the cache and you trying to access your own page that visitor might just have passed.
I definitely would not recommend caching and using a geo blocking solution unless you have a geoblocking solution integrated in your caching (but this can only be done by for instance by running varnish and some commercial caching solution providers also provide this kind of service).
Forum: Plugins
In reply to: [iQ Block Country] Uninstall Reinstall ErrorsWhen deactivating and removing the plugin it should remove all settings. If you’ve just removed the plugin from the filesystem it has no chance to do that of course.
From your wp_options table you can remove anything that starts with blockcountry_
Super, glad it is resolved either way 🙂
Forum: Plugins
In reply to: [iQ Block Country] WooCommerce SupportHi Daniel,
I do not have a real setup for woocommerce as it would be used ‘in the field’. So at this moment I cannot judge if this would be easy to add or not.
A test setup of a real woocommerce installation would be helpful if anyone is willing to provide.
I find it odd that the whitelisted ip address is on the list of most blocked (unless you whitelisted it after a couple of blocks already then it would make sense).
A 504 error is generally something a (reversed) proxy would give if the requested website has a very slow response time and the request eventually has a timeout. If the request would be blocked by the plugin this would be done in like for instance a second and would result in a different HTTP error code.