WordPress.org

Support

Support » Installation » Latest nightly build – bad things happening

Latest nightly build – bad things happening

  • 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/

Viewing 15 replies - 1 through 15 (of 15 total)
  • Perhaps something familiar to my post?

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

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

    Moderator James Huff

    @macmanx

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

    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.

    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.

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

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

    OH NO!

    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?

    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'] );

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

    I knew I wasn’t crazy!!

    Could someone with this problem email me?

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

    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

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Latest nightly build – bad things happening’ is closed to new replies.
Skip to toolbar