IP Banned Locally?
Permalink 1 user found helpful
Hello all
Not sure if this is the right forum for this particular issue but I just tried to log in to my dashboard this evening (i'm running my site locally at the moment) and when I put my login details in I got this message :
Unable to complete action: your IP address has been banned. Please contact the administrator of this site for more information.
What?!?!
I'm totally fresh to concrete5 so I have literally no idea what to do now. Do I have to reinstall?
Thanks
Not sure if this is the right forum for this particular issue but I just tried to log in to my dashboard this evening (i'm running my site locally at the moment) and when I put my login details in I got this message :
Unable to complete action: your IP address has been banned. Please contact the administrator of this site for more information.
What?!?!
I'm totally fresh to concrete5 so I have literally no idea what to do now. Do I have to reinstall?
Thanks
Worked perfectly, thanks a bunch!
Same issue but that worked for me too!!! Thanks!!!
Is there any downside to doing this? I have a fresh install too, but I added a theme to the project. When I went to login it says my password is wrong (I copied/pasted it from a file so I'm not sure how that happened). Anyway, now my IP is banned. After I am done with this site and hand it off to a client, is there anything wrong with this using this method or does it make them vulnerable?
@eriset
I would not recommend using this on a live site. I believe it would add a potential vulnerability.
I would not recommend using this on a live site. I believe it would add a potential vulnerability.
Hi MrKDilkington,
Can we use this code in live instance?
I have cleared the IP addresses from the table UserBannedIPs. But, just to make sure this issue is not encountered again.
Thanks,
Mohammed
Can we use this code in live instance?
I have cleared the IP addresses from the table UserBannedIPs. But, just to make sure this issue is not encountered again.
Thanks,
Mohammed
Hey thanks for this tip. This worked just great!
Just had this happen, never seen it before... Couldn't get this config fix to work on a local site.
Managed to remove the IP ban by going to my database in phpMyAdmin, going to the table 'UserBannedIPs' and deleting the offending (+ only) row.
Managed to remove the IP ban by going to my database in phpMyAdmin, going to the table 'UserBannedIPs' and deleting the offending (+ only) row.
I am brand new to concrete5, and a beginner at installing and building websites on localhost. I tried this php file as well, but it did not work. After searching I found this solution in the documentation. I have concrete5 on my localhost with WAMP.
you can find it on the concrete5 site at
/documentation/how-tos/developers/i-cant-login/
The solution worked great. Now I am up and running again.
The basics are
1) when you can't login, send yourself an email from the "forgot password" link. (even though you are on a localhost,and even if you used a fake email address this works for this solution)
2) Open your PhpMyAdmin
3) click on your database
4) find and open the LOGS table
5) Even if you brilliantly setup concrete5 with a fake email, the message Concrete5 is trying to send will be logged here. Go ahead and look at the content of that email. There will be a link in it. Click that link.(or copy and paste the link in your browser)
Hope this helps someone else.
you can find it on the concrete5 site at
/documentation/how-tos/developers/i-cant-login/
The solution worked great. Now I am up and running again.
The basics are
1) when you can't login, send yourself an email from the "forgot password" link. (even though you are on a localhost,and even if you used a fake email address this works for this solution)
2) Open your PhpMyAdmin
3) click on your database
4) find and open the LOGS table
5) Even if you brilliantly setup concrete5 with a fake email, the message Concrete5 is trying to send will be logged here. Go ahead and look at the content of that email. There will be a link in it. Click that link.(or copy and paste the link in your browser)
Hope this helps someone else.
Thanks alot, saved my day. :)
Where is my PhpMyAdmin? (sorry, VERY new to this)
@chrislarueonline
phpMyAdmin should be available in your web host control panel.
phpMyAdmin should be available in your web host control panel.
I have not encountered this before, but here is something you can try if you are using version 5.7.
- create a concrete.php file in application\config
application\config\concrete.php
- paste this code into concrete.php