WordPress.org

Ready to get started?Download WordPress

Forums

Latest nightly build - bad things happening (16 posts)

  1. tparlin
    Member
    Posted 9 years ago #

    I installed the latest nightly build, cleared my cookies and BOOM. I lose all my styles, and can't log into admin because it keeps trying to point to /wp-login instead of /blog/wp-login where my installation is. I was able to restore my old installation by downloading the build from Jan 2.

    My blog is installed in a sub dir off the root. In order to verify (or see if I'm nuts) I would recommend trying a fresh install of the latest nightly build in a sub dir off the root, clear cookies and see what breaks.

    I even tried doing a fresh installation and that broke as well, see the result here:

    http://www.thoughtmechanics.com/photolog/

  2. Jack
    Member
    Posted 9 years ago #

    Perhaps something familiar to my post?

    http://wordpress.org/support/topic.php?id=20332

  3. tparlin
    Member
    Posted 9 years ago #

    I don't think it's related because the build from Jan 2 works fine, something big seems to have broken since then.

  4. James
    Happiness Engineer
    Posted 9 years ago #

    Use phpmyadmin to fix your 'site_url' and 'home' values:
    http://www.tamba2.org.uk/wordpress/site-url/

  5. tparlin
    Member
    Posted 9 years ago #

    The problem seems to be that the siteurl in the wp_options table keeps getting overwritten to be

    http:

    That's it. I change it to the correct URL and it keeps getting changed back, this is a fresh install, not an upgrade.

  6. tparlin
    Member
    Posted 9 years ago #

    Okay guys, I went and did a fresh installation of each version of wordpress from the January 9 build backwards until the problem went away.

    The problem went away when I installed the Jan 4th build, so the bug was introduced in the Jan 5th build. I'm not sure where the problem is, but at least now the developers have something to look at.

    Jan 4th installation works perfectly, all of the installations after that are broken.

  7. 7milesdown
    Member
    Posted 9 years ago #

    Im using the Jan 8th build. haven't found any bugs? what are they?

  8. tparlin
    Member
    Posted 9 years ago #

    It seems to only happen if you are running wp in a subdirectory off the root. Read the notes above for the description.

  9. 7milesdown
    Member
    Posted 9 years ago #

    OH NO!

  10. 7milesdown
    Member
    Posted 9 years ago #

    gah, im getting those problems today! whoa is me! wow, talk about a jinx.........GRRRR

    How did you go backward with the build? Just overwrite using 1.4.05?

  11. Ryan Boren
    WordPress Dev
    Posted 9 years ago #

    It takes more than just having WP in a subdir. Try commenting out the following lines in wp-login.php. Does that make a difference?

    // If someone has moved WordPress let's try to detect it
    if ( isset( $_SERVER['PATH_INFO'] ) )
    $_SERVER['PHP_SELF'] = str_replace( $_SERVER['PATH_INFO'], '', $_SERVER['PHP_SELF'] );

  12. 7milesdown
    Member
    Posted 9 years ago #

    I reverted back to 1.5 1.4.05 and problems resolved. thanks. gonna wait till I hear more about these bugs.

  13. tparlin
    Member
    Posted 9 years ago #

    I knew I wasn't crazy!!

  14. Matt Mullenweg
    Troublemaker
    Posted 9 years ago #

    Could someone with this problem email me?

  15. Ryan Boren
    WordPress Dev
    Posted 9 years ago #

    There are some setups where PATH_INFO will be the same as PHP_SELF.

  16. tparlin
    Member
    Posted 9 years ago #

    Rboren, commenting out those lines worked. Another possible fix is to replace:

    if ( isset( $_SERVER['PATH_INFO'] ) )
    $_SERVER['PHP_SELF'] = str_replace( $_SERVER['PATH_INFO'], '', $_SERVER['PHP_SELF'] );

    with

    if ( dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) != get_settings('siteurl') )
    update_option('siteurl', dirname('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']) );

    in wp-login.php

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.