• Resolved Dan & Jennifer

    (@danstuff)


    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 );todefine( ‘SUBDOMAIN_INSTALL’, false );`

    WordPress: 3.0.1
    MultiSite config: all are subDirectory based, no subDomains

    Here’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 ——————————

Viewing 15 replies - 31 through 45 (of 45 total)
  • The export/import should keep your slugs intact. I’m not sure that it will fix the charset issue though.

    What we’ve done in the past is write a plugin that filters the offending characters.

    In English, that means you may have some wonky characters show up in odd places in the previous posts. ??

    I just wanted to thank all of you for your efforts in this forum. You just saved me a lot of time with my site since I essentially had the same problem. Thanks for catching it Andrea and referring me to this post. : )

    Thread Starter Dan & Jennifer

    (@danstuff)

    @speedtriple that’s really great to hear. ??

    Thread Starter Dan & Jennifer

    (@danstuff)

    Guys – very happy to say we finally resolved the charset / encoding issue for our WordPress installs. We’ve documented the step by step process for anyone else having this charset issue:

    Seeing Weird Characters On Your Blog? Here’s How To Fix Your WordPress Character Encoding (Latin1 to UTF8)

    Hope that helps!

    And thanks everyone for your help in troubleshooting the Multisite issue!

    Now as soon as Arne’s Google (XML) Sitemaps Generator plugin comes out with Multisite support (hopefully any day now), we’ll officially be on Mulsitie for all our websites. ??

    Have an awesome day!
    Dan

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Wow. Its been so long since I wrangled mine to UTF, I forgot it was a thing …

    Thread Starter Dan & Jennifer

    (@danstuff)

    @ipstenu LOL yeah, I’ll be saying that too in about a year. ??

    Frankly getting it “wrangled” (which is quite the understatement for the past few weeks) wasn’t too much of a priority, but it came to a head with the Multisite upgrade issue.

    Have an awesome day!
    Dan

    Now as soon as Arne’s Google (XML) Sitemaps Generator plugin comes out with Multisite support (hopefully any day now), we’ll officially be on Mulsitie for all our websites. ??

    It already did. ?? Check the plugins repo.

    Thread Starter Dan & Jennifer

    (@danstuff)

    @andrea hmmm, I’m confused then… Referring to this plugin:
    Google XML Sitemaps – on the page it says it’s not “yet” multisite ready.

    And I’ve been following this WordPress support thread for the plugin by the author (Arne) as he’s alpha testing the new version which does have it.

    Now i know there’s Multisite port of his previous release which someone has released (this one i think) but not confident to try that one, it’s not by the same author.

    by the “alpha testing” support thread though I’d expect the final release of the XML Sitemaps plugin with Multisite support within a week or two at most.

    Am I missing something?

    Thanks!!
    Dan

    that must be the one I’m thinking of.

    there’s also this one:
    https://www.ads-software.com/extend/plugins/xml-sitemap-feed/

    Thread Starter Dan & Jennifer

    (@danstuff)

    Oh, I remember why we didn’t go with this one “sitemap feed” – saw this note on the plugin page: “The feed contains the front page and all posts and pages but excludes category, tag and other dynamic archive pages.”

    some of our tag and category pages are some of our highest ranked site pages…

    LOL been using Arne’s plugin for 3 years, it’s worked great, and the update’s almost here… I’m patient. sort of. ??

    Dan

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I have to admit… I don’t use sitemaps, and my pageranking has never suffered. I get why people use them, but either I’m just lucky or lazy. ??

    I rarely use them myself. Only if I know for sure the big G is skipping pages.

    Really, any multisite network is just goggled up by google.

    Hey everybody, I’ve read through this whole thread and feel as though I’m onto something similar but don’t know exactly what.

    I’ve verified that the database wp_2_whatever is being written, but I don’t see any content when I try to go to the website.

    I don’t think this is the same issue that Dan was having because he couldn’t see the new database tables… right?

    I can, and I can get into the dashboard for the new site I just created… but going to thecarrfamily.org/joshandlaura/ displays nothing. The main site is working great and all of the MS admin options appear to work correctly, but it won’t display anything when trying to view the new sites.

    .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

    Also the code I added to wp-config.php

    define('WP_ALLOW_MULTISITE', true);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'thecarrfamily.org' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    I also added the define auth salt stuff that wordpress suggested I use… but assume that it’s not a good idea to post here since it said it was for security purposes.

    Does this sound like I’m missing something in my configuration, code? I’m not sure where to go at this point.

    Thanks!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    piano08man – At 3 months out, please make a new thread. As you said, it’s not exactly the same issue ??

Viewing 15 replies - 31 through 45 (of 45 total)
  • The topic ‘Multisite (sub-directories): Sub-Sites get created but don't work’ is closed to new replies.