I updated to the new version of IQ Blockcountry today.
Now I can’t get into my dashboard!!
I had potection for my baclkend just for my IP and that of my support Admin
It seems to me that the new version is not recognising those IP’s.
I also support another wordpress site and that site has the same issue.
Any suggestions on how to overcome this?
]]>Though on the other site I support there is not membership and nor is there an an access denial screen. The error given there is
Access to xxxxxxxxxxxx.com was denied
You don’t have authorisation to view this page.
HTTP ERROR 403
If it helps (but I believe this is coincidental) that IP that still seems to work is a full IP – for example xxx.xxx.xxx.xxx
All others appear to have at least 1 digit less in each of the 4 IP address sections for example xx.xxx.xxx.xxx or xx.xx.xxx.x or xx.xx.xxx.xxx
Also the non accepted IP’s are from different countries none of which are banned countries and all worked fine before this new version update.
In both sites the 2nd of only 2 IP’s defined into the backend whitelist have both managed to get into the respective site dashboard but the 1st IP in both sites backend whitelist could not. Consequently because one could reach the plugins page in the dashboard IQ BlockCountry has been deactivated and the sites work ok again – though I obviously want to restore the IQ BlockCountry functionality asap.
]]>I am afraid nothing has changed in that area with the new version.
Is this the error message you entered in the plugin?:
Access to xxxxxxxxxxxx.com was denied
You don’t have authorisation to view this page.
HTTP ERROR 403
Because it looks like a general webserver error. Perhaps generated by a .htaccess file.
More information on the reason why may be found in your raw error log files that may be accessible via for instance a control panel.
]]>Look at it this way – with the new version of IQ Block Country both sites have stopped working. The only difference betwwen the 2 sites is one has a URL to go to for explaining the denial and the one that issues the Access to xxxxxxxxxxxx.com was denied does not have a URL to go to for explaining the denial.
With the site that does have the URL to go to I (the Admin and the first IP in the backend whitelist) am routed to the denial URL if I try to go to my dashboard or if I try to use the add post.
It is all very well saying I am afraid nothing has changed in that area with the new version.
But something has changed within IQ Block Country to be causing this to happen.
As I said earlier luckily the 2nd IP in the whitelist can get to the dashboard and after deactivating the IQ Block Country plugin then both sites work normally again.
And no my IP has not changed – All people that have some form of Dashboard functionality (authors) reported being routed to the denial screen – with the exception of the person who is 2nd (last) in the backend whitelist.
All I am doing here is giving you as much information as possible to try and help you isolate the cause of the issue.
I guess my next step is to look and see if IQ Block Country logged anything into a database prior to being routed to the denial URL (or in the case of the site with no denial URL then prior to going to the logic that issued the You don’t have authorisation to view this page message).
]]>So to recap. Both sites have countries blocked and whitelisted ip addresses (I assume to the backend?) and both sites have a redirect for the blocked people. External redirect or internal page redirect?
And on 1 site the second listed ip adddress could login but the first ip address was blocked?
Are you able to send either an export of the settings, and a database dump of the wp_iqblock_logging or a database dump of both the wp_options and the wp_iqblock_logging table?
]]>You also ask
Are you able to send either an export of the settings, and a database dump of the wp_iqblock_logging or a database dump of both the wp_options and the wp_iqblock_logging table?
Yes just let me know where to send them to.
]]>Can you also supply which IP address got denied and which gained access to be clear?
]]>What you can do is amend the value that is set in the database column blockcountry_backendwhitelist in the table wp-options
to be your current IP address
Hope that helps.
]]>If you look in the WP-Options table at the column blockcountry_backendwhitelist
You will find that the IP that is there is not your IP
For me, mine had changed to an IP in the same city – weird huh?
So see my reply to to hubber for how to fix
Going back thru my backups all backups predating the date I ran the update all had the incorrect IP so my assumption was it was not the update that caused it – but it made me wonder why the previous version did not pick up this IP as being wrong.
I am not out of the woods though. After the update, USA users could not access the frontend. (well an Admin USA user could but that person is defined to the backend whitelist)
I did an uninstall followed by a new install – and still had the issue.
Pascal is looking at this issue.
For now I have left IQ Block Country activated and unchecked Block Visitors from visiting the Frontend of your website and they were able to get in.
Obviously though that parameter should be ticked.
But at least by leaving IQ Block Country activated my backend is protected.
]]>