• Hi,

    When I try to access the network admin area of my WP-installation, the following error message is displayed: “You do not have permission to access this page.” My website runs fine, I can access the dashboards, I can FTP but I cannot update any plugins or add/remove users. My domain is at http://www.cornetsdegroot.com/
    Any help is much appreciated.

    Rutger

Viewing 7 replies - 16 through 22 (of 22 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    As a matter of fact, there was this anti-hack plugin that both recommended and enabled to change the network ID from the usual “admin” to e.g. “rhcdg”, which is what I did maybe a month or 2 ago. I am sure I logged into the network after that many times.

    *augh* Just … No. You can’t do that with Multisite.

    Go back to the beginning and work through the directions I gave you originally. If you’re EVER not sure you edited the right place, or can’t remember, you go back to make sure.

    Thread Starter RHCdG

    (@rhcdg)

    Thank you for getting back, Mika.

    So it cannot or should not be anything other than “admin”? Then why your example of “superman”? Mine is just “rhcdg”, what would be the difference?

    At any rate, I went ahead and changed “rhcdg” back to “admin”. The result is that the link to the network in the backend has gone. So has the number indicating the plugins that need updating by the network admin. When I type in the url of my domain followed by …/wp-admin/network/ I still get the message “You do not have permission to access this page.”

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    I want to preface this with a reminder: If this is all too technical for you, you may want to hire someone from http://jobs.wordpress.net – Keep in mind, running a Multisite Network is more technical than a single install. Still. So yes, we expect you know how to get into the database, do serialization safe search/replace and all that crazy stuff. Tis what it is.

    So what I meant was no, you cannot change the admin’s user name like that in Multisite. Well… you can, but it’s not as straightforward as how it is for a single site. It creates the mess like you’ve seen.

    And when I said go back to the beginning and work through the directions I gave you originally, that did not mean to go rename your account. It means go back to where you started this post. Read the directions again. Make absolutely sure you’re editing the correct DB tables.

    You need to stop and take your hands off your database for a moment, because you’ve fallen into the trap of ‘I’ve done something wrong, I’ll keep changing things and try to fix it!’ We all do this from time to time, it’s totally okay, but the only real fix is to stop and step back and reassess everything.

    Let’s collect information, and please note, I AM NOT ASKING YOU TO MAKE ANY CHANGES AT THIS TIME. Okay? πŸ™‚ Hands off the DB for right now. Yes, it’s broken, but making changes without all the information will continue to break it worse.

    1) What directions did you follow to rename your admin account? You can link to a webpage if that’s what you did.

    2) What is your DB prefix? This is located in your wp-config.php – it’s normally wp_ but it may not be.

    I’m going to assume it is wp_ for right now, but adjust your answers if not.

    3) In wp_usermeta what is the ID associated with your ‘admin’ account?

    4) In wp_usermeta what is the value for wp_capabilities (note! If your prefix is not wp_ then this will be prefix_capabilities instead) ?

    5) In wp_sitemeta what is the value for site_admins ?

    That should get us started and be able to come up with directions specific to you, and not as general.

    Thread Starter RHCdG

    (@rhcdg)

    Thanks again, Mika, for following up.

    1) I downloaded, installed, and followed instructions from a plugin called Admin Renamer Extended, found here.

    2) $table_prefix = ‘wp_’;

    3) I am not sure where to find this but here is a screenshot of the user_meta table

    4) a:1:{s:13:”administrator”;s:1:”1″;}

    5) a:1:{i:0;s:5:”admin”;}

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Okay.

    #1 was part of the problem. You cannot use that plugin with Multisite

    #5 – That’s what you need to change to a:1:{i:0;s:5:"rhcdg";}

    Thread Starter RHCdG

    (@rhcdg)

    Hi Mika,

    Thanks. I changed it back to “rhcdg” and now the link to the Network Administrator and the number indicating the number of plugins that need updating is back. However, if I click on them, the message “You do not have permission to access this page” is displayed again.

    So I am back to our posts from 2 weeks ago when I told you I changed “rhcdg” to “admin” in a failed attempt to find a solution.

    If you feel this thread is to particular to provide specific support on this forum then please let me know, and I will turn to paid support instead.

    Thanks for your help.

    Ohhh My…

    This is what im looking for the solution on our multisite websites..We have changed our administrator username..And we didnt notice that also will take effect on the network admin..

    I change the wp_sitemeta and look for site_admins and change with our new username and we can access now to our network admin…:)

    Cheers!!!!!!!!!

Viewing 7 replies - 16 through 22 (of 22 total)

The topic ‘No access to wp-admin/network/’ is closed to new replies.