Notifications
Clear all

Lock account

15 Posts
5 Users
0 Reactions
3,513 Views
(@lyndsie)
Posts: 1263
Member Moderator
Topic starter
 

Site: www.dracoandginny.com, running 3.1.1

I tried locking an account today, and after I click the "lock account" link in their profile it takes me to the admin panel, but without displaying any sort of message.  I tested it by attempting to lock my test account, and it doesn't appear to have worked.  It happens in both skins, and nothing appears with debug on.


 
Posted : 09/02/2007 1:48 am
(@tammy)
Posts: 2577
Member Moderator
 

The link in the profile is pointing to an out of date location. Use the Admin->Members panel instead for now.  Choose "Unlocked Members" and then click on the name of the member you want to lock out.


 
Posted : 09/02/2007 2:20 am
(@lyndsie)
Posts: 1263
Member Moderator
Topic starter
 

I went to the admin panel, then members.  Then I clicked "Unlocked Members", which happens to be 8,080 people.  Since the particular user has a name that starts with S, I clicked that letter.  Here's what I got:

Query: SELECT COUNT(DISTINCT author.uid) FROM secondfanfiction_authors as author LEFT JOIN secondfanfiction_stories as stories ON stories.validated > 0 AND (FIND_IN_SET(author.uid, stories.coauthors) > 0 OR stories.uid = author.uid) LEFT JOIN secondfanfiction_authorprefs as ap ON author.uid = ap.uid WHERE (ap.level IS NULL OR ap.level > -1) AND S AND author.penname LIKE 'S%'
Error: (1054) Unknown column 'S' in 'where clause'

I did manage to navigate using the pagelinks (and by changing the offset in the URL), and I got very close to the correct username before either my Internet connection went down to 7Kb/s again (worst "high speed" ever) or the server had issues.  So I guess I'll tell you if it worked once it gets going again.

Edit: because of the combo of 8000 members and really slow internet, it took a while, but it worked.  Still get MySQL errors clicking on the letters, though.


 
Posted : 09/02/2007 1:53 pm
(@lyndsie)
Posts: 1263
Member Moderator
Topic starter
 

At the request of Jan_AQ:

After upgrading to 3.2.1, I was able to lock accounts through the admin links when viewing profiles.

However, when I attempted to log in using the locked account, I got this:

TemplatePower Error: Template isn't prepared!
rn

I can log in and out normally, so it appears to be only for the locked account.  I'm not sure what is supposed to appear when a locked user attempts login, though.

(The MySQL error in the letter links is also fixed.)


 
Posted : 21/03/2007 11:04 pm
(@tammy)
Posts: 2577
Member Moderator
 

It'll be fixed with the next update.


 
Posted : 25/03/2007 3:22 am
(@fanfictionworld)
Posts: 149
Estimable Member
 

aha yes this is the same problem im getting and great to hear that it will be fixed with the next update πŸ™‚


~Spikey~

my site url: http://www.fanfictionworld.org
efic version:3.5.3

 
Posted : 19/05/2007 3:43 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Can someone please verify if this is fixed or not? thank you.


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 07/07/2007 5:41 pm
(@fanfictionworld)
Posts: 149
Estimable Member
 

on my 3.3  testsite I get "You are not authorized to access that function" when trying to log in with a locked account

so I'd say its not fixed yet :p


~Spikey~

my site url: http://www.fanfictionworld.org
efic version:3.5.3

 
Posted : 08/07/2007 12:15 pm
(@itanshi)
Posts: 381
Reputable Member
 

How is that incorrect? Maybe it should read "Your account has been locked" or something, but a locked account trying to log in ought be blocked by the script, right? Or am I reading you wrong?


I am rebuilding efiction! Join us on irc! #efiction at www.mibbit.com Instructions for irc πŸ˜€ Alpha released!

 
Posted : 08/07/2007 2:36 pm
(@fanfictionworld)
Posts: 149
Estimable Member
 

How is that incorrect? Maybe it should read "Your account has been locked" or something, but a locked account trying to log in ought be blocked by the script, right? Or am I reading you wrong?

Yeah it should read that the account has been locked


~Spikey~

my site url: http://www.fanfictionworld.org
efic version:3.5.3

 
Posted : 08/07/2007 3:48 pm
(@lyndsie)
Posts: 1263
Member Moderator
Topic starter
 

Jan_AQ asked me to report back on this a while ago, and I just upgraded to 3.3 yesterday.

The message is different than the one I reported earlier for 3.2.1.  It says instead, "You are not authorized to access that function."

If that is what it is meant to say, then it appears to be working correctly.  The header and footer are both appearing (I don't think they did before), so it looks good to me.

If there's meant to be some explanation about the account being locked, then it's not working.  I'm not sure what is intended.


 
Posted : 27/07/2007 8:41 pm
(@fanfictionworld)
Posts: 149
Estimable Member
 

im pretty sure its supposed to say that the accounts been locked by an admin (im sure I seen this in the languages/en.php file)

so im pretty sure that it has not been correctly fixed as of yet


~Spikey~

my site url: http://www.fanfictionworld.org
efic version:3.5.3

 
Posted : 28/07/2007 6:18 pm
(@lyndsie)
Posts: 1263
Member Moderator
Topic starter
 

From languages/en_admin.php, line 4:

define ("_ACCTLOCK", "Your account has been locked. Please contact the site administrator for further information.");

 
Posted : 30/07/2007 1:01 am
(@tammy)
Posts: 2577
Member Moderator
 

Bump.  This should be fixed in 3.3.1


 
Posted : 15/10/2007 6:30 pm
(@itanshi)
Posts: 381
Reputable Member
 

Confirm fixed, vote topic relocation and thanks again.


I am rebuilding efiction! Join us on irc! #efiction at www.mibbit.com Instructions for irc πŸ˜€ Alpha released!

 
Posted : 16/10/2007 1:00 pm
Share: