[wp-trac] [WordPress Trac] #17168: redirect loop when accessing wp-admin/network/
WordPress Trac
wp-trac at lists.automattic.com
Tue May 24 18:59:56 UTC 2011
#17168: redirect loop when accessing wp-admin/network/
-------------------------------+-----------------------
Reporter: chaos1 | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Multisite | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+-----------------------
Changes (by chaos1):
* status: closed => reopened
* resolution: duplicate =>
Comment:
When I took a look through [http://core.trac.wordpress.org/ticket/17090
#17090] I uploaded and activated
[http://core.trac.wordpress.org/attachment/ticket/17090/ticket-17090.2.php
ticket-17090.2.php]
According to nacin's
[http://core.trac.wordpress.org/ticket/17090#comment:19 comment #19] it is
a path issue in $wpdb->blogs. Taking a look at the output below, the path
is / - Note: Network admin URL and [domain] had capitalization in the
original MyDomainName.com.
Output:
{{{
Attempted URL: example.com/wp-admin/network/
Network admin: true
Main site: true
Network admin URL: http://Example.com/wp-admin/network/
stdClass Object
(
[id] => 143
[domain] => Example.com
[path] => /
[blog_id] => 195
[site_name] => Example
)
stdClass Object
(
[blog_id] => 195
[site_id] => 143
[domain] => example.com
[path] => /
[registered] => 2011-05-19 19:31:43
[last_updated] => 2011-05-24 17:38:32
[public] => 1
[archived] => 0
[mature] => 0
[spam] => 0
[deleted] => 0
[lang_id] => 0
)
stdClass Object
(
[blog_id] => 1
[site_id] => 1
[domain] => parentdomain.com
[path] => /
[registered] => 2010-09-17 23:01:01
[last_updated] => 2011-05-24 16:37:53
[public] => 1
[archived] => 0
[mature] => 0
[spam] => 0
[deleted] => 0
[lang_id] => 0
)
DOMAIN_CURRENT_SITE is parentdomain.com
PATH_CURRENT_SITE is /
SITE_ID_CURRENT_SITE is 1
BLOG_ID_CURRENT_SITE is 1
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17168#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list