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)
Volunteer Moderator
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.
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.
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