• Hello,

    My space has been hacked from a hole with Tiny_MCE from Zenphoto (that’s what I guess) and I had to reinstall everything and wordpress.

    I deleted all wp files except the wp-content but I empty the plugin folder. I have the same DDB that was originally from WPMU.

    I still can’t access to Network Update it goes to ERROR 310. I had the same problem after upgrading from MU to 3.2.1.
    The only success came with the solution from Amit Cohen: replacing the admin.php with:

    <?php
    /**
     * WordPress Network Administration Bootstrap
     *
     * @package WordPress
     * @subpackage Multisite
     * @since 3.1.0
     */
    
    define( 'WP_NETWORK_ADMIN', TRUE );
    
    /** Load WordPress Administration Bootstrap */
    require_once( dirname( dirname( __FILE__ ) ) . '/admin.php' );
    
    if ( ! is_multisite() )
    	wp_die( __( 'Multisite support is not enabled.' ) );
    
    if ( ! is_main_site() ) {
    wp_redirect( network_admin_url() );
    exit;
    }
    ?>

    This is not working anymore.

    Thank for helping or suggestion.

Viewing 15 replies - 31 through 45 (of 47 total)
  • Thread Starter zedrino

    (@zedrino)

    I’m not sure I want to go through and repair the database… What do you think ?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I keep forgetting this was WPMU to start with… You don’t need the define( 'MULTISITE', true ); unless you started with a 3.0 WordPress install (NOT MU)

    Make a db backup (duplicate it) and then run a repair.

    Thread Starter zedrino

    (@zedrino)

    I could try the repair but I need to let the define( 'MULTISITE', true ); in place because without it… it doesn’t ask me nothing…

    No, you most definitely do not need the define multisite line.

    You started with WPMU, correct? I can tell you did because you have wp_1_tables. That means mu.

    You cannot place the multisite lines in your config without breaking the whole thing. take them out.

    Thread Starter zedrino

    (@zedrino)

    Yes it was a WPMU.

    Now something new. When I go direct to https://bluegreenbelize.com/wp-admin/network/settings.php to validate a registration,

    I enter the ID (that I changed in the data base) and I got a:

    You do not have sufficient permissions to access this page.

    should I try to change back the Admin ID in the data base ?

    Thread Starter zedrino

    (@zedrino)

    Then I changed back the ID in the DATABASE, back to the regular admin word and guess what ? I have now the Network Admin in the top of the Menu, and guess what ?

    I click on it and I got AGAIN the 310 ERROR TO MANY REDIRECT….

    héhé, then after all, back to it, and I’m not able to administrate the blog… too bad…

    I guess I can try a upgrade to 3.3.1, what do you thing Ipstenu and Andrea_r ?

    Thanks for your continuous help, you are great !

    Thread Starter zedrino

    (@zedrino)

    I have to upgrade manually. I was wondering, is there a way to re-organized my folders and database (which are coming from WPMU) than they can look like a fresh WP 3 multi-site ?

    Thank you.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Only if you wanted to make a new one and import everything over.

    Thread Starter zedrino

    (@zedrino)

    Can I import the datas in a new WP 3 database ?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Via the normal export import, yes.

    Thread Starter zedrino

    (@zedrino)

    Ah thanks ! then you are probably agree, that could be the best way to solve the whole problem of my WPMU upgrade ?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I … don’t know.

    Without really knowing what happened (what the hack did etc) I can’t say it’ll fix it for sure.

    I’d probably rebuild it all locally as domain.loc and, once it looks good, port it all back up to live to minimize my downtime. But a fresh install after a hack is always a good idea.

    Thread Starter zedrino

    (@zedrino)

    But I’m running a “fresh” install (the database seems clean), except for the blogs.dist.

    My error 310 is here since I upgraded from WPMU to WP3 and the hack came later.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Try it. If you make REALLY GOOD backups first, of files and folders, you can always restore.

    Thread Starter zedrino

    (@zedrino)

    I changed the name of the database in the wp-config.php
    and got the same error 310.

Viewing 15 replies - 31 through 45 (of 47 total)
  • The topic ‘Update Network to ERROR 310’ is closed to new replies.