Skip to:
Content
Pages
Categories
Search
Top
Bottom

locked out of admin


  • andrew55
    Participant

    @andrew55

    I recently moved our bbPress installation from one folder to another. Everything seemed to go well, accept when I loggged in, my admin account lost all admin privileges.

    Fortunately, I have another second test bbPress installation and could see what admin status looks like in phpmyadmin.

    So, in the first installation, using phpmyadmin, in the metavalue of the wp_usermeta table, I changed:

    a:2:{s:10:"subscriber";i:1;s:15:"bbp_participant";b:1;}

    to…

    a:2:{s:13:"administrator";b:1;s:13:"bbp_keymaster";b:1;}

    It seems to work. My admin account has admin privileges.

    Now I understand the administrator and bbp_keymaster in the string, but what about the rest of the characters? For example, I changed s:10 to s:13.

    Is this OK?

    I’m just not sure what these other characters mean and what they need to be.

    Thanks for any help.

Viewing 1 replies (of 1 total)

  • Robin W
    Moderator

    @robin-w

    the a:2 says that there is an array with two entries then they are contained within the {}

    the S:13 says that the entry is a string with 13 letters ie ‘administratior’ so yes you need to change that if you change the contents.

    dinlt know what the b:1 is, except that you need it after the entries !

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar