WordPress.org

Support

Support » Plugins and Hacks » WordPress MU Domain Mapping » Sunrise.php killed site?

Sunrise.php killed site?

  • cosmicdreammachine@gmail.com

    @cosmicdreammachinegmailcom

    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/

Viewing 8 replies - 1 through 8 (of 8 total)
  • cosmicdreammachine@gmail.com

    @cosmicdreammachinegmailcom

    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]

    Mika Epstein

    @ipstenu-dh

    DreamHost Rep

    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.

    cosmicdreammachine@gmail.com

    @cosmicdreammachinegmailcom

    *.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.

    cosmicdreammachine@gmail.com

    @cosmicdreammachinegmailcom

    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.

    cosmicdreammachine@gmail.com

    @cosmicdreammachinegmailcom

    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.

    Mika Epstein

    @ipstenu-dh

    DreamHost Rep

    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.

    cosmicdreammachine@gmail.com

    @cosmicdreammachinegmailcom

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

    Mika Epstein

    @ipstenu-dh

    DreamHost Rep

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Sunrise.php killed site?’ is closed to new replies.
Skip to toolbar