Hi All,
I've banned all hosts by mistake while i was playing with users access control..
I'm now banned and can't do anything in mysite... :|
can anybody help me please..
Thx

Comments

miquael’s picture

I'm having a similar issue - perhaps it is related.

I'm new to Drupal, and started a site a few weeks ago. I just went back to it, and can't seem to find the admin log-in page. Isn't this it?

http://www.projectname.com/admin

or is it:

http://www.projectname.com/drupal/admin

In either case, I just get:

"Access denied - You are not authorized to access this page.

How do I log-in to my Drupal site?!!

~ Miquael

www.jalaka.com

nitro_n2o’s picture

My trouble is bigger :) ... I'm banned..
but it will be great if someone can help us??

miquael’s picture

This won't work either ...

http://www.projectname.com/?q=admin

Which is the right log-in URL?

nitro_n2o’s picture

Yeaaaaaaaaaaaaaaah.. problem is fixed :)
in case someone is interested i edited the _drupa_boostrap function in /includes/bootstrap.inc
there i replaced the code in case: BOOTSTRAP_ACCESS with the code in the BOOTSTRAP_SESSION
:) cooool

miquael’s picture

Maybe that will work for me?

Can you tell me what the right log-in URL is?

nitro_n2o’s picture

My problem is a little bit different!!!
I was playing around with access control; where you specify who is allowed to register in the site.. and by mistake I added a rule to deny everybody (deny every host)!!! So, basically i kicked myself from my site.. I didn't even get anything in the browser! all it says that IP Address xxx.xxx.xxx.xxx is banned.. and that is it..
so i had to edit the code and disable this feature in drupal temporarily...
I'm not sure about your problem though..
you are looking for the login box, right?

miquael’s picture

yes, just the simple log-in box.

what is the standard URL for a project? i think i have it right, want to confirm.

danieltome’s picture

TRUNCATE access;

This will empty the access table and remove all banned rules.

Or if you banned your IP accidentally:

Just remove your IP from the access table.

DELETE FROM access WHERE mask='YOUR IP HERE';

cheers,

leingang’s picture

I had the same problem and this was what fixed it for me. Lifesaver!

nitro_n2o’s picture

Tmanagement’s picture

Looks like SPAM!

see this more often lately.

nitro_n2o’s picture

www.projectname.com is not a real site!!!!!! wht spam r u talking about???

miquael’s picture

that's hilarious.

miquael’s picture

THAT'S IT!

THANKS!

miquael’s picture

oh yea, right ;) ... I just happen to own the URL "projectname.com" ;) [sarcasm]

[NOT] ;)

i bet whoever does get's a lot of hits.

thexinfo’s picture

I locked my self out and I trying to follow what you guys are saying but I just so new with this can you guys put it in simple for me on how to fix this problome thanks