• Hi,

    I’m not sure what happened, but Multisite stopped working properly for me. Originally I had a WPMU installation, and using the WordPress MU Domain Mapping plugin, and I kept updating it until Multisite was implemented, after which all my sites continued working correctly. Now I’m running version 3.1.3. The first thing I noticed recently was that all sites, including the main domain, were getting a redirect loop when trying to open them, so they were unaccessible. You got “Error 310 (net::ERR_TOO_MANY_REDIRECTS)”. It seems this started with version 3.0. Oddly enough, I could still access the admin section.

    I tried applying fixes as mentioned here:

    http://wordpress.org/support/topic/error-too-many-redirects
    http://budip.com/index.php/wordpress-error-too-many-redirect

    But none of them worked. Finally I saw that by deactivating MU Domain Mapping pluing, I got my all sites working correctly again.

    However, I just tried to add a new site, with no own domain, so it should be a subdomain site on my main domain, but I cannot access it. The subdomain is not working. I cannot access its admin section, either.

    When checking the Codex article http://codex.wordpress.org/Debugging_a_WordPress_Network, I see that for example I don’t have the extra network tables created on my database, but I don’t know if maybe this was because of initially having WPMU. Do I need to add them?

    Do you have any idea on what could be going on? Any help would be greatly appreciated!!

    Many thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • I see that for example I don’t have the extra network tables created on my database, but I don’t know if maybe this was because of initially having WPMU. Do I need to add them?

    It’s not because it was WPMU, no.

    If no new tables are being added, check to see if the permissions of the d user have changed.
    Ask your host if they disabled wildcard subdomains on the server.
    Upgrade the domain mapping plugin as well.

    Thread Starter davidvm

    (@davidvm)

    Thanks Andrea,

    The permissions of the db user are ok. I checked with my host, and they did disable wildcard subdomains. I have the latest version of the domain mapping plugin, 0.5.4.

    So because of this, I decided to change to subfolders instead of subdomains. I added “define( ‘SUBDOMAIN_INSTALL’, false );” to wp-config.php, which was not there btw (put it after “define(‘WP_ALLOW_MULTISITE’, true);”).

    I also added the code for folders to my .htaccess. And now, with the domain mapping plugin enabled, it seems I’m not getting the loop anymore, but I’m getting the following error, and can’t access the site. I don’t seem to find any help about this error:

    “Warning: Conflicting values for the constants VHOST and SUBDOMAIN_INSTALL. The value of SUBDOMAIN_INSTALL will be assumed to be your subdomain configuration setting. The constant VHOST is deprecated. Use the boolean constant SUBDOMAIN_INSTALL in wp-config.php to enable a subdomain configuration. Use is_subdomain_install() to check whether a subdomain configuration is enabled. in /public_html/wp-includes/ms-default-constants.php on line 115

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-includes/ms-default-constants.php:115) in /home1/costapob/public_html/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 713″

    I added “define( ‘SUBDOMAIN_INSTALL’, false );” to wp-config.php, which was not there btw

    Right, ecasue you uptated from MU, so you still have the “old” way to declare what format it was. Thus, you spewed errors.

    Take out that subdomain line you added. You cannot use the “new” declarations on an install upgraded from MU. Change the VHOST line instead.

    But that will only affect new blogs. it won’t change the old ones. if you unmap any of those blogs, they will be broken.

    Thread Starter davidvm

    (@davidvm)

    OK thanks, but which VHOST line should I be changing and what should I be putting on it? Sorry.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    There should only be one VHOST line.

    it will have said VHOST= true for subdomains. because they are also called a vhost (virtual host). So false would be subfolders.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Multisite not working’ is closed to new replies.