Forums

[resolved] New subdir sites not being created correctly (20 posts)

  1. Zarcowi
    Member
    Posted 1 year ago #

    I had a development server setup as a single site installed to its own directory (/wordpress). I upgraded this site to 3.1 using the automatic upgrade feature and all seemed fine. I next decided to enable multisite using the procedure out lined here using the subdir method. The main site needed a permalink change to fix the 404 issue and all seemed well. When I created my first sub site the sites home page said that “hello world” post was “not found”. After some more looking it seemed the site was pointing to the root site (/wordpress) and not the directory where it needed to point (/wordpress/development). Steps taken to produce this (all plugins were disabled).
    From the network admin page:
    1. -> Sites/add new
    2. Fill in site address, site title, admin email (example)
    3. -> Add site
    4. System chugs for 30 sec or so and returns a “Remote Server or file not found”
    5. -> Page Reload takes you to a screen that says “Are you sure you want to do this?” with a link “Please try again”. Clicking the link takes you back to the new sites page.
    6. Going back to the sites page shows the new site added. (/wordpress/example/)
    7. Editing this site and adding an existing user (admin) seems to work as intended.
    8. Going to the sites page (www.example.com/wordpress/example/) gives you a site named “My Site” with no posts just “Not Found” “Apologies, but the page you requested could not be found. Perhaps searching will help.”
    9. Trying to login to the site admin (www.example.com/wordpress/example/wp-login.php) takes you to the login for (www.example.com/wordpress /wp-login.php).

    What’s not happening during new site creation:
    • By editing the site (/wordpress/example -> Edit -> settings tab)
    1. Site URL = http://www.example.com/wordpress/, needs to be http://www.example.com/wordpress/example/
    2. Blogname = “My Site”, needs to be “Example”
    3. Home = http://www.example.com/wordpress/, needs to be http://www.example.com/wordpress/example/
    I am not sure if this is “as designed” or a bug, but I wanted to bring this up since it seemed others were running into this issue. There are probably more errors in the settings tab that I am missing.
    Thanks in advance,
    Z

  2. Check the database and make sure the sites are being created there. But no, that's not by design.

    Home = http://www.example.com/wordpress/ - THIS is by design. You install it in /wordpress/ that's where it lives.

    Home != http://www.example.com/wordpress/example/ - This is a SUB blog.

  3. Zarcowi
    Member
    Posted 1 year ago #

    Once the changes to the settings are done the site runs normally.

    Z

  4. Don't sign your posts please :)

    I would delete your install and start fresh if you can, something's not right. None of that should be happening.

  5. Zarcowi
    Member
    Posted 1 year ago #

    works fine in both configurations (root and /wordpress). No clue as to what had failed.

  6. So long as you're not trying to run WordPress out of root while having it installed in /wordpress, I can't fathopm why this would happen. Is it okay now?

  7. Zarcowi
    Member
    Posted 1 year ago #

    The two installs I tested work fine yes, but I really want to get to the bottom of this error and why it occurred. I have reinstalled the problem instance and its DB. It would be nice to try and debug the issue.

  8. Could be a corrupt DB.

  9. Zarcowi
    Member
    Posted 1 year ago #

    Are there tools out there to test the integrity of the DB?

  10. Zarcowi
    Member
    Posted 1 year ago #

    tested DB integrity with this script http://www.scriptol.com/sql/check-table.php, shows the DB is fine.

  11. I'd go in via phpMyAdmin and run an optimize on any tables with overhead, first. And there should be a repair option.

  12. Zarcowi
    Member
    Posted 1 year ago #

    none of the tables have overhead looking at phpmyadmin.

  13. Zarcowi
    Member
    Posted 1 year ago #

    error seems to be coming from site-new.php (action=add-site)

  14. Zarcowi
    Member
    Posted 1 year ago #

    Got it, thank you for the help.

  15. What was it for you?

  16. Zarcowi
    Member
    Posted 1 year ago #

    Main site theme.

  17. Andrea_r
    team pirate
    Posted 1 year ago #

    What theme?

  18. Zarcowi
    Member
    Posted 1 year ago #

    Suffusion of all things.

  19. Zarcowi
    Member
    Posted 1 year ago #

    Suffusion's author just came out with an update from 3.7.7 to 3.7.8. Now adding a site tells me there was a problem creating a new user. Looks like the theme author my know whats going on.....I hope.

  20. Zarcowi
    Member
    Posted 1 year ago #

    Tracked the problem too "Theme Skinning\Header\Header Background Image Type\Use a rotating set of images from a folder". If this is set then the error occurs. By setting the image type to "Use a predefined image" the new site is created correctly. Hope this is helpful.

Topic Closed

This topic has been closed to new replies.

About this Topic