Forums

[resolved] Cannot get Multiuser to work in 3.0.1 (36 posts)

  1. Rudeseal
    Member
    Posted 1 year ago #

    I have been beating my head and I just cannot get this to work correctly.. I follow the procedues and get the Multiuser activated. updated the .htaccess and config files with the settings shown on the network page.. I have created the blogs.dir in the wp-content folder.. I set the permissions to 755 and 777 (did not work either way). When I click on Create site under the superuser, after about 20 seconds, it says Error 500, internal server error.. I go back to the control panel, it shows that the user account and the site was created, but it really didn't.. I look in the blogs.dir folder and it is empty.. no site, nothing..

    What am I doing wrong..

    I am using the subdirectory install..

  2. Roy
    Member
    Posted 1 year ago #

    You don't see the subsites on your server, the subsites are virtual. Can you get a dashboard for the new site when you click on "my sites"? The 500 error is of course not normal.

  3. Andrea_r
    team pirate
    Posted 1 year ago #

    Talk to your webhost. Tell them you added some new htaccess rules for some virtual folders and you're getting a 500 error.

  4. Rudeseal
    Member
    Posted 1 year ago #

    Yes, the control panel/super admin/sites shows the new site under so it updated in the MySql Database and the emails go out to the admin and the new user, but no sub folders showup under the blogs.dir folder (site 4 should show up at least as wp-content/blogs.dir/4/ right??).

    here is my .htaccess file:
    # BEGIN WordPress

    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]

    # END WordPress

    The recommended additions to my config file is:

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'littleshelltribalmembers.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

  5. Rudeseal
    Member
    Posted 1 year ago #

    OK, looking through the FAQ's of my hosting, (1and1.com), they say the following:

    "Whenever using mod_rewrite and/or the rewrite engine, it MAY not function properly on standard shared
    hosting and/or managed servers without the following line added before it in the .htaccess file:

    Options -MultiViews"

    I added the "Options -MultiViews" to the .htaccess and reset the permissions to 666, but still no go: Here's my new .htaccess file:

    # BEGIN WordPress
    Options -MultiViews"

    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]

    # END WordPress

    I changed my Permalinks to the "Pretty Permalinks" and they are working fine.. So, I don't know what's up.. What Permissions and folders needs to be in the wp-contents\ folder that I have to put in manually and what permissions do they all need to be set to?

  6. Get rid of that " in the multiviews line.

    # BEGIN WordPress
    Options -MultiViews
    
    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]
    
    # END WordPress
  7. Andrea_r
    team pirate
    Posted 1 year ago #

    but no sub folders showup under the blogs.dir folder (site 4 should show up at least as wp-content/blogs.dir/4/ right??).

    No. As stated earlier, the blogs themselves do not live in that folder. they are *virtual*, meaning they are served up when requested.

    those folders are for media uploads only. You will only ever see content in them *after* the blog is working and you sue the media uploader to upload any extra files.

    that's it.

    It's entirely an htaccess issue.

    First I've heard of adding Options -MultiViews tho, if it works I'm writing this one down.

  8. Rudeseal
    Member
    Posted 1 year ago #

    the Quote after the MultiViews is not in the online version of .htaccess. That is my mistake when I pasted it into the forum.. and it still does not work.. So even though it may be a problem with the 1and1 servers.. it's not helping me..

    Thanks for the clarification on the virtual, I was not sure if it created the subsite folder on creation..

    I do have the phpinfo.php up on the site if anyone wants to look at it.. it is at http://www.littleshelltribalmembers.com/phpinfo.php to see if there are any modules or configurations that I need to email 1and1 about..

  9. tradrobinson
    Member
    Posted 1 year ago #

    I'm searching for a solution to the same problem. I'm able to go under SuperAdmin and setup the site and everything seems to work, but when I try to access the site I get a broken link.

    Nothing is created, can't login, can't access the subdirectory that should have been setup with the new site. Thought it was an issue with the blogs.dir directory, but if nothing is suppose to be there, where can I look.

    I'm guessing a rights issue but I don't know what to check.

  10. spstieng
    Member
    Posted 1 year ago #

    I have the same issue.

    I just installed WP 3.0.1 and went through the normal process for enabling network (WPMU). It all seemed fine except it did not create the /blogs.dir directory and it uses /uploads folder for uploding files even after I have enabled network / multisite.

    Looking in the DB, I see the extra tables for the sub-sites and in options they have the correct upload path.

    The .htaccess file has the default configuration as crated by WPMU.

    Anyone got a clue to why this is happening?

  11. spstieng
    Member
    Posted 1 year ago #

    I see several threads having similar issues.

    My .htacess file looks like this:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress

    This is working fine on my local computer, but not on my new VPS running CentOS 5.5 on Linux.

    mod_rewriteis turned on and should work fine.

  12. spstieng
    Member
    Posted 1 year ago #

    PS. I'm also not able to access my subsite http://subsite.mysite.com. I just get the 'Web Server's Default Page'.

    So I'm pretty sure this has something to with re-writing.

    Wildcards (DomainAlias *.mysite.com) is added to vhost.conf file.

  13. Andrea_r
    team pirate
    Posted 1 year ago #

    @spstieng

    except it did not create the /blogs.dir directory and it uses /uploads folder for uploding files even after I have enabled network / multisite.

    Some clarification:
    - WordPress does not create that folder, it instructs you to create it.
    - the main blog uses the default uploads folder for single-site compatibility. all other blogs will use the blogs.dir folder for media

    If your new VPS is the one where you;re using subdomains, set up wildcard domains in Apace in the vhost area.

    @tradrobinson - subdomains or subfolder? What kind of a broken link?

    And no, nothing will show up on the servers. the blogs are virtual. It means they do not physically exist.

  14. tradrobinson
    Member
    Posted 1 year ago #

    I'm using subfolders. When I mentioned nothing showing up on servers, I was trying to access the url of what should be the newly created site.

    I have the blogs.dir directory created. I understand that nothing should show up under the blogs.dir directory, but should an ID number be created there? Currently, there is nothing there.

  15. spstieng
    Member
    Posted 1 year ago #

    @Andrea_r

    shit, u're right (of course :). I had forgotten that I have to manually create the /blogs.dir folder.

    I've already added ServerAlias *.domain.com in vhost.conf file.

    Huh.... as I was looking through my httpd.include file, I saw that the following line was missing:
    Include /var/www/vhosts/mysite.com/conf/vhost.conf

    Plesk automatically generates the httpd.include file and should have this line included. But for some reason it was not.

    Now it works!

  16. Andrea_r
    team pirate
    Posted 1 year ago #

    Oh, Plesk.. how I hate you.... :D

  17. spstieng
    Member
    Posted 1 year ago #

    he,he
    I bet you are a SSH fan :)

    Well... I spoke to soon.

    This works:
    http://bekkelaget.stiengenterprises.com/senterets-høsttur-gar-til-fjells/

    This is not working:
    http://bekkelaget.stiengenterprises.com

    And on a side note:
    The 'Miscellaneous Settings' tab is gone in 3.0.1

    According to this this codex page, I'm supposed to have "Uploading Files settings" in Settings > Media.

    But this section is not there...

    The WPMU is a clean install and not a upgrade.

  18. Andrea_r
    team pirate
    Posted 1 year ago #

    The WPMU is a clean install and not a upgrade.

    Then it;s not WPMU. ;) Name change! :D It's WordPress with multisite or WordPress running a network.

    And, with multiple sites, you have to go to Super Admin ->Options and check the media settings there first.

    Tho that's not your issue.

    The part that wasn't working is referred to as a White Screen of Death. It is always a php related error, meaning your theme or plugins are borking. If it's brand new, make sure the twenty Ten theme is there.

    And yes, I DO happen to like ssh. :D

  19. spstieng
    Member
    Posted 1 year ago #

    The part that wasn't working is referred to as a White Screen of Death. It is always a php related error, meaning your theme or plugins are borking. If it's brand new, make sure the twenty Ten theme is there.

    I'll be d*****. It works fine with Twenty Ten theme. I'll break down the PHP code in header.php and index.php and see where it fails.

    Update
    I was including a class from a plugin which hasn't been activated yet. And that's why it was not working. And this is another reason why I should never include a plugin file!

    And thus I learned about the White Screen of Death.

    _____________

    As for the settings; I'm just calling it WPMU out of old habbit. Maybe it should be WPN now :)

    There is not much to change in Super-Admin > Options.
    The options I have under Upload Settings are:
    - Media upload buttons (all three are checked)
    - Site upload space (Limited to 100 MB)
    - Upload file types
    - Max upload file size (1500MB)

  20. Andrea_r
    team pirate
    Posted 1 year ago #

    And that's why it was not working. And this is another reason why I should never include a plugin file!

    Wrap it in an if function exists. :)

    According to this this codex page, I'm supposed to have "Uploading Files settings" in Settings > Media.

    But this section is not there...

    This is me re-reading it... with the Network enabled, that section is removed.

  21. spstieng
    Member
    Posted 1 year ago #

    This is me re-reading it... with the Network enabled, that section is removed.

    Huh..
    So "guest" bloggers (network blogs) will never have the option of sorting images by year / month?

    All imags will be stored in /files folder?

    That sucks.... :-/

    Well, it looks like these issues are solved then :)

    No to figure out why my plugin is not activiating...

  22. Andrea_r
    team pirate
    Posted 1 year ago #

    Guest blogger will get the global that you set .. which by default is /files/year/month/..... :)

  23. spstieng
    Member
    Posted 1 year ago #

    I didn't find the globals, but I did however find it in 'Site options' when I clicked Edit site.

    It was set to 0, so I just changed this to 1.

  24. Rudeseal
    Member
    Posted 1 year ago #

    I just spent the past 2 weeks working with the tech crew at 1and1, I gave them super admin access to the site and they played with it. They found that all the settings for the server are correct, but there is some sort of database access error happening with WordPress and the error is not a server error but a wordpress error when you create a new site. there is also a possibility that wordpress is not writing the right codes to the .htaccess file..

    If anyone (perferably wordpress developers) wants to play with my site to see what the deal is, let me know and I will send them access info. You can see the settings for the server at:

    http://www.littleshelltribalmembers.com/phpinfo.php

  25. Rudeseal
    Member
    Posted 1 year ago #

    AS and FYI, pretty permalinks work perfectly..

  26. Rudeseal
    Member
    Posted 1 year ago #

    hmm.. I am looking under sites in the SQL Database, and the new sites are not being added.. other settings are being set.. This is a MySQL 5.0 database..

  27. Rudeseal
    Member
    Posted 1 year ago #

    I take it back, it is showing up under "blogs" in the mysql database.. but when you hover over "View" in the Superuser menus for the site, it does not show the link, it shows up as http://littleshelltribalmembers.com/wp-admin.php instead of http://littleshelltribalmembers.com/rudeseal (name of the actual site)
    phpmyadmin does show "/rudeseal/" as the path in the Blogs fields

  28. Andrea_r
    team pirate
    Posted 1 year ago #

    In the db they are not named sites, they are named blogs.

    Also, 1&1 seem to have trouble running multisite installs. New blog creation is just adding new tables to the database - just as if a plugin were adding new tables.

  29. beleza.biz
    Member
    Posted 1 year ago #

    I only read this thread once, but I had the same 500 server errr problem, and it came down to something very simple DNS resolution.

    I use a hosts that requires a wild card be added to DNS on both the network level (their control panel) and inside of cpanel. So whenever i add any domain, i have to add it at two places for DNS to fully resolve.

    Make sure *.domain.com is added as a 'subdomain' to the main site both in the host control panel, and the cpanel windows hosting manager.

    If you did all the basic steps, this should bring up your new page.
    Let me know if that helps.

  30. Rudeseal
    Member
    Posted 1 year ago #

    I am not using subdomains.. I am using the subdirectories so changing to wildcard and subdomains is not applicable to this problem.

    Thanks for playing!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags