All Acounts Locked after upgrade

Support for IntegraMOD 141

Moderator: Integra Moderator

All Acounts Locked after upgrade

PostAuthor: BoneHead » Fri Jan 19, 2007 1:55 am

Your phpBB Version: 2.0.
phpBB Type: phpBB / IMPortal
MODs: No
Your knowledge: Basic Knowledge
Board URL: http://localhost%20(xampp)

PHP Version:
MySQL Version:


What was done before the problem appeared?
Upgraded IMPortal to 1.4.1 with the phpbb_to_1.4.1 .script.


What was done to try to solve the problem?
Nothing, I'm at a total loss



De.scription and Message

Just as the above says, I took my IMPortal to 1.4.1 with no errors at all during the upgrade. Now once it is complete I try to login with the founder account and I get "account locked"

I try to login with a different account, also "account locked". So it seems that all of my accounts on my boards (currently testing it on local machine with xampp before updating the live board) are locked out.
Last edited by BoneHead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

BoneHead
Members
Members
 
Posts: 41
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 6:39 am
Cash on hand: 0.00
Location: Kansas City

Re: All Acounts Locked after upgrade

PostAuthor: Teelk » Fri Jan 19, 2007 2:47 am

Is there any more to the account locked error message? There are a few different mods installed that will block and each one has a different message. If we can narrow it down to which one it is, it might be easier to fix.

You had IM Portal installed on your phpBB and didn't get any "duplicate table error" sql messages while updating? You should have gotten these since the IM Portal tables should already exist.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: BoneHead » Fri Jan 19, 2007 4:57 am

Sorry, this account has exceeded its log in attempts. It is now locked. If you are the rightfull user, please click below to be redirected to a page to unlock your id.

Click Here to unlock your account.
Since ALL of the accounts are locked I'm unsure of how to proceed.

As far as the duplicates, nope, none.
Last edited by BoneHead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

BoneHead
Members
Members
 
Posts: 41
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 6:39 am
Cash on hand: 0.00
Location: Kansas City

Re: All Acounts Locked after upgrade

PostAuthor: Teelk » Fri Jan 19, 2007 5:21 am

You can try this query in phpmyadmin, it unlocks all users.

Code: Select all
UPDATE phpbb_users SET phpBBSecurity_login_tries = '1' WHERE user_id > '-2';
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

Re: All Acounts Locked after upgrade

PostAuthor: BoneHead » Fri Jan 19, 2007 5:56 pm

Nope, didn't work. Also, even before I ran the the query the phpBBSecurity_login_tries was already set to 1 on all accounts.

I still get the same error after running the query.
Last edited by BoneHead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

BoneHead
Members
Members
 
Posts: 41
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 6:39 am
Cash on hand: 0.00
Location: Kansas City

Re: All Acounts Locked after upgrade

PostAuthor: BoneHead » Sat Jan 20, 2007 5:37 am

