Forums

The WordPress MU forums have moved to the MultiSite forum on WordPress.org

Ed Themes not working after upgrading (5 posts)

  1. susieco
    Member
    Posted 2 years ago #

    We upgraded last week from WPMU 2.7.1 to WPMU 2.8.4. We've been working with Wordpress for over a year and feel we installed everything correctly. My blogs are all working correctly.

    We've worked out several bugs, but I'm stuck on one: When I try to use my Ed Themes button in the Site Admin Menu in any of my blogs, I get a window that says "Page disabled by the administrator." I can't find any explanation for that error code.

    I'm the sole administrator and I don't know what setting I might have changed that affected this function. Does anyone know of a Wordpress setting that might control this?

    I've searched and searched for anyone else having this problem and can't seem to find one, and I am totally stumped!

    Can anyone give me some tests to troubleshoot this problem? My significant other is a Linux programmer and between us, we've been managing Wordpress on our home server pretty well.

    My main blog is at: http://www.susiecoleman.com

  2. andrea_r
    Moderator
    Posted 2 years ago #

    It's been disabled in WPMU all along, so one of you probably hacked it early to enable it, then forgot on upgrade, which would have removed the hack. You'll have to re-hack it to bring it back.

    It's slightly different now, so see this thread:
    http://mu.wordpress.org/forums/topic/13073?replies=18#post-79531

  3. susieco
    Member
    Posted 2 years ago #

    Thank you, Andrea. That's what I was looking for.

    Turns out this is a two-part hack. We had only completed one part, enabling the Ed Theme button.

    FOR THE NEXT GUY WITH THIS PROBLEM: (hacks excerpted from http://mu.wordpress.org/forums/topic/13073?replies=18#post-79531

    After upgrading to Wordpress 2.8...

    If you are Site Administrator and don't see an Ed Theme option in your Site Admin menu, use this hack to gain access to Wordpress' built-in theme editor.

    The hack modifies your /wp-admin/includes/mu.php file.

    HACK PART ONE: Enable the Theme Editor

    Enable the theme editor by commenting out the following in the mu.php file:

    $pages = array( 'theme-editor.php', 'plugin-editor.php' );
    foreach( $pages as $page ) {
    if ( strpos( $_SERVER['PHP_SELF'], $page ) ) {
    wp_die( __('Page disabled by the administrator') );
    }
    }

    HACK PART 2: Add the Ed Theme option to the Site Admin menu

    Enable the Ed Theme option under Site Admin in the sidebar by adding two lines of code in the mu.php file.

    Find function wpmu_menu() then add these following two lines:

    $submenu[ 'wpmu-admin.php' ][35] = array( __('Themes Editor'), '10', 'theme-editor.php' );
    $submenu[ 'wpmu-admin.php' ][40] = array( __('Plugin Editor'), '10', 'plugin-editor.php' );

    Andrea, please correct the above if you see an error. It worked perfectly for us. Thank you so much for you help. We did indeed get it resolved.

  4. gdmdny
    Member
    Posted 2 years ago #

    I upgrading my theme when after activating the theme I could no longer access my wordpress and website is down, can any one help? Thanks

  5. andrea_r
    Moderator
    Posted 2 years ago #

    Go in via ftp and remove the theme.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags