[wp-trac] [WordPress Trac] #10234: SunOS $REQUEST_URI issues breaking install/upgrade (was: Incorrect 'siteurl' inserted into database)

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 8 17:28:22 UTC 2009


#10234: SunOS $REQUEST_URI issues breaking install/upgrade
--------------------------+-------------------------------------------------
 Reporter:  SteveBooth    |       Owner:  markjaquith
     Type:  defect (bug)  |      Status:  assigned   
 Priority:  normal        |   Milestone:  2.8.2      
Component:  Canonical     |     Version:             
 Severity:  major         |    Keywords:             
--------------------------+-------------------------------------------------
Changes (by westi):

 * cc: westi (added)
  * severity:  blocker => major
  * milestone:  2.8.1 => 2.8.2


Old description:

> Symptom:
>
> After upgrading (or attempting) to 2.8.1, when browsing to <my wp site
> >/wp-admin, the system improperly re-directed to '<my wp site>?step=2/wp-
> admin/upgrade.php?_wp_http_referer='
>
> This was caused by a prior step (unable to determine which) in the wp
> upgrade process placing the string '<my wp site>?step=2' in the
> 'wp_options' table in the database, thus destroying all references to the
> site because admin_url will then create incorrect references.

New description:

 Symptom:

 After upgrading (or attempting) to 2.8.1, when browsing to <my wp site
 >/wp-admin, the system improperly re-directed to '<my wp site>?step=2/wp-
 admin/upgrade.php?_wp_http_referer='

 This was caused by a prior step (unable to determine which) in the wp
 upgrade process placing the string '<my wp site>?step=2' in the
 'wp_options' table in the database, thus destroying all references to the
 site because admin_url will then create incorrect references.

 This is because on SunOS it doesn't populate REQUEST_URI instead you get
 the following:
 {{{
     REQUEST_URI: (i.e. Null)
     SCRIPT_NAME: /wordpress/index.php
     PHP_SELF: /wordpress/index.php
     SERVER_NAME: stevenmbooth.com
 }}]

--

Comment:

 Updating description and moving to 2.9 for now as 2.8.1 is about to be
 released and I don't believe this is a regression.

 Once we have a working fix we can consider a backport to 2.8 branch for a
 later 2.8.x release.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10234#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list