Forums

problem creating new sub sites (15 posts)

  1. Rob
    Member
    Posted 1 year ago #

    i have been biting the bullet and trying to get the wordpress install working on my own, for me local test environment. running on ubuntu, installed all prereqs php5, mysql, apache2...all good. wordpress works, so on to making it a multisite, follow all the normal steps..then when i make a new subsite the tables in the database are created but the site files seem to be missing. have files owned by www-data:www-data and can open permission on everything to 777 (if i need since just a local test install) and still cannot get that sub site working. thanks in advance for you input.

    Rob

  2. Tim Moore
    Code Wrangler
    Posted 1 year ago #

    No actual files are created when you make a subsite, aside from a folder in blogs.dir that contain media items and the database entries.

    What is the error you are getting when you try to visit the subsite in your browser?

  3. Rob
    Member
    Posted 1 year ago #

    i get 404 not found, and the blogs.dir directory (which should be under wp-content) is not created.

  4. Tim Moore
    Code Wrangler
    Posted 1 year ago #

    You need to manually create blogs.dir as part of setting up MultiSite, as well as giving it proper permissions.

    404 errors likely are because you don't have Apache mod_rewrite enabled. If you host yourself, look up how to turn it on. If you pay for hosting, talk to your host.

  5. Andrea_r
    team pirate
    Posted 1 year ago #

    Give us a link to your site.

    The blogs.dir folder is for media uploads *only* and have no relation to whether or not the subsites will work. read the sticky in this forum.

    Liek Tim says, it's all down to mod_rewrite. If you do not have pretty permalinks working on your main site - that's your issue.

  6. Rob
    Member
    Posted 1 year ago #

    its jut an internal test site, i am just trying to be a big boy and understand all the in's and out's of installing so i understand it better. It does seem to be some mod_rewrite thing but i have not fixed it as of yet. thanks andrea.

    Rob

  7. Rob
    Member
    Posted 1 year ago #

    reinstall, making sure i have a blogs.dir and ran a test to make sure i have mod_rewrite working. now i get database tables made and when i navigate to the new site i get no errors and a blank page. weird. sorry about the noob sauces going on here, but i need to own this stuff.

    Rob

  8. Tim Moore
    Code Wrangler
    Posted 1 year ago #

    Blank white page means PHP errors. Check your error logs or turn on WordPress debugging (http://andrewnacin.com/2010/04/23/5-ways-to-debug-wordpress/) to find out what is going on.

  9. Rob
    Member
    Posted 1 year ago #

    ok i hate log dumps but here are a couple of lines

    please use a pastebin for long texts

  10. Tim Moore
    Code Wrangler
    Posted 1 year ago #

    Please use pastebin in the future

    Try redownloading the WordPress package from wordpress.org and uploading it to your site. Looks like something is going on with the Core files.

  11. Rob
    Member
    Posted 1 year ago #

    like the pastebin.com thing, that was new to me. thanks.

  12. Andrea_r
    team pirate
    Posted 1 year ago #

    when i navigate to the new site i get no errors and a blank page.

    Did you delete the default theme? Don't do that.

  13. Rob
    Member
    Posted 1 year ago #

    2010 is right where is should be, i really hate this stuff! this is the reason i usually find a system already set up because everything i really want to do assumes i have a running system. however i think it is worth the time to learn all the moving parts so i can fix problems that may arise down the road.

  14. Andrea_r
    team pirate
    Posted 1 year ago #

    Did you turn off all your plugins?
    Did you find and read the error logs?

  15. Rob
    Member
    Posted 1 year ago #

    it's a clean install with just default plugins in default state. I have been having trouble getting good error logs. right now i am going to spin up an image on AWS with it already installed and see if i can find some differences.

Topic Closed

This topic has been closed to new replies.

About this Topic