WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Upgraded to 3.0 -- Observing Weird Problems (31 posts)

  1. Julian
    Member
    Posted 3 years ago #

    Hello:

    I just upgrade my WordPress 2.9.2 installation to 3.0 and am having instant problems. When I go to create a new post or page it brings up a blank screen. Luckily I backed up my database before upgrading. What could the problem be?

    Thanks in advance for your help!

  2. Julian
    Member
    Posted 3 years ago #

    I just reverted back to 2.9.2. I am thinking it's my host. I should probably switch hosting providers since my host uses somewhat outdated versions of MySQL and PHP.

  3. memitch08
    Member
    Posted 3 years ago #

    Who is your host?

  4. Julian
    Member
    Posted 3 years ago #

    Earthlink. The problem is it's so outdated that I can't even run NextGEN gallery correctly. I am somewhat scared to move to another hosting provider and transferring all of the files. Is it difficult?

  5. memitch08
    Member
    Posted 3 years ago #

    It's probably not that bad. Just time consuming. I usually zip up my files - download them to my PC - then upload the zipped files and unzip them. Saves a lot of time and energy - but from what you're saying, I'm not sure that Earthlink would have that capability!

    Good Luck!

  6. Andrew Nacin
    Lead Developer
    Posted 3 years ago #

    I have been in touch with Earthlink and have identified the following:

    Earthlink runs PHP 5.0.5, at least for the affected sites and for the testbed they provided me. We have identified a single line of code in WordPress 3.0 that causes a fatal error in PHP 5.0.5 due to a bug that the PHP team fixed in 5.1. It appears this bug also affects PHP 4.4.

    I have committed a change for WordPress 3.0.1, to be released in July, to ensure compatibility. This of course will not fix any issues you may have with a plugin.

    Earthlink has been made aware of the issue and they have begun to and will continue to apply the fix to any reported sites. If you are so inclined, you can apply the fix yourself. For the following options, you'll need to wait until after the nightly development build for 3.0.1 is refreshed (in the next 24 hours). After upgrading to a build with the fix, you will be running version 3.0.1-alpha-15359 or higher.

    Option 1. Download the WordPress Beta Tester plugin, use the "Point release nightlies" update stream, and upgrade WordPress. This will upgrade you to WordPress 3.0.1-alpha. You can disable the plugin after.

    Option 2. Download the latest build for WordPress 3.0.1: http://wordpress.org/nightly-builds/wordpress-3.0-latest.zip. You may replace all core files (wp-includes and wp-admin) to get all changes made for 3.0.1 so far. Or, to fix this one issue, you may also simply upload wp-admin/includes/post.php from the downloaded package to your server.

    If you are so inclined, I would also contact Earthlink support and suggest you wish to run PHP 5.2 or greater. Hosts generally have a greater vested interest in upgrading their servers when users voice concern. There are also other web hosts out there.

    I would also strongly encourage upgrading to WordPress 3.0.1 when it is released, and always ensure you are using the latest and greatest version of WordPress.

    For reference, this is the Trac ticket I handled this issue in: http://core.trac.wordpress.org/ticket/14160.

    Thanks,
    Nacin

  7. xenotaur
    Member
    Posted 3 years ago #

    Thanks, Nacin. I just spoke with an Earthlink support center person by chat and they confirmed that 5.05 is the current version, and while they do plan to upgrade it may be some time before that happens (weeks or months).

    On my site, I installed a fresh WordPress 3.0 against a clean database, installed 3.0.1 using the procedure you recommend, and then still get the white screen on post-new.php. So the fix unfortunately seems not to have worked.

    I will take a look at the diffs between post-new.php on my running server and the fresh install I downloaded, but in the meantime I wonder if you could go into some more detail about the nature of the line of code changed? I've looked at http://core.trac.wordpress.org/ticket/14160 but I am a PHP newbie so a deeper conceptual understanding would help.

    I did some tracing of the relevant code earlier (previous to the reinstall, sorry, I don't think I have that file left around) and got reasonably close to the error you describe.
    Perhaps there's an alternative formulation that will successfully overcome the bug. I'd like to help ... after all, until we fix it or I change servers I can't post. :-)

  8. Andrew Nacin
    Lead Developer
    Posted 3 years ago #

    As indicated, the 3.0.1 nightly build will not be refreshed until tomorrow. If you are reporting a version of 3.0.1-alpha-15350 instead of 15359, then you do not have the new code yet.

    You can also go to http://core.trac.wordpress.org/browser/branches/3.0/wp-admin/includes/post.php?rev=15359, and download either of the "other versions" listed in the footer, then upload that file.

    The code has to do with taking the return value of a function and passing it directly into another function, by reference. If you don't understand it, that's quite alright :-)

  9. jdlintz
    Member
    Posted 3 years ago #

    Having the same issue with 3.0 and Earthlink. I've tried nacin's suggestion above, downloaded 15359 version of post.php, but it doesn't fix the issue. It seems we're all having problems with post-new.php not post.php. I'm sure all the files are interconnected, but is there a new version of post-new.php that might fix thing?

  10. birdie breeze
    Member
    Posted 3 years ago #

    Hi
    Yes....it's been post-new.php here and I have 2 blogs on different earthlink accounts and both are suffering....affects ability to post, create new pages and use QuickPress.

    I will try this tomorrow

  11. xenotaur
    Member
    Posted 3 years ago #

    Nacin,

    Ah, yes - I see your post says that the update hasn't happened yet; I must have missed that line. And yes, your explanation is quite helpful - while I don't know the innards of PHP I can easily see that a function returning a value that's never assigned to a variable might pose a problem for passing by reference as a "transient" reference would have to be created to hold it for the duration of its lifetime. In theory that's an easy fix but who knows what downstream consequences that would bring. Anyway, thanks! I will try again once the file is refreshed.

    -Anthony

  12. xenotaur
    Member
    Posted 3 years ago #

    The nightly build now fixes the problem. Thank you!

  13. Andrew Nacin
    Lead Developer
    Posted 3 years ago #

    jdlintz: The problem is not in wp-admin/post-new.php or wp-admin/post.php.

    The problem is in wp-admin/includes/post.php.

    xenotaur, you are quite welcome.

    For reference, the build was refreshed.

  14. DewPointProductions
    Member
    Posted 3 years ago #

    @ Andrew, I am on an Earthlink hosted site and after uploading the latest 3.0.1 build core files I am finding that depending on the custom permalink structure I try to use I still get the "white page of death." I can use /%pagename%/ and everything works fine. When I try to add a new page or post, but if I use /%postname%/ or /%category%/%pagename%/ I still have the problem. Hope that helps improve things further.

  15. DewPointProductions
    Member
    Posted 3 years ago #

    I upgraded the core files and it appeared to work temporarily. I am not sure why it reverted, but I don't think the problem is fixed. I've been on with Earthlink chat support which is a bit like hitting yourself in the head with a brick. Still looking for a solution at the moment.

  16. roy547
    Member
    Posted 3 years ago #

    I had this problem back on 2.8.7 and there was a line of code I per the forum added that made the php version number a don't care. Wish I could find my notes.

  17. Andrew Nacin
    Lead Developer
    Posted 3 years ago #

    DewPointProductions -- If you can look in your error log for any errors, that would help. Alternatively ask Earthlink to look them up, and we can look at them. I'm confident that WP 3.0 is now fully compatible with PHP 5.0.5, but I can't be certain.

    roy547 -- There was not a 2.8.7 release :-)

  18. Heerefishyfish
    Member
    Posted 3 years ago #

    I just wanted to say. You guys are awesome. I just downloaded your new version of post.php and it worked perfectly!

    Thanks!

  19. julio81
    Member
    Posted 3 years ago #

    Nancin

    I still have the problem,
    I already have increase the version of wordpress, but this haven't fix my problem.
    When i post an image only, I do not have the problem, But when I add text to the post, this one fails, and throws me the blank page.

    Please Help!

  20. Andrew Nacin
    Lead Developer
    Posted 3 years ago #

    julio81: I will need to know the error being thrown. Can you add define('WP_DEBUG', true); to wp-config.php? Then paste the errors here.

    If there is an additional incompatibility with 3.0.1 and PHP 5.0.5 I will want to make sure we can fix it in 3.0.1 before we release it early next week.

  21. accra111
    Member
    Posted 3 years ago #

    Hi,

    I'm new to wordpress, but have a good bit of experience with html, php, and the like. I'm on Earthlink and have been having problems with the white page as well.

    I tried the work around, both uploading the single post.php file (from wp-admin/includes/ v. 3.0.1) as well as updating both the wp-admin and wp-includes folders. Unfortunately neither worked entirely.

    I also wiped everything, including the database and started from scratch (before generating any errors) and uploaded the new post.php file to start off with. I still get white pages.

    As you suggested in your last post I turned on the debugger. I generated the same error using two different methods.

    1. When using the twentyten theme set to static page to open, the menu option that points to the page designated for displaying posts generated the following error.

    Fatal error: Only variables can be passed by reference in /netapp/whnas-silo1-node1/s4/s4/00662/www.flagparade.org/webdocs/wordpress/wp-includes/query.php on line 2741

    2. I went to Pages->Edit->View Page to view the page that would not load correctly and it gave the same error.

    Fatal error: Only variables can be passed by reference in /netapp/whnas-silo1-node1/s4/s4/00662/www.flagparade.org/webdocs/wordpress/wp-includes/query.php on line 2741

    Hope some of this helps.

    Accra Shepp

  22. accra111
    Member
    Posted 3 years ago #

    postscript

    I left the debugger on so you could see for yourself. It's at http://www.flagparade.org/wordpress . The offending menu item is "Yet Another Blog Page".

    It's not much of a blog, since I'm just playing around with the interface getting up to speed.

    Accra

  23. Andrew Nacin
    Lead Developer
    Posted 3 years ago #

    Fixing that now. Thanks!

    Will want to know if there are any other errors you can generate.

  24. Andrew Nacin
    Lead Developer
    Posted 3 years ago #

    Accra,

    It was indeed another incompatibility with PHP 5.0.5, involving static posts pages.

    I combed through some more code and fixed five additional issues. All of these fixes will be in 3.0.1, which we intend to release early next week. Make sure you upgrade and you should be fine. If you do notice any other white screens resulting from this odd bug, feel free to return here and I'll take a look.

    Ultimately though, Earthlink should be speeding up their adoption of a newer version of PHP. Our new minimum requirements will be 5.2.0 for WordPress 3.2.

    Thanks,
    Nacin

  25. esavageus
    Member
    Posted 3 years ago #

    Hello!

    I'm not sure that my problem relates to this string but, sometime within the past two or three days, my blog (see it here) disappeared, i.e., all white screens, wp-admin included.

    I upgraded to WP 3.0 a few days ago and it seemed to work just fine for several days. Then, last night, nothing but white screens.

    Any help would be appreciated!

    ~Earl

  26. accra111
    Member
    Posted 3 years ago #

    Nacin,

    Thanks so much! I will check in early next week for the update. And as you suggested in an earlier I post I made sure to let Earthlink know that PHP 5.0.5 needed to be upgraded.

    Thanks again,

    Accra

  27. Andrew Nacin
    Lead Developer
    Posted 3 years ago #

    Earl - If you're not using Earthlink, please open a new support topic.

    Accra - you're quite welcome.

  28. wiselywoven
    Member
    Posted 3 years ago #

    Using Earthlink for our host (trying to get that changed). Brand new installation, 3.0.1 and I'm having the same problem described in this thread: on new posts they don't show up under 'mysite.com/blog' but individual posts are visible at their specific permalink. Any suggestions?
    Thanks!

  29. wiselywoven
    Member
    Posted 3 years ago #

    I'm done with Earthlink- we are switching to Website Source for our webhost.

  30. scuzzu
    Member
    Posted 3 years ago #

    Hello,
    I have the same problem (blank page for new page or post).
    My host has PHP 5.3.3-0.dotdeb.0. on Debian (Leny) Do you think it is the problem ?
    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic