Put it above require_once.
You may want to look at the wp-config-sample.php and update your config to a more modern version. You may be missing salts, hashes and keys too.
Thanks @ipstenu (Mika Epstein. I got it activated but now have been set back several steps as almost every single plugin, no matter how new and “compatible with WordPress 3.6.1” have problems.
Now I’m trying to figure out how to have a created subdirectory site display the template and access its admin panel. I keep getting a message that “The web page has a redirect loop”. No plugin is activated.
Define ‘Have problems.”
Same problems? Different ones?
“The web page has a redirect loop”. No plugin is activated.
Read http://halfelf.org/2012/multisite-login-loop/
Thanks for your replies Ipstenu. You’ll notice that this post is titled “Multisite and wp-config.php”.
I started a new post ” Theme does not show, new site admin has redirect loop” because after I got that first one sorted out, I had problems. Anyway, while this is still not resolved, you can close it because I’ve given up on trying to resolve the problem and used the subdomain option which works fine.
“Have problems” above was a ton of error messages spewed out when I set debug mode.
Here are a few examples:
Notice: Constant TINYPASS_PLUGIN_FILE_PATH already defined in /home/content/site/wp-
content/plugins/tinypass/jslite/tinypass.php on line 12
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/content/site/wp-includes/functions.php on line 2998
Notice: Trying to get property of non-object in /home/content/site/wp-
content/plugins/jquery-masonry-image-gallery/init.php on line 97
BTW, I read a pretty useful post on why not to use Multisite on your blog and also found some useful links through the piece. Thanks.
Best.
Read through and try everything in http://halfelf.org/2012/multisite-login-loop/ for the login loop.
(As matter of fact, when I change the default theme from the network admin the twentythirteen theme remains the default.)
Any caching on the site?
HOW did you change the theme? You say that you did it in the network admin, but you also say you can’t get to the network admin, so it’s confusing.
Let’s take this one at a time.
1) ALL PLUGINS OFF.
2) Can you log in to every site/subsite?
We have to fix THAT before you can go forward.
Before I got locked out, I had gone to a network admin screen with a long list of settings (My Sites->Network Admin->Sites->Edit Sites). About A quarter of the screen down, there were fields for Template and Stylesheet. So I just changed twentythirteen to another theme.
But as I said above, I’ve abandoned attempting to use subfolders and instead gone to subdomain so the problems, which seemed to be related to redirections and stored cookies, don’t exist anymore.
I was hoping not to give users any clumsy URLs like site.domain.com since most people are comfortable with domain.com/site
I won’t try a subfolder setup again. I did in 15 mins with subdomains what bothered me for a day-and-a-half fooling with subfolders.