0

I'm updating my local development environment with a backup of the files and database from our hosting provider, and while I can log into each of the sub-sites in the multisite, I can't log into the network admin. However, if I change the wp_config file to use the old database I was using before updating things, I can log in.

So that tells me that it's something in the database that is preventing it (not the code).

I've verified that the values in the wp_blogs table, and the wp_options for 'home' and 'siteurl' are the same. I've also compared the user_meta capabilities and user_level, but they're the same.

I can log into the production environment that I created the backup from.

I'm not seeing any errors in the logs. Any ideas of what could be different in the database that is preventing me from being able to log into the main site (network admin)?

2
  • There should be no issues entering the network admin if you're already logged in to a site on the network if that user is a super admin. Given that it's a local copy why not create a user to login with?
    – Tom J Nowell
    Commented Apr 4 at 19:49
  • That was a good suggestion, Tom, but after creating a new user and making it a super-admin, I can only log into the sub-sites, not the main one.
    – Erich
    Commented Apr 5 at 17:03

1 Answer 1

0

The issue was there was another entry in the /etc/apache2/sites-available directory that was conflicting with the desired configuration. I appreciate the help that was provided here. Sorry for the wild goose chase!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.