Support » Networking WordPress » Update Network to ERROR 310

  • 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 - 1 through 15 (of 47 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    A 310 is too many redirects.

    Are you going to your URL with or without a www?

    When I enter the dns with www it goest automatically without www.

    here you can see.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    Do you have a .htaccess redirect set up for the forcing of non-www?

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress

    I don’t really know.

    Thank you for your continuous support Ipstenu !

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    Oh.

    Well you do have a weird double up. Change it to JUST this:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress

    Rahh,
    the same ! Too bad ! I was sure that you found the trick ! I even reset safari to try from a fresh browser but still redirect problem.

    Is that not wired ?

    Then I only have wp-content from WPMU and the Data base.

    Do you think the structure of the DB is normal ? (sorry for the long post).
    Thanks for your help.

    actions_cache
    wp_1_commentmeta
    wp_1_comments
    wp_1_icl_flags
    wp_1_icl_languages
    wp_1_icl_languages_translations
    wp_1_icl_locale_map
    wp_1_icl_message_status
    wp_1_icl_plugins_texts
    wp_1_icl_strings
    wp_1_icl_string_status
    wp_1_icl_string_translations
    wp_1_icl_translations
    wp_1_links
    wp_1_options
    wp_1_postmeta
    wp_1_posts
    wp_1_socialmediaprofiles
    wp_1_terms
    wp_1_term_relationships
    wp_1_term_taxonomy
    wp_1_wassup
    wp_1_wassup_tmp
    wp_1_yapbimage
    wp_2_commentmeta
    wp_2_comments
    wp_2_icl_flags
    wp_2_icl_languages
    wp_2_icl_languages_translations
    wp_2_icl_locale_map
    wp_2_icl_translations
    wp_2_links
    wp_2_options
    wp_2_postmeta
    wp_2_posts
    wp_2_terms
    wp_2_term_relationships
    wp_2_term_taxonomy
    wp_2_wassup
    wp_2_wassup_tmp
    wp_3_commentmeta
    wp_3_comments
    wp_3_icl_content_status
    wp_3_icl_core_status
    wp_3_icl_flags
    wp_3_icl_languages
    wp_3_icl_languages_translations
    wp_3_icl_locale_map
    wp_3_icl_message_status
    wp_3_icl_node
    wp_3_icl_plugins_texts
    wp_3_icl_strings
    wp_3_icl_string_status
    wp_3_icl_string_translations
    wp_3_icl_translations
    wp_3_links
    wp_3_options
    wp_3_postmeta
    wp_3_posts
    wp_3_socialmediaprofiles
    wp_3_terms
    wp_3_term_relationships
    wp_3_term_taxonomy
    wp_3_wassup
    wp_3_wassup_tmp
    wp_7_commentmeta
    wp_7_comments
    wp_7_links
    wp_7_options
    wp_7_postmeta
    wp_7_posts
    wp_7_terms
    wp_7_term_relationships
    wp_7_term_taxonomy
    wp_8_commentmeta
    wp_8_comments
    wp_8_links
    wp_8_options
    wp_8_postmeta
    wp_8_posts
    wp_8_terms
    wp_8_term_relationships
    wp_8_term_taxonomy
    wp_10_commentmeta
    wp_10_comments
    wp_10_links
    wp_10_options
    wp_10_postmeta
    wp_10_posts
    wp_10_terms
    wp_10_term_relationships
    wp_10_term_taxonomy
    wp_11_commentmeta
    wp_11_comments
    wp_11_links
    wp_11_options
    wp_11_postmeta
    wp_11_posts
    wp_11_terms
    wp_11_term_relationships
    wp_11_term_taxonomy
    wp_13_commentmeta
    wp_13_comments
    wp_13_links
    wp_13_ngg_album
    wp_13_ngg_gallery
    wp_13_ngg_pictures
    wp_13_options
    wp_13_postmeta
    wp_13_posts
    wp_13_terms
    wp_13_term_relationships
    wp_13_term_taxonomy
    wp_14_commentmeta
    wp_14_comments
    wp_14_links
    wp_14_options
    wp_14_postmeta
    wp_14_posts
    wp_14_terms
    wp_14_term_relationships
    wp_14_term_taxonomy
    wp_15_commentmeta
    wp_15_comments
    wp_15_links
    wp_15_options
    wp_15_postmeta
    wp_15_posts
    wp_15_terms
    wp_15_term_relationships
    wp_15_term_taxonomy
    wp_17_commentmeta
    wp_17_comments
    wp_17_links
    wp_17_options
    wp_17_postmeta
    wp_17_posts
    wp_17_terms
    wp_17_term_relationships
    wp_17_term_taxonomy
    wp_18_commentmeta
    wp_18_comments
    wp_18_links
    wp_18_options
    wp_18_postmeta
    wp_18_posts
    wp_18_terms
    wp_18_term_relationships
    wp_18_term_taxonomy
    wp_blogs
    wp_blog_versions
    wp_bp_activity
    wp_bp_activity_meta
    wp_bp_friends
    wp_bp_groups
    wp_bp_groups_groupmeta
    wp_bp_groups_members
    wp_bp_messages_messages
    wp_bp_messages_notices
    wp_bp_messages_recipients
    wp_bp_notifications
    wp_bp_user_blogs
    wp_bp_user_blogs_blogmeta
    wp_bp_xprofile_data
    wp_bp_xprofile_fields
    wp_bp_xprofile_groups
    wp_domain_mapping
    wp_domain_mapping_logins
    wp_openid_identities
    wp_registration_log
    wp_signups
    wp_site
    wp_sitecategories
    wp_sitemeta
    wp_usermeta
    wp_users

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    Yes and no… I’ve never see BOTH wp_1_ and wp_users before.

    AĂŻe AĂŻe.
    I have to tell you that when I tried to install a fresh WP 3.3 with my original DB it says that the DB was broken, then tried to repair it with no success.

    After that I think I just went to admin and it worked ok with the problem on network admin…

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    Sometimes the repair gets stupid… Is it working now?

    Sorry but still the same:

    Error 310 (net::ERR_TOO_MANY_REDIRECTS)

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    I was asking cause when you said this, you confused me.

    After that I think I just went to admin and it worked ok with the problem on network admin…

    Okay. What I would do is look for any instance of www in the tables wp_site and wp_blogs. See if you have www in front of your domain there.

    No www in wp_site and no www in wp_blogs.

    May be I could create an other admin user… or add www everywhere ?

    The admin user is the only one with the right on Network admin…

    Finally I don’t think adding www is a good idea because I’m using subdomain address for the multi blog.

    I don’t know what to do.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    Well, no, you don’t want to add in www. I was saying if it was there, remove it.

    Honestly, I don’t know what’s causing that either :/

    Hi Ipstenu,

    My space is still hacked then I will reinstall everything once again, I wonder what is the minimum info I need from the wp_content (most of the file there are rotten) to make the multi-site work.

    May be it’s because of something in this folder that I have a problem with the Network Admin…

    Thank you

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