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 2 years ago #

    @Ipstenu: On my side:
    1) I use IP
    2) Options 1,2,3,4 (btw, I can't change these not any more)

  2. gecampbell
    Member
    Posted 2 years ago #

    Woohoo! Unchecking #4 fixed it for me — live preview works.

    So, with #4 checked, the admin pages are glenc.mypencil.net, but the primary domain is glenc.co. With it unchecked, the admin pages are all glenc.co, too, and thus there's no redirect.

    (Maybe it's interpreting the 301/302 as an error?)

  3. martin_62
    Member
    Posted 2 years ago #

    If No4 is unchecked, then the remote login is also disabled.

    But strange, when I change one of these check boxes and do "save" then it restores it to the old value right aways.

  4. martin_62
    Member
    Posted 2 years ago #

    Is there anywhere a "lock" to prevent changes on the mapping settings?

  5. ARRIGHT! gecampell, that's it! Excellent :) I can reproduce that on a clean build too.

    I'm going to tag this post so the plugin devs can get alerted.

    martin_62, nothing locks those settings down.

  6. salvamentos
    Member
    Posted 2 years ago #

    Really good work guys. My problem consist of both parent and subsites live preview just constantly reloading in the browser and never staying static to view the preview.

  7. martin_62
    Member
    Posted 2 years ago #

    OK, here it's working also. This is what I've done:

    I downloaded the newest WP MU Domain Mapping Plugin at http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/ and copied the files to their appropriate place.

    Then I switched off #4 (as described above) and #1 also turned off by itself.

    Now I can preview themes even if the primary site is something else than the native mapped site.

    Thanks for helping, guys!!!

    Kind regards
    Martin

  8. duplich
    Member
    Posted 2 years ago #

    I have noticed another problem. I also have a multisite instalation but the problem is in a theme.
    I live preview functions without functions.php so I searched the problem there and found out that when I comment out the register_nav_menus() in the Theme preview is functioning again...
    Maybe not relevant but the Theme has wp_nav_menu() in sidebar - it is a rework of a Twenty-ten org theme...
    Anyone had the same problem with a theme not being supported?

  9. duplich
    Member
    Posted 2 years ago #

    By the way the case happened on the Multisite (path-based network)
    3.4.1
    and I got the following error om my apache:

    [Mon Jul 23 14:45:14 2012] [error] [client 212.34.187.99] PHP Catchable fatal error:  Object of class stdClass could not be converted to string in /var/www/wordpress/dev.wordpress.themes.mysite.de/wp-includes/general-template.php on line 2274, referer: http://dev.wordpress.themes.mysite.de/demo-makler/wp-admin/customize.php?save=Speichern+%26+Aktivieren
    [Mon Jul 23 14:45:14 2012] [error] [client 212.34.187.99] PHP Stack trace:, referer: http://dev.wordpress.themes.mysite.de/demo-makler/wp-admin/customize.php?save=Speichern+%26+Aktivieren
    [Mon Jul 23 14:45:14 2012] [error] [client 212.34.187.99] PHP   1. {main}() /var/www/wordpress/dev.wordpress.themes.mysite.de/wp-admin/customize.php:0, referer: http://dev.wordpress.themes.mysite.de/demo-makler/wp-admin/customize.php?save=Speichern+%26+Aktivieren
    [Mon Jul 23 14:45:14 2012] [error] [client 212.34.187.99] PHP   2. WP_Customize_Section->maybe_render() /var/www/wordpress/dev.wordpress.themes.mysite.de/wp-admin/customize.php:110, referer: http://dev.wordpress.themes.mysite.de/demo-makler/wp-admin/customize.php?save=Speichern+%26+Aktivieren
    [Mon Jul 23 14:45:14 2012] [error] [client 212.34.187.99] PHP   3. WP_Customize_Section->render() /var/www/wordpress/dev.wordpress.themes.mysite.de/wp-includes/class-wp-customize-section.php:72, referer: http://dev.wordpress.themes.mysite.de/demo-makler/wp-admin/customize.php?save=Speichern+%26+Aktivieren
    [Mon Jul 23 14:45:14 2012] [error] [client 212.34.187.99] PHP   4. WP_Customize_Control->maybe_render() /var/www/wordpress/dev.wordpress.themes.mysite.de/wp-includes/class-wp-customize-section.php:88, referer: http://dev.wordpress.themes.mysite.de/demo-makler/wp-admin/customize.php?save=Speichern+%26+Aktivieren
    [Mon Jul 23 14:45:14 2012] [error] [client 212.34.187.99] PHP   5. WP_Customize_Control->render() /var/www/wordpress/dev.wordpress.themes.mysite.de/wp-includes/class-wp-customize-control.php:130, referer: http://dev.wordpress.themes.mysite.de/demo-makler/wp-admin/customize.php?save=Speichern+%26+Aktivieren
    [Mon Jul 23 14:45:14 2012] [error] [client 212.34.187.99] PHP   6. WP_Customize_Control->render_content() /var/www/wordpress/dev.wordpress.themes.mysite.de/wp-includes/class-wp-customize-control.php:143, referer: http://dev.wordpress.themes.mysite.de/demo-makler/wp-admin/customize.php?save=Speichern+%26+Aktivieren
    [Mon Jul 23 14:45:14 2012] [error] [client 212.34.187.99] PHP   7. selected() /var/www/wordpress/dev.wordpress.themes.mysite.de/wp-includes/class-wp-customize-control.php:211, referer: http://dev.wordpress.themes.mysite.de/demo-makler/wp-admin/customize.php?save=Speichern+%26+Aktivieren
    [Mon Jul 23 14:45:14 2012] [error] [client 212.34.187.99] PHP   8. __checked_selected_helper() /var/www/wordpress/dev.wordpress.themes.mysite.de/wp-includes/general-template.php:2240, referer: http://dev.wordpress.themes.mysite.de/demo-makler/wp-admin/customize.php?save=Speichern+%26+Aktivieren

    After trying the same Theme in the root site of my Multisite the preview was running smoothly...
    Really weird.

  10. Yes, many themes have problems like this :/

  11. Norbert McDorbert
    Member
    Posted 1 year ago #

    Hey - I noticed the Live preview is buggy and doesnt display when you have custom homepages.

    Ie, if your front page is set to be soemthing not normal, a plugin, a redirector, etc. Then your live preview is blank

    However, within the live previewer, if you set the front page to be a normal page, or to view "your latest posts" then after a second or two it loads.

    Try that, with the bugs.

    Im using almost all the plugins you have and more.

  12. Norbert McDorbert
    Member
    Posted 1 year ago #

    maybe simple work around would be to have the live previewer preview latest posts or some such

  13. Why would you use a plugin/redirect to change your front page? That is why we have static front pages.... Anyway, that's a different topic, this one is for the specific issue of WPMU domain mapping breaking the live preview. :)

    If that is not your problem, please make a new topic for the problem.

  14. SakeCat
    Member
    Posted 1 year ago #

    well I am really going to throw a wrench in your works I am having problems with live preview as well. I have a static home page not a redirect or any of the plugins you all are using. While I will be happy to start a new thread I think you have a more pandemic problem than a simple plugin causing an error its something to do with the functionality of live preview.

  15. SakeCat, make a new thread :)

    Yes it's possible it's more widespread, but this is actually pretty rare, and you'd mark the first person I've seen who isn't using the domain mapping plugin who has the ish.

Topic Closed

This topic has been closed to new replies.

About this Topic