Multisite (sub-directories): Sub-Sites get created but don't work
-
Hi guys!
I’ve scoured the forums here looking for the specific issue I’m facing and have not found it… so here goes.
Just upgraded our main 3.5 year-old WordPress website to 3.0.1 (which went great). Then tried to enable MultiSite on it – which went great but it’s not quite “working”.
The “enable MultiSite” process worked fine, then I actually created a couple of sub-sites. No errors, all good, I see the sites under WP Admin -> Sites. but I’m not sure the sub-sites are actually getting “fully created”…
Because when I go to “Super Admin -> Sites” in the listing of sites the links to “visit” and “backend” for any of the sub-sites aren’t correct – they literally all just go to the main MultiSite admin dashboard. i don’t even have to click on them, I see that’s where the link goes by hovering over it.
The main website is working just fine – https://www.dan-and-jennifer.com/
But the sub-site I’m testing with isn’t working – https://www.dan-and-jennifer.com/zztest/ – it just says “error establishing database connection”. but i think the problem’s deeper than that, since I don’t even see a working link to “visit” or “backend” for this subsite under “Super Admin -> Sites” (see above)Also this may or may not help, but I noticed there are NO files whatsoever being created in wp-content/blogs.dir – in contrast, in our other wordpress multisite installs I see a directory immediately created in there with what I think is the ID of the sub-site created.
Just to qualify, I’m only having this problem on our main website, a WordPress install that’s been upgraded many times since before WP 2.3. I’ve installed several other brand new Worpress 3.0.1 installs just for testing, enabled MultiSite and created sub-sites that all worked great, no problems whatsoever… so I’ve seen this work flawlessly.. it’s only having problems on this one more established site.
I also upgraded one of our other “main” established WordPress sites (albeit a newer one – this one started around WP 2.5) to 3.0.1, enabled MultiSite, and created a perfectly working SubSite for it, no problems… working great. same process – changed “SUBDOMAIN_INSTALL” to false after enabling MultiSite.
here it is: https://www.TodayIsThatDay.com – and here’s the Sub-site: https://www.TodayIsThatDay.com/inspirational-quotes/I’ve seen others mention similar symptoms in a few other MultiSite support threads, but the solution each time was the person saying “nevermind, I just deleted the wordpress install, re-installed, and it’s fine now”. But for us that’s not an option, we’re talking about our main website so we have to enable Multisite for this installation, can’t start fresh.
Has anyone seen something like this? Ideas?
Thanks!!
Dan——— More Config details for site having issues —————
test website URL (main blog in MultiSite install) – https://www.dan-and-jennifer.com/
Test sub-site URL (site set up under main MultiSite blog) – https://www.dan-and-jennifer.com/zztest/* Since this was a “over 30 days” wordpress install, the MultiSite enable function chose “subDomain” for me. no problem, after it finished I updated wp-config.php and changed “define( ‘SUBDOMAIN_INSTALL’, true );
to
define( ‘SUBDOMAIN_INSTALL’, false );`WordPress: 3.0.1
MultiSite config: all are subDirectory based, no subDomainsHere’s the relevant section of wp-content:
define( ‘MULTISITE’, true );
define( ‘SUBDOMAIN_INSTALL’, false );
$base = ‘/’;
define( ‘DOMAIN_CURRENT_SITE’, ‘www.dan-and-jennifer.com’ );
define( ‘PATH_CURRENT_SITE’, ‘/’ );
define( ‘SITE_ID_CURRENT_SITE’, 1 );
define( ‘BLOG_ID_CURRENT_SITE’, 1 );and .htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]
</IfModule>
# END WordPress** This will probably make no difference to anything, but the URLs above (on the domain dan-and-jennifer.com) and all the config info are a fully functionaly duplicate of our actual production website (AskDanAndJennifer.com), since this debugging was causing us production downtime. ?? “luckily” so to speak, the duplicate site is having the exact same issues the production site is having…
——— Config details ——————————
- The topic ‘Multisite (sub-directories): Sub-Sites get created but don't work’ is closed to new replies.