I went into the user table and updated the founder to now include the security answer and question (just inputed normal text, didn't add anything to the Function column). However when I go to unlock the account I get an error stating
Sorry, the information you provided is incorrect.
Last edited by BoneHead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

BoneHead
Members
Members
 
Posts: 41
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 6:39 am
Cash on hand: 0.00
Location: Kansas City

Re: All Acounts Locked after upgrade

PostAuthor: Teelk » Mon Jan 22, 2007 7:50 pm

I'm sorry, it should be set to 0 not 1.

Code: Select all
UPDATE phpbb_users SET phpBBSecurity_login_tries = '0' WHERE user_id > '-2';


Give that another try.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

Re: All Acounts Locked after upgrade

PostAuthor: jbl7979 » Tue Jan 30, 2007 8:07 pm

I have the exact same issue, and after using the suggested fix, still all accounts are locked. When a user inputs their name and email address to unlock it, it says it is wrong (even if it is correct)

Additionally, I went into the database and by hand put in my password and security answer. I then tried to login, and answered correctly. IT told me my name was now unlocked. I try to login again, and its back to being locked.
Last edited by jbl7979 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jbl7979
Newbie
Newbie
 
Posts: 21
Likes: 0 post
Liked in: 0 post
Joined: Tue Jan 30, 2007 7:36 pm
Cash on hand: 0.00

Re: All Acounts Locked after upgrade

PostAuthor: Whisky » Wed Jan 31, 2007 7:27 am

how did you changed your password sussfully in the DB? It's a crypted field! :idea:
Last edited by Whisky on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
I am the Lizard King, I can do anything

Whisky
Sr Integra Member
Sr Integra Member
 
Posts: 256
Likes: 0 post
Liked in: 0 post
Joined: Thu May 18, 2006 2:28 am
Cash on hand: 0.00
Location: Brussels

PostAuthor: BoneHead » Wed Jan 31, 2007 8:09 am

Yes, I am using a local server to test it out on before I put it up on my live server, especially since there seems to be alot of issues with the CrackerTracker.

If I change the settings (which I'm still unsure what I should be looking for to fix) will they impact the site once I transfer it from my local to my live?
Last edited by BoneHead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

BoneHead
Members
Members
 
Posts: 41
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 6:39 am
Cash on hand: 0.00
Location: Kansas City

Re: All Acounts Locked after upgrade

PostAuthor: Whisky » Wed Jan 31, 2007 8:28 am

no since there will be no files affected except may be the cache files.
Last edited by Whisky on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
I am the Lizard King, I can do anything

Whisky
Sr Integra Member
Sr Integra Member
 
Posts: 256
Likes: 0 post
Liked in: 0 post
Joined: Thu May 18, 2006 2:28 am
Cash on hand: 0.00
Location: Brussels

Re: All Acounts Locked after upgrade

PostAuthor: jbl7979 » Wed Jan 31, 2007 8:43 am

"Whisky";p="20941" wrote:how did you changed your password sussfully in the DB? It's a crypted field! <img>



I followed instructions on the phpbb site. Basically you just type in plain text and change the value type to something else, md5 or something, I dont remember exactly.

Anyway, I just did a clean install of integra 141, then I took the sql dump of my old site and inserted everything I could by hand. The only problem was there were a handful of things missing from the phpbb_users table so I had to go through each of those. Once that was done it was working perfectly.
Last edited by jbl7979 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jbl7979
Newbie
Newbie
 
Posts: 21
Likes: 0 post
Liked in: 0 post
Joined: Tue Jan 30, 2007 7:36 pm
Cash on hand: 0.00

Re: All Acounts Locked after upgrade

PostAuthor: Whisky » Wed Jan 31, 2007 8:46 am

Hopefully you should not have a large DB or it would took you ages :wink:
Last edited by Whisky on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
I am the Lizard King, I can do anything

Whisky
Sr Integra Member
Sr Integra Member
 
Posts: 256
Likes: 0 post
Liked in: 0 post
Joined: Thu May 18, 2006 2:28 am
Cash on hand: 0.00
Location: Brussels

PostAuthor: jbl7979 » Wed Jan 31, 2007 10:05 am

It was not a lot of users, the only two things that were large really were the amt of posts and the text of posts. Thats just one quick cut and paste of a huge block as opposed to a cut and paste of a smaller block of sql. No big deal!
Last edited by jbl7979 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jbl7979
Newbie
Newbie
 
Posts: 21
Likes: 0 post
Liked in: 0 post
Joined: Tue Jan 30, 2007 7:36 pm
Cash on hand: 0.00

PostAuthor: jbl7979 » Wed Jan 31, 2007 1:36 pm

BTw Im not from Albania, i just was lazy and chose that to register, I didnt plan on posting when I reg'd.
On a side note Whisky, LOVE your guild site from the other post. Simply terrific. Thats what my forum is used for, my wow guild. Too bad I cant hope to achieve what you have on their. A+++
Last edited by jbl7979 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jbl7979
Newbie
Newbie
 
Posts: 21
Likes: 0 post
Liked in: 0 post
Joined: Tue Jan 30, 2007 7:36 pm
Cash on hand: 0.00

PostAuthor: BoneHead » Wed Jan 31, 2007 1:50 pm

jbl...is there an easy way to do that? my board has been up for a couple of years and has about 100 users with close to about 1000 or more pics in dozens of different albums.
Last edited by BoneHead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

BoneHead
Members
Members
 
Posts: 41
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 6:39 am
Cash on hand: 0.00
Location: Kansas City

PostAuthor: Whisky » Thu Feb 01, 2007 1:11 am

"jbl7979";p="20963" wrote:BTw Im not from Albania, i just was lazy and chose that to register, I didnt plan on posting when I reg'd.
On a side note Whisky, LOVE your guild site from the other post. Simply terrific. Thats what my forum is used for, my wow guild. Too bad I cant hope to achieve what you have on their. A+++

We do not give or sell our themes at the moment, we'll maybe sell them (for a democratic price) if we have a real demand but at at the moment nothing, anyway for the rest you you can always ask I share my IM hacks on demand <img>
What's your site?
Last edited by Whisky on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
I am the Lizard King, I can do anything

Whisky
Sr Integra Member
Sr Integra Member
 
Posts: 256
Likes: 0 post
Liked in: 0 post
Joined: Thu May 18, 2006 2:28 am
Cash on hand: 0.00
Location: Brussels

Re: All Acounts Locked after upgrade

PostAuthor: jbl7979 » Thu Feb 01, 2007 8:17 am

Oh I didnt want your theme, I gotta play around seeing what I can do with it first before I give up :(
Last edited by jbl7979 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jbl7979
Newbie
Newbie
 
Posts: 21
Likes: 0 post
Liked in: 0 post
Joined: Tue Jan 30, 2007 7:36 pm
Cash on hand: 0.00

Re: All Acounts Locked after upgrade

PostAuthor: Teelk » Thu Feb 01, 2007 3:50 pm

Still having this issue? Only thing I can think of at the moment is that everyone is in the banlist, although you're not quite getting the message I think you would be.

You can try the following SQL which will empty the banlist table, which will also unban all users you want to ban. Of coarse, that's better then not being able to access your forums.

Code: Select all
TRUNCATE TABLE phpbb_banlist;
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

Re: All Acounts Locked after upgrade

PostAuthor: jbl7979 » Fri Feb 02, 2007 12:27 pm

"Teelk";p="21087" wrote:Still having this issue? Only thing I can think of at the moment is that everyone is in the banlist, although you're not quite getting the message I think you would be.

You can try the following SQL which will empty the banlist table, which will also unban all users you want to ban. Of coarse, that's better then not being able to access your forums.

Code: Select all
TRUNCATE TABLE phpbb_banlist;


Nah I just cut and pasted directly from the SQL user table of the plan phpbb forum into the new version. I guess one of the missing rows was causing every user to be locked because even if they answered the security questions it wasnt updating parts of the table because they werent there. Or I could be wrong <img>
Last edited by jbl7979 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

jbl7979
Newbie
Newbie
 
Posts: 21
Likes: 0 post
Liked in: 0 post
Joined: Tue Jan 30, 2007 7:36 pm
Cash on hand: 0.00

Re: All Acounts Locked after upgrade

PostAuthor: Maddeen » Fri Feb 02, 2007 1:54 pm

hi,

i got the same problem but only with some users. People who join my forum were told that they are banned. but bannedlist etc. is completly empty. so i tried Teelk option ..
[align=center:hyloy62m]And for me --> Truncate worked.[/align:hyloy62m]

So have a try.

THX @ Teelk
Last edited by Maddeen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Maddeen
Newbie
Newbie
 
Posts: 22
Likes: 0 post
Liked in: 0 post
Joined: Tue Jan 30, 2007 5:04 pm
Cash on hand: 0.00

Re: All Acounts Locked after upgrade

PostAuthor: BoneHead » Fri Feb 02, 2007 4:46 pm

Not sure what the problem was, but I've got it working now. I completely deleting everything including the database and trying again. But this time instead of going from IMPortal to 141, I went IMPortal to IM140 and upgraded to IM141 and all is well.

Not sure what the problem was, I'm guessing due to using my home machine for the testing purposes instead of the actual server.
Last edited by BoneHead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

BoneHead
Members
Members
 
Posts: 41
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 6:39 am
Cash on hand: 0.00
Location: Kansas City

PostAuthor: William_Syd » Sun Jun 24, 2007 8:21 am

"jbl7979";p="20946" wrote:
"Whisky";p="20941" wrote:how did you changed your password sussfully in the DB? It's a crypted field! <img>



I followed instructions on the phpbb site. Basically you just type in plain text and change the value type to something else, md5 or something, I dont remember exactly.

Anyway, I just did a clean install of integra 141, then I took the sql dump of my old site and inserted everything I could by hand. The only problem was there were a handful of things missing from the phpbb_users table so I had to go through each of those. Once that was done it was working perfectly.


I have the same problem.

Will just copy everything over by hand.
Last edited by William_Syd on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

William_Syd
Newbie
Newbie
 
Posts: 6
Likes: 0 post
Liked in: 0 post
Joined: Wed Jun 20, 2007 10:57 pm
Cash on hand: 0.00

Re: All Acounts Locked after upgrade

PostAuthor: William_Syd » Wed Jun 27, 2007 5:47 am

I get the feeling that the update .script does not correctly update the phpbb_config table.

How many rows should be in this table ?
Last edited by William_Syd on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

William_Syd
Newbie
Newbie
 
Posts: 6
Likes: 0 post
Liked in: 0 post
Joined: Wed Jun 20, 2007 10:57 pm
Cash on hand: 0.00

Re: All Acounts Locked after upgrade

PostAuthor: Lims » Sun Jul 22, 2007 1:54 pm

I am having this issue after upgrading phpBB 2.0.22 to IM141.

Our version of phpBB 2.0.22 was stock, no addons that I am aware of.

I fixed the minical issues that several people were experiencing by updating the values in teh database.

Even after running the SQL query to set the login tries to 0 they are still locked.

I have added in a security question and hashed answer within the database. If I go thru the procedure to unlock an account it thanks me for unlocking it, but when I go to login again it still says that we exceeded the attempts. I've searched the forums thru and thru. I'm at a loss, any help is much appreciated.
Last edited by Lims on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Lims
Newbie
Newbie
 
Posts: 1
Likes: 0 post
Liked in: 0 post
Joined: Sun Jul 22, 2007 12:11 pm
Cash on hand: 0.00

Re: All Acounts Locked after upgrade

PostAuthor: Coder » Fri Jul 27, 2007 4:27 am

I'm stuck with exactly the same issue! I traced the calls back and it comes down to line 159 of phpbb_security.php:
Code: Select all
        if ($val == '3')             message_die(GENERAL_MESSAGE, $lang['PS_security_force'], $lang['PS_security_info']);
Tracing this backwards, the only reference I can find is from a check on the presence of the security question and answer on line 1391 of page_header.php]             if (!$userdata['phpBBSecurity_answer'] || !$userdata['phpBBSecurity_question'])                 phpBBSecurity_Force();  [/code]Problem is that this code is commented out!! The comment above it reads:
Code: Select all
    /* removed by PCP Extra ] but there is nothing following this in the file that isn't also commented out, up to the final ?> !!

I tried the truncate method - nothing! I also tried replacing the security questions and answers with both text and with hashes - still nothing!!

Fortunately, this is all on my test site, not on the live site, but even so, I'm spending hours on end going through lines of code trying to figure out a resolution for it - if anyone has a short answer, I'd love to hear it!!!

Edit: The mystery deepens! The code in phpbb_security.php at line 160 calls for a language line which is being incorrectly displayed!  It [u]should[/u] read: [code]$lang['PS_security_force']           = 'Sorry, it appears this is your first visit since we added the security questions to accounts. You will only be able to view your profile until you update it and add a question and answer. Thanks!<br><br>Click <b><a>here</a></b> to goto your profile.';
To make it more interesting, commenting out the calling line produces the same erroneous error message! ... still working on it!
Last edited by Coder on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Coder
Newbie
Newbie
 
Posts: 16
Likes: 0 post
Liked in: 0 post
Joined: Tue Jun 26, 2007 8:43 am
Cash on hand: 0.00
Location: Phoenix, AZ

Re: All Acounts Locked after upgrade

PostAuthor: Helter » Fri Jul 27, 2007 6:17 am

check phpbb_banlist

make sure that user id -1 is not banned
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: All Acounts Locked after upgrade

PostAuthor: Coder » Sat Jul 28, 2007 1:41 pm

phpbb_banlist was truncated per previous suggestions, it contains zero rows.

I'm now at a point where I get the login screen at the main portal. Logging in takes me back to the exact same screen. I tried modifying the address bar to include the "?mode=register&sub=registering&sid=" from the error message quoted above and it goes to the login.php screen with the redirect. Logging in takes me to the same screen, with the redirect still in the address bar:[code]http]

I didn't truncate it, it ends with 'msub=' - the sid is gone. I suspect that this is from the force_required() function in functions_profile.php - still working on picking that apart to follow the logic in it.
Last edited by Coder on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Coder
Newbie
Newbie
 
Posts: 16
Likes: 0 post
Liked in: 0 post
Joined: Tue Jun 26, 2007 8:43 am
Cash on hand: 0.00
Location: Phoenix, AZ

Thanks for the help (indirectly)

PostAuthor: DeckerZ » Thu Nov 22, 2007 8:15 pm

Thanks mate I was browsing for help to unlock my Admin account and I found it here and it worked first time.
This is the line I used in the phpMyAdmin query:

UPDATE phpbb_users SET phpBBSecurity_login_tries = '1' WHERE user_id > '-2';

Thanks a lot mate. I'm one very happy man now <img>
Last edited by DeckerZ on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

DeckerZ
Newbie
Newbie
 
Posts: 13
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 27, 2007 6:23 am
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]