Skip to content
General Revolution Evolution Add-ons International
Login | Register | MODX.com
MODX Open Source Content Management System, Framework, Platform and More.
Find a Partner | Hosts + SaaS | Jobs | Donate
  • RegisterSign Up with the MODX Community
  • LoginUse Your MODX.com Account
  • MODX Community Forums
  • General
  • General Support
  • MODx 101
  •  
  • <
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • >
  • [Tutorial] Help I'm Blocked from the Manager and Can't Get In!#

  • 33337
    3,901
    - MODX Special Forces
    Share and explore websites made in MODx by Zaigham's Web | Tweet @zaigham | Resource Center


    MODx Current | MODx on Git! | BUGS! | RTFM (Read the Fully awesome Manuals)

    Zaigham (aka zi) Reply #1, 7 years ago

    Reply
    • Link to this post#1
    So you get blocked from MODx Content Manager!

    No problem, just read this step by step guide and in less then 5 minutes you will be able to login again.

    You need to have access to phpMyAdmin on your host, if you have not then ask your service provider.
      *Now open phpMyAdmin.
      *Select your database from dropdown list in left menu of phpMyAdmin. ( e.g. modx )
      *Now, you see the list of tables displayed in left menu.
      *Find table name with "table_prefix_user_attributes". ( e.g. modx_user_attributes )
      *Find your username in the list.
      *In your username row, you will find field named "blockeduntil" and this field contains 10 digits value (e.g. 1116602445)
      *Edit the field, and set the value to "0" (zero).
      *Exit from phpMyAdmin, and you are done.

    Best regards,

    -zi

    WARNING: Before doing any manual database work, please backup your database, especially the table you are working with.


  • 28042
    15,092
    How MODx Evo Works

    Log in to an Evo Manager username guest, password guestuser.

    sottwell Reply #2, 7 years ago

    Reply
    • Link to this post#2
    It's been suggested before that it's a good idea to make sure to create a second admin user right away, just for this sort of problem.


  • 33496
    19
    Johnny Chadda
    http://johnny.chadda.se
    "This is a UNIX virus. Please remove all your files and copy this message to friends."

    zeth Reply #3, 7 years ago

    Reply
    • Link to this post#3
    If you don't have phpMyadmin, or want to do it from the MySQL commandline, do the following:

    1. mysql -u username -p
    2. use yourModxDatabaseName;
    3. UPDATE modx_user_attributes SET WHERE;


  • 33337
    3,901
    - MODX Special Forces
    Share and explore websites made in MODx by Zaigham's Web | Tweet @zaigham | Resource Center


    MODx Current | MODx on Git! | BUGS! | RTFM (Read the Fully awesome Manuals)

    Zaigham (aka zi) Reply #4, 7 years ago

    Reply
    • Link to this post#4
    Than you very much Sottwell and zeth !! for your suggestions.

    Best regards,

    -zi


  • 32963
    1,732
    xWisdom
    www.xwisdomhtml.com
    The fear of the Lord is the beginning of wisdom:
    MODx Co-Founder - Create and do more with less.

    xwisdom Reply #5, 7 years ago

    Reply
    • Link to this post#5
    What if we should add a forget (or reset) password feature to the manager? Maybe something like the one used with weblogins. It would send a new password to the user's email that would require activation


  • 33337
    3,901
    - MODX Special Forces
    Share and explore websites made in MODx by Zaigham's Web | Tweet @zaigham | Resource Center


    MODx Current | MODx on Git! | BUGS! | RTFM (Read the Fully awesome Manuals)

    Zaigham (aka zi) Reply #6, 7 years ago

    Reply
    • Link to this post#6
    What if we should add a forget (or reset) password feature to the manager? Maybe something like the one used with weblogins. It would send a new password to the user's email that would require activation

    PERFECT !!!

    Regards,

    -zi


  • 32241
    1,495
    Wendy Novianto
    PT DJAMOER Technology Media
    Xituz Media

    wendy Reply #7, 6 years, 4 months ago

    Reply
    • Link to this post#7
    should we do this as a snippet right away, would you mind reporting it to the feature/bug report? Maybe some developer able to do it, or maybe us can do it too. Maybe we need to ask ryan, whether he wants this to be added as a feature request or not.

    What I have in mind is, having a forgot password link, and when the user click on it, and it will request for both username and email address, then it will set the blockeduntil into random number, and send both password and this number to the admin email address, if both username and email is matched.

    Then in the email, it will give a link to forgot password special page, which required admin name, password and this number to confirm the submission, if they're all right, it will reset the value.

    How's that sounds?


  • 3595
    30

    blogplus Reply #8, 6 years, 3 months ago

    Reply
    • Link to this post#8
    During the installation both head and papers becomes full of crows feet.

    1. When logging into MODx manager session first time it's not really clear to me which login? ...the mysql-login or the admin login?

    2. Can I redo the login-setting via myPHPadmin? (maybe up/low case confusion here)


  • 32241
    1,495
    Wendy Novianto
    PT DJAMOER Technology Media
    Xituz Media

    wendy Reply #9, 6 years, 3 months ago

    Reply
    • Link to this post#9
    It's better if you have access to phpMyAdmin, then do it from there, instead of reinstalling everything again. But if you're insisting to re-install it. then find an instalation folder on your MODx download, and re-upload that folder to your MODx remote folder. Then you need to remove config.inc.php file on your "manager/include" folder. After you're done with that, browse your site again, then it will prompt you with a new setup screen.

    You might want to choose differen table prefix, if you haven't delete all the tables created during the first installation.


  • 3595
    30

    blogplus Reply #10, 6 years, 3 months ago

    Reply
    • Link to this post#10
    Quote from: Djamoer at Jan 27, 2006, 08:33 AM
    It's better if you have access to phpMyAdmin, then do it from there, instead of reinstalling everything again.

    What you suggest?
    The MODx-login should be the mySQL-login... right!?

    So, then I can create a new all preference user with a new login? (and delete the non operational afterwards)


  • <
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • >



Actions

Login to Post

Other Support Options

To file a bug or make a feature request visit our issue tracker, or you can also purchase commercial support.

Love MODX?

If you build sites for a living with MODX or just love using it, why not give back?

Information

Posted in this thread:
BobRay, GJCANHELP, KansasCoder, andrew.abogado, blogplus, boomerang, c.kurtzmann, candy_graphics, chinesedream, colinx, conradk, jzigbe, lazymouse, milicicd, mrpdl, rethrash, ronmayer, sottwell, tifo, wendy, wshawn, xwisdom, zaigham, zeth, zowwie

 
Back to Top

MODX Global HQ

1333 N Stemmons Fwy, Ste 110
Dallas, TX 75207
United States

+1 (469) 777-MODX (6639)

The MODX Company

  • Contact
  • Media Center
  • Careers at MODX
  • Wall of Fame
  • The MODX Blog

Sponsors

SoftLayer Firehost: Secure Cloud Hosting

Stay Connected

Read our previous email newsletters.

Twitter Facebook Google+ LinkedIn github Feeds

Privacy Policy | Terms of Service | Pixels by AKTA Web Studio© 2005-2012 MODX. All rights reserved. Trademark Policy