WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Stuck right at the start (13 posts)

  1. trogladyte
    Member
    Posted 2 years ago #

    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.

  2. Demoris
    Member
    Posted 2 years ago #

    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?

  3. trogladyte
    Member
    Posted 2 years ago #

    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);

  4. Demoris
    Member
    Posted 2 years ago #

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

  5. trogladyte
    Member
    Posted 2 years ago #

    I followed the instructions. I don't know what else I need to do. What is the "Multisite process"?

  6. Demoris
    Member
    Posted 2 years ago #

  7. trogladyte
    Member
    Posted 2 years ago #

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

  8. trogladyte
    Member
    Posted 2 years ago #

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

  9. trogladyte
    Member
    Posted 2 years ago #

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

  10. trogladyte
    Member
    Posted 2 years ago #

    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?

  11. Demoris
    Member
    Posted 2 years ago #

    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.

  12. trogladyte
    Member
    Posted 2 years ago #

    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?

  13. Demoris
    Member
    Posted 2 years ago #

    Yes, following the original plugin instructions should work now.

Topic Closed

This topic has been closed to new replies.

About this Topic