WordPress.org

Ready to get started?Download WordPress

Forums

Multisite problems with RC3 (25 posts)

  1. cinematic
    Member
    Posted 4 years ago #

    I have just installed a fresh multisite installation to compare it with my other multisite installation where I had problems with the image file upload paths after upgrading from an earlier wp 3.0 version to RC3.

    In went through all necessary steps but the permalinks don't seem to work.

    After creating a new site test I am getting an email that the site has sucessfully set up (still I cannot access it) and in addition a new user was created with the name of the new site together with a password.

    This is a completely fesh installation and my feeling is that something is messed up with the multisite feature.

  2. CircleReader
    Member
    Posted 4 years ago #

    I also am having problems creating new sites with a 3.0 multisite intstall. The process seems to go well on the "add site" screen, the email is sent and the site is added to the list. But visiting the site produces a database connection error, and clicking the "Backend" link takes me to the main site Dashboard, as if the new site were not there. I saw a new user created the first couple times I tried this, but after deleting those blogs & trying again, my most recently created ghost-site has only me listed as a user.

  3. CircleReader
    Member
    Posted 4 years ago #

    Checking the databases, I can see an entry in the wp_blogs table for the new site, but not any other tables associated with that site's blog_id.

    Also, the emails I received were blank where they should have listed "Site URL:"

  4. Which kind of site did you pick, subdomains or subfolders?

  5. CircleReader
    Member
    Posted 4 years ago #

    I'm on a subfolder install, thus: http://readingcirclebooks.com/testie.

  6. Ron Rennick
    MultiSite Guru
    Posted 4 years ago #

    Try it with no plugins active.

  7. CircleReader
    Member
    Posted 4 years ago #

    *Sigh* I knew you'd say that.

    With 43 recently active plugins,* http://readingcirclebooks.com/testie2/ is up and running in a jiffy.

    Reactivating in small batches, starting w/ the sitewide tags...

    [*Yes, I know I'm an addict.]

  8. CircleReader
    Member
    Posted 4 years ago #

    All right, the Sitewide Tags plugin has created - apparently without a hitch - a new blog, http://readingcirclebooks.com/aleph, to aggregate my posts across the network, so that I can feature some of them on a new home page using your Featured Posts plugin. This also seems to be working, though there's nothing in the sitewide feed yet except the "Hello World" post.*

    So it looks like the RC3 multisite functionality is fine for my subfolder install at least. I'll let you know if the problem returns as I reactivate the plugins.

    *Will that fix itself, or does it only aggregate going forward, which would mean I have some importing to do?

  9. CircleReader
    Member
    Posted 4 years ago #

    Hmm - fortunately, but somewhat uselessly, the problem has not returned as I reactivated the plugins. So I've no clue as to the cause. :-/

  10. Sitewide tags only aggregates going forward, it doesn't go pick up old posts.

    I *think* there may be a one-time script out there in the mu forums, but my memory is fuzzy on that one....

    And *headdesk* on non reproducible problems. :D

  11. anitaea
    Member
    Posted 4 years ago #

    I am having this same problem. When I create a new site through the "register" link, the site and user are created, the email is sent, but neither the link from the activation page nor the link from the email work. The "Site not found on this server" message" shows up.

    The same thing happens if I create the site from inside the admin panel.

    3.0 was installed this morning on a test site, and no new plugins or themes have been installed. I am using Twenty Ten as the theme.

    I had this same problem yesterday on a site that was upgraded from 2.9.2, so decided to try a brand new install.

    Thanks in advance for the help!

  12. That isn't exactly the same issue other people were having.

    Go to Super Admin -> Sites. Add a new site. Visit the site. can you see it? No? Then the server is not set up.

    What format did you pick, subdomains or subfolders? If you picked subdomains, did you do the necessary wildcards in Apache and DNS like ti says?

  13. anitaea
    Member
    Posted 4 years ago #

    It was set up with subfolders. This problem was corrected by properly placing the ht access file. Thank you for your help!

  14. mucky
    Member
    Posted 4 years ago #

    Hi!!,
    Has anyone tried the RC3 with multisite activated with subdomains?
    I've installed RC3, I followed the steps that come in different websites (wp-config.php edit, create .httaccess file, enable it in the admin, and create a site with a subdomain in the superadmin page.

    If I have my main website and tell http://sample.com WP 3 RC3 to add another site in http://blog.sample.com, what are the next steps?
    do I create the subdomain in my control panel Domain server?
    do i redirect the folder where the subdomain?
    and now do I have to install in my supposed new folder a new version of WP 3 RC3 or already installed by itself (or virtually...)

    thanks in advance

  15. mucky
    Member
    Posted 4 years ago #

    I answer myself, the site is automatically created, you must create the subdomain in the control panel Domain server, and point to the direction of principal site.

    thanks for the web

  16. hauruapai
    Member
    Posted 4 years ago #

    @ mucky

    I also have installed RC3 with multisite and subdomains

    I did not have to use the control panel of the server as it will create them automatically - although to work it out took a while and great help from the forums :D

    Did you create the wildcard alias? Also wondering about the ServerAlias in the http.conf file. I just ask as that is not in your list of things that you did.

    http://mu.wordpress.org/forums/topic/18258?replies=11 is where I got it to work - and also I put links there that may help others having the same problems. Good Luck!

  17. simmonsstummer
    Member
    Posted 4 years ago #

    i still have this problem.
    All the things that i tryied in local with my ubuntu server make me understand that maybe is not my fault..but of my hosting..
    i can create the subsites in subdirectory but when i try to visit them or go to the backend i receive a 404 the page cannot be found.

    but i think that the problem could be that my hosting is windows.
    there's a way to make it works?

    thank you.

  18. but i think that the problem could be that my hosting is windows.

    Could be. You really need the mod_rewrite module working. A good way to check is to see if the pretty permalinks on the main blog work.

  19. simmonsstummer
    Member
    Posted 4 years ago #

    the permalinks works properly...
    but this seems like the problem i had on my local web-server when i didn't know how to enable "override all".
    my site is:
    http://www.risorsegeologiche.com/blog/
    and all the sites(that doesn't works) are under that folder
    for example
    http://www.risorsegeologiche.com/blog/prova/

    the strange thing is that i'm not able to see the backend too(of the subsites).

  20. Open up the apache confgi file and in the vhost entry for that domain, put:

    AllowOverride FileInfo Options

  21. simmonsstummer
    Member
    Posted 4 years ago #

    ......
    i do not have the "power" to do that....my hosting make this things by his own...if he wants..

    may i change something in my .htaccess to make it works?
    this is mine:

    RewriteEngine On
    RewriteBase /blog/
    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]
  22. i do not have the "power" to do that....my hosting make this things by his own...if he wants..

    may i change something in my .htaccess to make it works?

    Well, no... the command I gave above is to *force* the htaccess into being read.

    Sometimes if mod_rewrite is enabled, it'll let the permalinks work on the main WP blog, but won't really be reading the htaccess file. If it's not reading the file, the extra blogs/sites will not get served up.

    that's just how it works.

    tell your host you need the htaccess file enabled.

  23. simmonsstummer
    Member
    Posted 4 years ago #

    Open up the apache confgi file and in the vhost entry for that domain, put:

    AllowOverride FileInfo Options

    the command I gave above is to *force* the htaccess into being read

    so I can't do it....or not? i don't think my host will change this for me..

  24. tixrus
    Member
    Posted 4 years ago #

    I just did .htaccess for wp3.0 ms.
    I also moved the existing media from their respective old blogs individual folders to

    wp-content/blogs.dir/<blog id>/files/uploads

    and set up the .htaccess so that the existing image urls from pre 3.0 MS resolve to their new locations (at least for the primary blog).

    I'm using wildcards and subdomains and AFAIK all that is resolving correctly with DNS and virtual hosts with wildcard etc.

    I found this link:
    http://wordpress.org/support/topic/386527?replies=13

    that told me to add this line
    RedirectMatch 301 /wp-content/uploads/(.*)$ http://www.mysite.org/files/$1

    to .htaccess

    Now I have three compllicated QUESTIONS so bear with me:

    #1
    Given that the remainder of my .htaccess is what's recommended for wp3.0 ms I can see that the 301 Redirect redirects EVERYTHING with wp-content/uploads in the url to the main URL for all blogs.

    Then this rule:

    RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]

    kicks in and it rewrites yet again to dynamic code to resolve the file to the appropriate place. But it seems to me if the domain of the second request is always the main domain no matter what domain you're serving media for, it will have no way to know which blog id folder to look in, and that's borne out because images with old URL's only render correctly on the "main" blog.

    Question #2

    I see a lot of upload URL and path fields in my uberadmin config for these blogs. Some clearly pertain to plugins (many of which aren't even active!!) and I noticed when I uploaded new media it sets the URL to exactly where the file lives. I.E. none of those rewrite rules would be necessary. I have it configured to do that I guess, because I set all uploads URLS and paths to somethig with blogs.dir/<blog id>/files in it. It seems like going through all those rewrites introduces overhead so maybe that's what one wants. But I haven't seen documentation for exactly what those upload urls and paths control, for example is one for generating blog post URLS from uploads or what? What is considered best practice for the log run?

    Question #3

    Finally, it seems to me like someone might write a script to sequence through all the blog posts at database level and replace all media URLS that are currently working through complicated rewrites and redirects with straight URLS that resolve properly the first time? I have the skills necessary to write such a script if anyone thinks that would be a good thing to do.

    Actually one more What the *** is a "mature" blog? Does that mean it's no longer being updated??

    Thank you!!!

  25. What the *** is a "mature" blog? Does that mean it's no longer being updated??

    :D No, it means the blog has mature content and will be skipped in public listings.

    Without copy& pasting specific questions, you'd be better off doing a search & replace in the db and chancing the URLs within the posts to the new folder. Then you won't need the extra rewrite rule and you should be good.

Topic Closed

This topic has been closed to new replies.

About this Topic