WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Creating new site gets me an 500 internal server error (14 posts)

  1. sunkid
    Member
    Posted 3 years ago #

    My goal was to integrate my blogs into the main domain using subdirectories like mydomain.com/blog1 or mydomain.com/blog2.
    I followed the instructions as described by WP and so far all worked fine until I wanted to create a new site. Everytime I created a new site, i get an internal server err. By refreshing the admin panel, the site then appears.
    Now if i try to visit the new site, i get linked to http://mydomain.com/wp-admin/ms-sites.php I have this feeling that some Permalinks are not correct but it could be anything else. I just have no idea.

    Would be great if you could give me a hint what went wrong. Thanks

    Here's my htaccess file:

    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]

  2. Everytime I created a new site, i get an internal server err. By refreshing the admin panel, the site then appears.

    That's all host related.

  3. sunkid
    Member
    Posted 3 years ago #

    Hi Andrea,
    thanks for the quick reply. Is there anything I can do to change this phenomen or do I have to tell my host to change something? Why does my "visit" link goes back to http://mydomain.com/wp-admin/ms-sites.php and not tp any site?

  4. .htaccess is fine.

    By host related, I think Andrea means there's some hinkey caching going on here.

    By refreshing the admin panel, the site then appears.

    Which admin panel are we talking about?

    Now if i try to visit the new site, i get linked to http://mydomain.com/wp-admin/ms-sites.php

    Where is this link coming from? WHat page are you on that you get this?

  5. sunkid
    Member
    Posted 3 years ago #

    @Ipstenu: it all happens within the WP Admin Panel. Sorry for not being specific.
    When I hit "edit" for the newly created site in the WP Admin Panel, you normaly see the URL of the site right on top of the page. Instead, it says "Edit Site - " on top. I've seen working examples where the URL of the site appears on top.
    Should i make a clean install again (delete DB, delete Files from Webserver & reinstall WP 3.03 + Multisite) ?
    Am so lost...

  6. Right, WHICH WP admin panel :)

    There's this one: http://domain.com/wp-admin/my-sites.php
    But also this: http://domain.com/wp-admin/ms-sites.php

    Which page are you ON that gives you that link? There are a few places you might be, and I wanna make sure I tell you the right thing :)

  7. sunkid
    Member
    Posted 3 years ago #

  8. So you hover your mouse over the site and see this, right?

    http://img441.imageshack.us/img441/3677/linksxc.jpg

  9. sunkid
    Member
    Posted 3 years ago #

    yes.
    And when I hover mouse over "visit" i get this URL: http://mydomain.de/wp-admin/ms-sites.php which leads me back to the same page.
    If I try the link out directly in the browser, i.e. http://mydomain.de/sitename/ I get the 500 server error.

  10. What do you see on the other links?

    It sounds like WordPress isn't creating the tables correctly... You may want to pop into your database and see if the wp_sites table is populated with your site info, and if the new tables for the new site are there.

  11. sunkid
    Member
    Posted 3 years ago #

    ok, when I hover over the other links i see the following URLs:

    Edit: http://mydomain.de/wp-admin/ms-sites.php?action=editblog&id=2
    Backend: http://mydomain.de/wp-admin/
    Deactivate: http://mydomain.de/wp-admin/ms-edit.php?action=confirm&action2=deactivateblog&id=2&msg=You+are+about+to+deactivate+the+site+%2Freviews%2F

    ... and so on. I guess you are looking for the new site name after the domain?

    I just did a complete install again, starting with a clean DB as well. And came back with the same results and 500 server err. after hitting the button for creating the new site. Took a look into the DB, after the Multisite install, it added something like 6 new tables. After adding the first new Site nothing was differant in the wp-site table. It showed only my TLD domain. I'm not sure what other tables I should be looking for though. If you can define that, it could help.

    My DB&Website is hosted at 1und1. Btw. even after the normal WP3.0.3 install (before the multisite install) i could not upload and install any plugins. It just stops right after downloading. Does this have anything to do with the issue?

    My webpage's been down 3 days already...and I am slowly giving up the idea of using MU.
    Thanks for any help....

  12. OH! 1&1... Wait, I know this..

    Try putting this ABOVE your wordpress calls in .htaccess

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
    Options -MultiViews

    The other thing is check with 1&1 as to if you CAN run MultiSite at all. They restrict it, even with subfolders, on some accounts.

    They also have some crazy caching stuff, so changes to your .htaccess may take an hour to show up :/

  13. sunkid
    Member
    Posted 3 years ago #

    Yayyy! This is like Birthday, Christmas and New Year in one day!!

    Everything fell into place: Plugins worked again, Sites can be created and I'm getting the link to the new sites :-)
    Taking a look into my DB, yes new files were created like WP_2_xx or WP_3_xx

    Thanks so much for your support!! I'm one happy girl today.

  14. Hot diggity! :)

    Makes you wish hosts had standards... For those following 1&1s problem is that while they DO have php5 installed, the bloody thing isn't on by default AND they're using a version of php4 that has issues with a lot of things, including WordPress. So by specifying you want php5, you force it to be better ;)

Topic Closed

This topic has been closed to new replies.

About this Topic