WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Live Preview in WP 3.4 Multisite not working (45 posts)

  1. martin_62
    Member
    Posted 1 year ago #

    I upgraded from WP 3.3.2 to WP 3.4 in my Multisite (path) environment. Now I realised, that the live preview of themes doesn't work. When trying to do the live preview, I get a sidebar left and a blank main section.

    On another WP 3.4 installation (single) it's working fine. So no error from Firefox.

    Any ideas?

  2. gecampbell
    Member
    Posted 1 year ago #

    Doesn't work for me, either; also multisite. Could they have shipped this without ever testing it in multisite mode?

  3. rhartlv
    Member
    Posted 1 year ago #

    Live Preview does not work for me either, this is rather frustrating as I have a client waiting for their site.

    Neither the custom theme I built or the two basic themes that were the default install work. I can see the thumbnail for all three, but if I go to live preview. I only see the left sidebar and a blank preview area.

    I have tried three different browsers, same issue across the board. I am running win7 home premium.

  4. gecampbell
    Member
    Posted 1 year ago #

    I will confirm that live preview works in the base domain of the multisite install. For example, all my domains are based upon http://mypencil.net, and the live preview works there. It does not work on any of the subdomains (http://glenc.co, http://broadpool.com), however.

    I had thought that it might disagree with the domain mapping pluging, but disabling that did not change the behavior.

  5. salvamentos
    Member
    Posted 1 year ago #

    IE/Chrome/Ffox. Constant reloads on my multisite MAIN site, but works on my subsites..

  6. martin_62
    Member
    Posted 1 year ago #

    @gecampbell: You're right, same behaviour here. I hope this will be fixed soon by the programmers.

  7. yukiko-kawa
    Member
    Posted 1 year ago #

    yes,is this the problem.
    I use plugin Enable Multi-Site, and subsite give maintenance page.

  8. gecampbell
    Member
    Posted 1 year ago #

    This is NOT fixed in WordPress 3.4.1, sadly.

  9. yukiko-kawa
    Member
    Posted 1 year ago #

    when and where I can know if the problem of multi site is fixed?

    I use this plugin : Enable multi site

  10. gecampbell
    Member
    Posted 1 year ago #

    I finally figured out how to create a bug/ticket, so here's the one to track this issue:
    http://core.trac.wordpress.org/ticket/21235

    I searched the existing database, and it doesn't appear that anyone else has reported it.

  11. Moving this to the Multisite subforum.

    I can't reproduce this one, it's working fine for me on a mapped domain and a subdomain. I went to another site and it's working on a subfolder install. (Tested on sites without any plugins and with a ton of plugins, with Genesis/Theme Hybrid and TwentyEleven).

    I don't think it's a bug with Multisite, but it may be one with plugins or themes.

    So. Have y'all tried turning off plugins and switching to the default (twentyeleven) theme on these subsites? Also what network wide plugins are you running?

  12. gecampbell
    Member
    Posted 1 year ago #

    Well, it's 100% reproducible on my system. I have tried with a dozen or so different themes and I've turned off the WordPress MU Domain Mapping plugin (that was the obvious one). Other plugins I have installed:

    Akismet
    bbPress
    Disable Comments
    Disqus Comment System
    Facebook (not currently used, but still installed)
    FD Footnotes
    Google XML Sitemaps (4.0beta1)
    Jetpack
    MapPress
    Markdown on Save Improved
    MediaRSS
    Podcasting Plugin by TSG
    Publish Confirmation (this was installed recently, after the 3.4 and 3.4.1 upgrade)
    Search & Replace
    Syntax Highlighter ComPress
    WordPress Importer
    WP Minify
    WPtouch
    WSA Favicon
    YOURLS: WordPress to Twitter

  13. gecampbell - I suspect it's too much to ask that you turn off all your plugins, eh? ;)

    How about this. Can you install a second instance of Multisite on your server (in a subfolder), with no plugins and the default theme? Then see if you can reproduce it.

    ETA: I use these plugins, without issues:
    Akismet
    bbPress
    Jetpack
    WordPress Importer
    WPtouch
    YOURLS: WordPress to Twitter

    And WPMU Domain mapping and a host of others.

  14. gecampbell
    Member
    Posted 1 year ago #

    Actually, I've gone through and turned off about 80% of them, but your suggestion is a good one. I'll see if I can do that.

  15. gecampbell
    Member
    Posted 1 year ago #

    Ok, I have a new site set up at http://xlerb.com but I haven't enabled multisite yet. Need to find the docs on that again :/

  16. gecampbell
    Member
    Posted 1 year ago #

    Ok, new child site at http://a.xlerb.com and Live Preview DOES work now. I presume that the next step is to add plugins one at a time and see which one breaks it?

  17. If you're able to reproduce the problem on your live site with the default theme, then yeah, start with the plugins.

  18. gecampbell
    Member
    Posted 1 year ago #

    Got it to break. Once I installed wordpress-mu-domain-mapping AND configured a separate domain (instead of the subdomain) as the primary, the live preview no longer works.

    Defined http://blog.ickl.me as the domain for http://a.xlerb.com and the live preview only displays a blank screen.

  19. gecampbell
    Member
    Posted 1 year ago #

    Yup, when I revert to using the subdomain as the primary, then live preview functions again.

  20. gecampbell
    Member
    Posted 1 year ago #

    WORKAROUND INSTRUCTIONS:

    1. Go to Tools, Domain Mapping, and change the primary domain to be the subdomain
    2. Go to Appearance and Live Preview all you like
    3. Go back to Tools, Domain Mapping, and change the primary domain back to the full domain

    It's not great, but it will let you have live preview when you're changing the theme.

  21. I can't reproduce that at all...

    halfelf.org is the primary domain of tech.ipstenu.org, and live preview worked just fine.

    ETA: That said, you're mapping a subdomain'd domain as a primary domain?

    So like if I did sillyfoo.halfelf.org to sillyfoo.ipstenu.org?

  22. gecampbell
    Member
    Posted 1 year ago #

    I don't think it has anything to do with a subdomain. My primary domain is mypencil.net; if I use http://glenc.co, Live Preview does not work; if I use http://glenc.mypencil.net, then Live Preview works.

    Likewise with all of my other domains/sites. Some of them are third-level domains, other are second. Live Preview works when I use the root domains subdomain as the primary, and it fails when I use the other domain.

  23. martin_62
    Member
    Posted 1 year ago #

    I've got news to the topic: In my "old" WP installation, which is only about 9 months old, I can't preview themes in "existing" subblogs. But I created a new subblog and there I can do the live preview.

    So, it has nothing to do with plugins. It must be a bug in the preview module, how it handles old subblogs from before WP 3.4.

    Hope it helps.

  24. gecampbell
    Member
    Posted 1 year ago #

    Interesting. I'll see if I can test that with a new subdomain on my old site.

  25. My primary domain is mypencil.net; if I use http://glenc.co, Live Preview does not work; if I use http://glenc.mypencil.net, then Live Preview works.

    I've had Multisite on this install for 2 years and a month (yikes!). No problem with mapped domains... I really think this is something else.

    A blank page is a PHP error. Have you checked your PHP error logs?

  26. gecampbell
    Member
    Posted 1 year ago #

    Mike — yes, I've kept the error log file open the entire time. Nothing there.

  27. gecampbell
    Member
    Posted 1 year ago #

    FYI, I added a new site, mapped it to a new domain, and Live Preview failed.

    Changed back to the subdomain, and Live Preview works.

    Nothing in the Apache error logs.

    Here is the access log of a FAILED LIVE PREVIEW:

    108.73.53.2 - - [12/Jul/2012:20:59:26 +0000] "GET /wp-admin/customize.php?theme=firstyme HTTP/1.1" 200 16773 "http://foo.mypencil.net/wp-admin/themes.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"
    108.73.53.2 - - [12/Jul/2012:20:59:27 +0000] "GET /wp-content/themes/firstyme/img/header-default.jpg HTTP/1.1" 200 19895 "http://foo.mypencil.net/wp-admin/customize.php?theme=firstyme" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"
    108.73.53.2 - - [12/Jul/2012:20:59:27 +0000] "POST / HTTP/1.1" 301 23 "http://foo.mypencil.net/wp-admin/customize.php?theme=firstyme" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"

    Here is the access log of a SUCCESSFUL live preview:

    108.73.53.2 - - [12/Jul/2012:20:58:54 +0000] "GET /wp-admin/customize.php?theme=blaskan HTTP/1.1" 200 17258 "http://foo.mypencil.net/wp-admin/customize.php?theme=catch-box" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"
    108.73.53.2 - - [12/Jul/2012:20:58:55 +0000] "POST / HTTP/1.1" 200 11807 "http://foo.mypencil.net/wp-admin/customize.php?theme=blaskan" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"
    108.73.53.2 - - [12/Jul/2012:20:58:56 +0000] "GET /wp-content/themes/blaskan/js/libs/jquery.fitvids.js?ver=3.4.1 HTTP/1.1" 200 2543 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"
    108.73.53.2 - - [12/Jul/2012:20:58:56 +0000] "GET /wp-content/themes/blaskan/js/libs/modernizr.min.js?ver=3.4.1 HTTP/1.1" 200 14990 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"
    108.73.53.2 - - [12/Jul/2012:20:58:56 +0000] "GET /wp-content/themes/blaskan/js/mylibs/helper.js?ver=3.4.1 HTTP/1.1" 200 4657 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"
    108.73.53.2 - - [12/Jul/2012:20:58:56 +0000] "GET /wp-content/themes/blaskan/js/script.js?ver=3.4.1 HTTP/1.1" 200 1180 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"
    108.73.53.2 - - [12/Jul/2012:20:58:56 +0000] "GET /wp-content/themes/blaskan/framework.css?ver=3.4.1 HTTP/1.1" 200 6658 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"
    108.73.53.2 - - [12/Jul/2012:20:58:56 +0000] "GET /wp-content/themes/blaskan/style.css?ver=3.4.1 HTTP/1.1" 200 37383 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"
    108.73.53.2 - - [12/Jul/2012:20:58:56 +0000] "GET /wp-content/themes/blaskan/fonts/league_gothic-webfont.woff HTTP/1.1" 200 24300 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2"
  28. martin_62
    Member
    Posted 1 year ago #

    Hmmm, this is weired!
    As I wrote before, a few days ago I created a new subblog http://www.f-site.ch/ausfluege and I could right away preview other themes.
    Today it doesn't work anymore on the blog ausfluege.
    ... After another test: After creating the new blog and testing with preview, I mapped it to ausflugsziele.beoblog.com. When it is mapped, preview doesn't work anymore.

    I did the same now with http://www.f-site.ch/test1058. Without further mapping it's ok.

    After mapping to test1058.f-site.ch as primary page - failure.
    After setting http://www.f-site.ch/test1058 as primary page but leaving the test1058.f-site.ch there - OK.

    So it has to do with the setting of the primary page in domain mapping.

    - Martin

  29. Okay let's step back :)

    On wp-admin/network/settings.php?page=dm_admin_page

    Did you put in IP or CNAME? (I use IP)

    What options did you check? (I checked only #2)

    On /wp-admin/network/settings.php?page=dm_domains_admin

    Did you only add the mapped domain? Like mine just has a list like 'halfelf.org' and, yes, it's primary :)

  30. gecampbell
    Member
    Posted 1 year ago #

    I have IP setting

    I have #1-#4 checked (I've also tried it with #2 off, with no change). About to uncheck #4 and see if that changes things.

Topic Closed

This topic has been closed to new replies.

About this Topic