WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
Sunrise.php killed site? (9 posts)

  1. cosmicdreammachine@gmail.com
    Member
    Posted 1 year ago #

    I installed plugin, everything was fine... when I uploaded sunrise.php and edited the WP-config file, immidiately aferwords the entire website became a blank white page, including the admin panel..... I turned off the settings in WP-config and it did not fix the issue.... I did nothing else other than upload the sunrise.php file, and edit the wp-config.php file...

    could it be an issue with .htaccess? I was playing around with that earlier.... otherwise I am uncertain, any advice? I can't even fix the site at the moment....

    http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

  2. cosmicdreammachine@gmail.com
    Member
    Posted 1 year ago #

    I am on a shared hosting dreamhost.... htaccess looks like this.

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

  3. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    Your .htaccess looks fine. If you delete the sunrise.php file, does it start working?

    If you;d like to provide your domain, I can take a quick look at your setup for you.

  4. cosmicdreammachine@gmail.com
    Member
    Posted 1 year ago #

    *.tk is the domain.... the site was fully functional up to about 1 second after successfully uploading sunrise.php, creating the mu-plugins folder with the domain mapping .php file, editing the wpconfig file to activate sunrise.php, and refreshing the page.... no other changes were made during this time.

  5. cosmicdreammachine@gmail.com
    Member
    Posted 1 year ago #

    I tried to delete it, no help... I may just have to reinstall the entire blog, yet I am extremely curious as to why this error has occurred.... any insight would be appreciated.

  6. cosmicdreammachine@gmail.com
    Member
    Posted 1 year ago #

    This would to me imply that the activation of sunrise.php in the wp-config file allowed the script to make some change to a core file which caused the site to malfucntion.... I don't know PHP well enough to know for sure, I am only guessing..... someone with better knowledge might be able to explain it.

  7. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    You need to remove domain_mapping.php from wp-content/mu-plugins/

    Also you don't have to install the plugin there anymore. Just download it normally, leave it in wp-content/plugins/ and network activate.

  8. cosmicdreammachine@gmail.com
    Member
    Posted 1 year ago #

    Thank you for being amazing, worked perfect.... I didn't realize having an extra folder in the wordpress installation could cause it to crash.

  9. Ipstenu-DH
    DreamHost Rep
    Posted 1 year ago #

    It's not the folder, it's just that anything inside that folder is set to run all the time :) It used to be the only way to install a plugin that your other sites couldn't see, but now a days, if you network activate the plugin, you get the same effect.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags