WordPress.org

Ready to get started?Download WordPress

Forums

wpmu 2.9.2 to 3.0 pages & posts no longer work (22 posts)

  1. rmiddleton
    Member
    Posted 3 years ago #

    After upgrading to 3.0 the main site appears fine but none of the others work. Main page on each comes up with correct theme, but pages & posts that existed are Error 404.
    Did modify .htaccess & wp.config.php per note at the end of the upgrade process. (copy/paste so not likely a typo)
    Example: This site has/had 15 pages and at least 1 post.
    http://websites.msdpt.k12.in.us/sample/
    u=sample p=letmein
    Appreciate any direction / thought you may have.

    RewriteEngine On
    RewriteBase /

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

  2. The main site still shows the maintenance mode screen?

  3. rmiddleton
    Member
    Posted 3 years ago #

    Yes, that only affects the main site. Wish it affected all! However, I'll take it down for you (despite the calls I'm going to get) becuase I really am getting frustrated! Everything was PERFECT before the upgrade. Going live 7/1!!!

  4. And in the admin area it says you have no posts or pages found, even tho it gives a count. ;) Different thread title for troubleshooting.

    hang on, I'll go see what I can find.

  5. Can you disable all the plugins, including network activated and anything in the mu-plugins folder?

    also, have a look in the db - none of the posts have assigned categories. Something didn't complete & Ron and I are wracking our brains trying to remember. (we have seen this before)

  6. rmiddleton
    Member
    Posted 3 years ago #

    Okay, all deactivated.
    Page & post data is in database.
    One entry from wp_2_posts:
    11 1 2010-04-05 19:43:00 2010-04-05 19:43:00 Parents publish closed closed parents 2010-04-05 19:43:00 2010-04-05 19:43:00 0 http://websites.msdpt.k12.in.us/sample/?page_id=11 4 page 0

  7. rmiddleton
    Member
    Posted 3 years ago #

    Okay, now it's magically back!!!

  8. Yay?

    ;D

    (kinda disturbed we don't know why it's suddenly working...)

    Was it one of the plugins maybe?

  9. rmiddleton
    Member
    Posted 3 years ago #

    I'm really disturbed by that too. I have put them back, one at a time, all is well. I guess we'll have to "assume" it was, but...
    Unsolved fixes worry me as much as unsolved problems.
    Thank you for the help. As always, you are great!

  10. rmiddleton
    Member
    Posted 3 years ago #

    All is not totally right with the world...
    Most sites are back okay. Some still show pages/posts count but do not appear in the list for editing.
    So, did you remember where you have seen this before?

  11. Still drawing a blank. Hard to find with searches.

  12. gazouteast
    Member
    Posted 3 years ago #

    Same issues as rmiddleton on one of my sites too - have tried everything I can think of, and still looking for additional clues from others.

    I've checked and recheckedthe subdomains' setups - all is as should be, in the database, in the Super Admin's - Sites - Edit, in theme and plugin options (yes, tried with twenty ten and zero plugins but still same errors). Have created new htaccess and no joy.

    The theme (whichever one) shows correctly, but on the public side every query is Sorry not found - home page, category pages, single posts, pages ... even the 404 page returns "sorry nothing found" - LOL

    Andrea - please prod Ron and try to find where you saw this before, somewhere there is a disconnect between the post lists in the side bar and admin (which both show the right counts) but even in admin, if I click the posts list link, it says no posts, yet above that gives the count for the number of posts ... they're in the database alright, but not being returned to the site.

    Am starting to think this is template tag or core function related, rather than something more obvious like database connect or htaccess - there were a LOT of template tag deprecations in the WP 3.0 changelog.

    Gaz

  13. If you tried it with TwentyTen & got the same issue, then it;s not a template tag. ;)

    Did you go resave the permalinks on that one blog?

    In the case of middleton above, it could be that he's on one of thsoe hosts that take ages to let any htacces changes show. hard to say.

    But his was *all* blogs. Yours is one blog. That means different cause.

    So. Go to that blog's permalinks page. Pick a different permalink, save. then pick the one it was. Save. Go see if that fixes it.

  14. gazouteast
    Member
    Posted 3 years ago #

    Tried every theme including 20-10, kubrick etc - all yield the same

    permalinks changed and saved upteen times (with htaccess on 777) on home and sub-blog - no fixed (broke it more and had to refix back to original broken state)

    my linked site only has one sub-blog right now - it was a part done 2.9.2 build that I upgraded to 3.0 as a testbed (I'm assuming you looked at checkedbyyou.com ?)

    Even went to the stage of renaming plugins and using an empty plugins folder just in case Hello Dummy was the cause.

    No joy - now looking like the third brother to Yul Bryner and Telly Savalas - (rolls eyes for showing my age - LOL)

  15. No joy - now looking like the third brother to Yul Bryner and Telly Savalas - (rolls eyes for showing my age - LOL)

    I know who these guys are. ;)

    my linked site only has one sub-blog right now - it was a part done 2.9.2 build that I upgraded to 3.0 as a testbed

    try a fresh install?

    What's the second site on your domain? It's not linked to anywhere. kinda hard to check that way.

  16. gazouteast
    Member
    Posted 3 years ago #

    sorry Andrea - chasing my tail in too many directions at once with this

    The "test anything and cross fingers" site, which was MU2.9.2 and is now 3.0 multisite (subdomain in both cases) is -
    (top) http://checkedbyyou.com
    (sub) http://webhosting.checkedbyyou.com

    in the sub - note the two test post titles in the sidebar under recent posts - WP is speaking to the db and retrieving post meta etc, but not displaying it (all themes) as posts on the main part of the page - not even the title, which we know it's got because it's in the side bar.

    It's doing the same in admin - go to the Posts list page, and it says how many posts in the database and whether published, draft etc, but does not show the list of posts and their details.

    If you want a superadmin login to play and investigate gimme a nudge and contact path to send the info - I'll even give you an all-privileges FTP user account for that domain if you want to look deeper - I'm completely stumped - I've had a full week looking at nothing else and trying everything.

    Gaz

  17. gazouteast
    Member
    Posted 3 years ago #

    Yeah - killed it last night trying to replace the wp-config VHOSTS define with the replacement MULTISITE_INSTALL define - threw wobblies at me about auto-fixing the database and thoroughly trashed everything.

    Wiped it, did a clean full 3.0 install and cannot get past the very initial login after install complete - it just recycles constantly back to the login screen. Not even any plugins or additional themes FTP'd up - just the base package and the installer run. Gutted that I can't progress it.

  18. gazouteast
    Member
    Posted 3 years ago #

    Ok - the login issue was a remembered login/password issue in the browser - old login had a capital initial, new one didn't - Browser kept rewriting the login after hitting enter, so deleted the remember from the browser security list (user logins).

    Now back to an escalation of the original problem
    - under WPMU 2.9.2 subdomains worked but not posts retrieval as discussed above
    - under WPMU upgraded to 3.0MS = same as above
    - under clean WP3.0 subdomains completely fail to display (admin and public) but are in the sites list in admin
    - under 3.0 upgraded to 3.0.1 MS, subdomains have same issue as 3.0 MS clean install.

    Hosts have now admitted they don't support wildcard subdomains, and have even gone so far as to say they refuse to support WPMU and 3.0 MS (subliminal threat to suspend account if I use it) - hosts are UnlimitedWebHosting.com - really disappointed with them over this, especially after subdomains worked on 2.9.2 without having to contact them.

    Am stuck, but VERY curious to find out why subdomains worked under 2.9.2 and 2.9.2 upgrade to 3.0 but failed under clean install and 3.0 to 3.0.1 upgrade. Guts tell me the htaccess differences between 2.9.2 and 3.0 have got a lot to do with this point - it's the only thing that really changed config-wise on a "server side" of the install.

    Anyone else any thoughts on this?

  19. Get a new host, seriously.

    Also, no idea why the subdomains didn't work - UNLESS host decided to reset something on you.

    The htaccess differences have no bearing - the wildcard subdomains are set server side with DNS records as well. It's the only way they ever work, unless you put in manual subdomains.

    So you could tinker with the htaccess all day - if they are not set in Apache, they will never work. and your host controls apache.

  20. gazouteast
    Member
    Posted 3 years ago #

    Problem is that on this host I've got another three years pre-paid and I want my money's worth from them as there's no refunds after all this time.

    However, I have been able to start getting manually set subdomains to start working now the (unbelievably slow) DNS propagation is filtering out - seriously, having a town crier walk in front of a train with a red flag would be faster for propagating the DNS than this bunch.

    They're trying to pressure me into going with a VPS - I'm seeing and hearing a lot of reports that an increasing number of hosts are doing this where WP 3 is concerned .... I guess WordPress sites are no longer going to be cheap and fun to create.

    Thinks I need to do some reading up on Apache directives and stuff to see if there is any workarounds that can be plonked in user home directories to enable wildcards - one of my hosts said it is possible via php.ini and htaccess, but is a nightmare to initially setup.

  21. If you are going to be doing large or complicated setups with domain mapping and such, then yes, a VPS is recommended. even by me. :) They come as cheap as $20-$40 a month.

    Sticking with your current host to get your money's worth may not be worth it. especially with a switch to a new host, getting it running in considerably less time with less headache. that part SAVES you money.

    one of my hosts said it is possible via php.ini and htaccess, but is a nightmare to initially setup.

    Sorry, h';s flat out wrong. vhosts are set by apache and can be in other files via things liek Plesk (as we've discussed) but there is no way either php.ini or htaccess can change that. None. And I'm telling you this before you waste hours on it. ;)

    If you'd be willing to pay someone whatever it is you've paid for the rest of that hosting, then consider it as lesson learned and move. I know you've spent hours struggling with this when you haven't needed to. trying to save you some further pain.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.