• Resolved trogladyte

    (@trogladyte)


    I got talked into installing sunrise and I can see the benefit, but….

    There seem to be conflicting instructions on installing it. Here talks about normal plugin installation, whereas here talks about manual installation. Neither way let me go more than “installation”. Also, there are 2 different lines that are listed to be added to wp-config.php, but not all tutorials mention both. There appears to be serious conflict in instructions.

    As soon as either I installed the plugin, or added the sunrise line to wp-config.php, the site and admin login became unreachable. All I get is an error “No site defined on this host. If you are the owner of this site, please check Debugging a WordPress Network for help.” I went there but I’m just even more confused. I am a very new WP user (I normally write in Joomla) and find WP really difficult in comparison. However I need to learn it and need to get this multisite thing going.

    Can someone point to the correct installation procedure please? Also, how do I check whether my host has disabled this functionality? Thanks.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Demoris

    (@demoris)

    This plugin requires a couple additional steps to a normal WordPress plugin, and it’s documented fairly well in the installation instructions that you linked to.

    1. Add ‘define( ‘SUNRISE’, ‘on’ );’ to wp-config.php

    2. Make sure to place sunrise.php in wp-content

    have you done both of these steps?

    Thread Starter trogladyte

    (@trogladyte)

    Yes. As soon as I save the amended wp-config the site fails. Can’t see the front or back ends.

    One of my points was there are well documented instructions but they are different. One says manual installation and one seems to indicate automatic (apart from sunrise.php and that one line edit). Then there is another set of instructions that call for placing of a 2nd line of code in wp-config `define(‘WP_ALLOW_MULTISITE’, true);

    Demoris

    (@demoris)

    Have you gone through the Multisite process before attempting to install this plugin?

    Thread Starter trogladyte

    (@trogladyte)

    I followed the instructions. I don’t know what else I need to do. What is the “Multisite process”?

    Demoris

    (@demoris)

    Thread Starter trogladyte

    (@trogladyte)

    No I haven’t. Guess that’s my problem… Will work through that and report back. Thanks.

    Thread Starter trogladyte

    (@trogladyte)

    Get to Step 2 and do that, but can’t do Step 3 as there is no Network tool under Tools.

    Thread Starter trogladyte

    (@trogladyte)

    NVM. The code I had gotten elsewhere was wrong on checking against the instructions on this page…. Grrrrr.

    Thread Starter trogladyte

    (@trogladyte)

    OK I’m making progress. However I get this error message after clicking “Install”.

    “Warning! Wildcard DNS may not be configured correctly!

    The installer attempted to contact a random hostname (5d41f5.blahblah.info) on your domain. This resulted in an error message: Couldn’t resolve host ‘5d41f5.blahblah.info’

    To use a subdomain configuration, you must have a wildcard entry in your DNS. This usually means adding a * hostname record pointing at your web server in your DNS configuration tool.”

    My .htaccess is currently:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    What do I need to edit to deal with this error?

    Demoris

    (@demoris)

    You need to set a Wildcard DNS entry. You can set this through your domain registrar. If you search their help documents, they should have this info available for you.

    Thread Starter trogladyte

    (@trogladyte)

    Great – figured that out! Thanks for your help Demoris.

    So, now that I have that sorted, I go to the previous instructions about adding Sunrise?

    Demoris

    (@demoris)

    Yes, following the original plugin instructions should work now.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Stuck right at the start’ is closed to new replies.