[wp-testers] changing backend without having to log in?

sam samdini0 at gmail.com
Tue Apr 6 20:55:40 UTC 2010


This is regarding the changing backend without having to login. I'm
probably stating something you already know, but here goes nothing, in
2.9.2 If your sub-blog is on an entirely different domain you will
have to login again, there's no way around it because the cookie
doesn't transfer between top level domains. This would also be the
case for 3.0 MS. If it's a subdomain or a subfolder that is not the
case and there would indeed be a bug.

Hope this helps.

On Tue, Apr 6, 2010 at 4:39 PM,
<wp-testers-request at lists.automattic.com> wrote:
> Send wp-testers mailing list submissions to
>        wp-testers at lists.automattic.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.automattic.com/mailman/listinfo/wp-testers
> or, via email, send a message with subject or body 'help' to
>        wp-testers-request at lists.automattic.com
>
> You can reach the person managing the list at
>        wp-testers-owner at lists.automattic.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of wp-testers digest..."
>
>
> Today's Topics:
>
>   1. MS - new site paths incorrect (Matthew Willse)
>   2. Re: WP 3.0 Beta 1 - Sites Menu bug (Otto)
>   3. Re: WP 3.0 Beta 1 - Sites Menu bug (HelixGalaxy)
>   4. MS - changing backend without having to log in? (HelixGalaxy)
>   5. Re: WP 3.0 Beta 1 - Sites Menu bug (Mike Brunette)
>   6. Re: WP 3.0 Beta 1 - Sites Menu bug (Steve Zehngut)
>   7. Re: MS - changing backend without having to log in? (Andrew Nacin)
>   8. Re: WP 3.0 Beta 1 - Sites Menu bug (Otto)
>   9. Re: MS - changing backend without having to log in? (HelixGalaxy)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 06 Apr 2010 12:47:49 -0400
> From: Matthew Willse <mwillse at gmail.com>
> Subject: [wp-testers] MS - new site paths incorrect
> To: wp-testers at lists.automattic.com
> Message-ID: <4BBB65B5.1000805 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I'm still getting incorrect paths when creating new MS sites. I've
> manually changed the mysql entries and confirmed that everything works
> fine when the paths are correct.
>
> The problem most likely lies in ms-edit.php when creating new sites.
>
> In wp-config.php, I have...
>     $base = '/';
>
> So a new site with the address test1 should yield the path...
>     www.sitename.com/test1/
>
> but I get...
>     www.sitename.comsitenametest1/
>
> I can't figure out where it's getting 'sitename' from or why it inserts
> that instead of '/'
>
> In ms-edit.php...
>
>     $domain = a sanitized address submitted for the new site (line 142)
>
>     $path = $base . $domain . '/'; (line 159)
>
>
> Anyone else experience this? Any suggestions??
>
> - matthew
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 6 Apr 2010 13:27:59 -0500
> From: Otto <otto at ottodestruct.com>
> Subject: Re: [wp-testers] WP 3.0 Beta 1 - Sites Menu bug
> To: wp-testers at lists.automattic.com
> Message-ID:
>        <g2y161617691004061127j7895c8deqaa89dd7c5d38115 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> There is definitely some kind of bug here. I get different URLs
> depending on which site I'm currently on. When I'm on my sub-sites,
> the URLs are fine. On the root site, the links all point to that root
> site.
>
> -Otto
>
>
>
> On Mon, Apr 5, 2010 at 10:36 AM, HelixGalaxy <helixgalaxy at gmail.com> wrote:
>> Hello,
>>
>> I have all sites created with "Searach Engines Blocked" and it showing
>> correct here in the menu you mentioned.
>>
>> Regards,
>> Martin
>>
>>
>>
>> 2010/4/5 Derek Leek <dcleek at gmail.com>
>>
>>> Hello everyone!
>>>
>>> I ran across a small bug with the Super Admin -> Sites menu. It seems to
>>> only happen when you have a site created with search engines blocked. When
>>> you hover over "Backend" for any site, the URL is always the current site's
>>> Site Admin, not the site you are trying to access. If I am in a site that
>>> does not have search engines blocked, the URLs are correct. Below is an
>>> example:
>>>
>>> Main site is example.com
>>>
>>> Search engines blocked: All site's "Backend" URL is example.com/wp-admin
>>> Not blocked: Each site's URL is correct... site1.example.com/wp-admin,
>>> site2.example.com/wp-admin, etc.
>>>
>>> Has anyone else seen this happen? Thanks!
>>>
>>> --
>>> Derek Leek
>>> http://www.derekleek.com
>>> _______________________________________________
>>> wp-testers mailing list
>>> wp-testers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-testers
>>>
>> _______________________________________________
>> wp-testers mailing list
>> wp-testers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-testers
>>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 6 Apr 2010 21:27:34 +0200
> From: HelixGalaxy <helixgalaxy at gmail.com>
> Subject: Re: [wp-testers] WP 3.0 Beta 1 - Sites Menu bug
> To: wp-testers at lists.automattic.com
> Message-ID:
>        <s2odff3197f1004061227x42c39861h5aa7fa224f453ef at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I really can't see that. I have been log into different sites ans Super
> Admin and looking at the menu of sites, all are refering to right URL.
>
> Best Regards,
> Martin
>
>
>
> 2010/4/6 Otto <otto at ottodestruct.com>
>
>> There is definitely some kind of bug here. I get different URLs
>> depending on which site I'm currently on. When I'm on my sub-sites,
>> the URLs are fine. On the root site, the links all point to that root
>> site.
>>
>> -Otto
>>
>>
>>
>> On Mon, Apr 5, 2010 at 10:36 AM, HelixGalaxy <helixgalaxy at gmail.com>
>> wrote:
>> > Hello,
>> >
>> > I have all sites created with "Searach Engines Blocked" and it showing
>> > correct here in the menu you mentioned.
>> >
>> > Regards,
>> > Martin
>> >
>> >
>> >
>> > 2010/4/5 Derek Leek <dcleek at gmail.com>
>> >
>> >> Hello everyone!
>> >>
>> >> I ran across a small bug with the Super Admin -> Sites menu. It seems to
>> >> only happen when you have a site created with search engines blocked.
>> When
>> >> you hover over "Backend" for any site, the URL is always the current
>> site's
>> >> Site Admin, not the site you are trying to access. If I am in a site
>> that
>> >> does not have search engines blocked, the URLs are correct. Below is an
>> >> example:
>> >>
>> >> Main site is example.com
>> >>
>> >> Search engines blocked: All site's "Backend" URL is
>> example.com/wp-admin
>> >> Not blocked: Each site's URL is correct... site1.example.com/wp-admin,
>> >> site2.example.com/wp-admin, etc.
>> >>
>> >> Has anyone else seen this happen? Thanks!
>> >>
>> >> --
>> >> Derek Leek
>> >> http://www.derekleek.com
>> >> _______________________________________________
>> >> wp-testers mailing list
>> >> wp-testers at lists.automattic.com
>> >> http://lists.automattic.com/mailman/listinfo/wp-testers
>> >>
>> > _______________________________________________
>> > wp-testers mailing list
>> > wp-testers at lists.automattic.com
>> > http://lists.automattic.com/mailman/listinfo/wp-testers
>> >
>> _______________________________________________
>> wp-testers mailing list
>> wp-testers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-testers
>>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 6 Apr 2010 21:31:36 +0200
> From: HelixGalaxy <helixgalaxy at gmail.com>
> Subject: [wp-testers] MS - changing backend without having to log in?
> To: wp-testers at lists.automattic.com
> Message-ID:
>        <g2pdff3197f1004061231q9adbaf18m794f5d7eb83839ea at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello all,
>
> Not really sure if it is a bug or if it is supposed to work like that in
> 3.0.
>
> As Super Admin changing backend of sites force me to log out automatically
> and I have to log in again.
>
> In 2.9.2 and previous version this is not the case. Changing backend was
> automatic, without having to log in again.
>
> Is it a bug?
>
> Regards,
> Martin
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 6 Apr 2010 14:39:31 -0500
> From: Mike Brunette <mike at mikebrunette.com>
> Subject: Re: [wp-testers] WP 3.0 Beta 1 - Sites Menu bug
> To: wp-testers at lists.automattic.com
> Message-ID: <3E40B0D0-7ED8-4FD8-909C-1E9F96906333 at mikebrunette.com>
> Content-Type: text/plain; charset=us-ascii
>
> I tried using mu to create sites and had a problem with the menus redirecting to the root site, i created multiple sites outside of mu with their own database and root to solve this problem.
>
> I can link to any sites outside of my main wp install, yet if I try linking to something created through mu function I'm redirected to root site. If i try same links through browser menu i can get to correct site.
>
>
> On Apr 6, 2010, at 1:27 PM, Otto wrote:
>
>> There is definitely some kind of bug here. I get different URLs
>> depending on which site I'm currently on. When I'm on my sub-sites,
>> the URLs are fine. On the root site, the links all point to that root
>> site.
>>
>> -Otto
>>
>>
>>
>> On Mon, Apr 5, 2010 at 10:36 AM, HelixGalaxy <helixgalaxy at gmail.com> wrote:
>>> Hello,
>>>
>>> I have all sites created with "Searach Engines Blocked" and it showing
>>> correct here in the menu you mentioned.
>>>
>>> Regards,
>>> Martin
>>>
>>>
>>>
>>> 2010/4/5 Derek Leek <dcleek at gmail.com>
>>>
>>>> Hello everyone!
>>>>
>>>> I ran across a small bug with the Super Admin -> Sites menu. It seems to
>>>> only happen when you have a site created with search engines blocked. When
>>>> you hover over "Backend" for any site, the URL is always the current site's
>>>> Site Admin, not the site you are trying to access. If I am in a site that
>>>> does not have search engines blocked, the URLs are correct. Below is an
>>>> example:
>>>>
>>>> Main site is example.com
>>>>
>>>> Search engines blocked: All site's "Backend" URL is example.com/wp-admin
>>>> Not blocked: Each site's URL is correct... site1.example.com/wp-admin,
>>>> site2.example.com/wp-admin, etc.
>>>>
>>>> Has anyone else seen this happen? Thanks!
>>>>
>>>> --
>>>> Derek Leek
>>>> http://www.derekleek.com
>>>> _______________________________________________
>>>> wp-testers mailing list
>>>> wp-testers at lists.automattic.com
>>>> http://lists.automattic.com/mailman/listinfo/wp-testers
>>>>
>>> _______________________________________________
>>> wp-testers mailing list
>>> wp-testers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-testers
>>>
>> _______________________________________________
>> wp-testers mailing list
>> wp-testers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-testers
>>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 06 Apr 2010 12:41:20 -0700
> From: Steve Zehngut <steve at zeek.com>
> Subject: Re: [wp-testers] WP 3.0 Beta 1 - Sites Menu bug
> To: wp-testers at lists.automattic.com
> Message-ID: <p6exe52946fdpcx9x0tq2th9.1270582880542 at email.android.com>
> Content-Type: text/plain; charset=utf-8
>
>
>
> HelixGalaxy <helixgalaxy at gmail.com> wrote:
>
>>I really can't see that. I have been log into different sites ans Super
>>Admin and looking at the menu of sites, all are refering to right URL.
>>
>>Best Regards,
>>Martin
>>
>>
>>
>>2010/4/6 Otto <otto at ottodestruct.com>
>>
>>> There is definitely some kind of bug here. I get different URLs
>>> depending on which site I'm currently on. When I'm on my sub-sites,
>>> the URLs are fine. On the root site, the links all point to that root
>>> site.
>>>
>>> -Otto
>>>
>>>
>>>
>>> On Mon, Apr 5, 2010 at 10:36 AM, HelixGalaxy <helixgalaxy at gmail.com>
>>> wrote:
>>> > Hello,
>>> >
>>> > I have all sites created with "Searach Engines Blocked" and it showing
>>> > correct here in the menu you mentioned.
>>> >
>>> > Regards,
>>> > Martin
>>> >
>>> >
>>> >
>>> > 2010/4/5 Derek Leek <dcleek at gmail.com>
>>> >
>>> >> Hello everyone!
>>> >>
>>> >> I ran across a small bug with the Super Admin -> Sites menu. It seems to
>>> >> only happen when you have a site created with search engines blocked.
>>> When
>>> >> you hover over "Backend" for any site, the URL is always the current
>>> site's
>>> >> Site Admin, not the site you are trying to access. If I am in a site
>>> that
>>> >> does not have search engines blocked, the URLs are correct. Below is an
>>> >> example:
>>> >>
>>> >> Main site is example.com
>>> >>
>>> >> Search engines blocked: All site's "Backend" URL is
>>> example.com/wp-admin
>>> >> Not blocked: Each site's URL is correct... site1.example.com/wp-admin,
>>> >> site2.example.com/wp-admin, etc.
>>> >>
>>> >> Has anyone else seen this happen? Thanks!
>>> >>
>>> >> --
>>> >> Derek Leek
>>> >> http://www.derekleek.com
>>> >> _______________________________________________
>>> >> wp-testers mailing list
>>> >> wp-testers at lists.automattic.com
>>> >> http://lists.automattic.com/mailman/listinfo/wp-testers
>>> >>
>>> > _______________________________________________
>>> > wp-testers mailing list
>>> > wp-testers at lists.automattic.com
>>> > http://lists.automattic.com/mailman/listinfo/wp-testers
>>> >
>>> _______________________________________________
>>> wp-testers mailing list
>>> wp-testers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-testers
>>>
>>_______________________________________________
>>wp-testers mailing list
>>wp-testers at lists.automattic.com
>>http://lists.automattic.com/mailman/listinfo/wp-testers
>
> ------------------------------
>
> Message: 7
> Date: Tue, 6 Apr 2010 16:27:01 -0400
> From: Andrew Nacin <wp at andrewnacin.com>
> Subject: Re: [wp-testers] MS - changing backend without having to log
>        in?
> To: wp-testers at lists.automattic.com
> Message-ID:
>        <v2p4cc4de141004061327o2035af36vfe5380aac9f42070 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Sounds like an issue related to cookies and their paths. Subdomains or
> subdirectories? Can you check to see what your login cookies are set to for
> domain and path? etc.
>
> On Tue, Apr 6, 2010 at 3:31 PM, HelixGalaxy <helixgalaxy at gmail.com> wrote:
>
>> Hello all,
>>
>> Not really sure if it is a bug or if it is supposed to work like that in
>> 3.0.
>>
>> As Super Admin changing backend of sites force me to log out automatically
>> and I have to log in again.
>>
>> In 2.9.2 and previous version this is not the case. Changing backend was
>> automatic, without having to log in again.
>>
>> Is it a bug?
>>
>> Regards,
>> Martin
>>
>
>
> ------------------------------
>
> Message: 8
> Date: Tue, 6 Apr 2010 15:29:32 -0500
> From: Otto <otto at ottodestruct.com>
> Subject: Re: [wp-testers] WP 3.0 Beta 1 - Sites Menu bug
> To: wp-testers at lists.automattic.com
> Message-ID:
>        <w2h161617691004061329t76eed891nadb7f751c6a929c9 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, Apr 6, 2010 at 2:27 PM, HelixGalaxy <helixgalaxy at gmail.com> wrote:
>> I really can't see that. I have been log into different sites ans Super
>> Admin and looking at the menu of sites, all are refering to right URL.
>>
>
> I can see it consistently.
>
> I have one 3.0b1 multi-site installation running both ottodestruct.com
> and ottopress.com.
>
> ottodestruct.com is the base root install.
> ottodestruct.com/op/ is the second site.
> Domain mapping plugin maps /op/ to ottopress.com.
>
> On ottopress.com, everything is fine. URLs are all correct.
>
> On ottodestruct.com, on the Super Admin->Sites and on the
> Dashboard->My Sites, the "Backend" and "Dashboard" links both point to
> ottodestruct.com/wp-admin/. That is the wrong URL for the second site
> (/op/).
>
>
> -Otto
>
>
> ------------------------------
>
> Message: 9
> Date: Tue, 6 Apr 2010 22:39:22 +0200
> From: HelixGalaxy <helixgalaxy at gmail.com>
> Subject: Re: [wp-testers] MS - changing backend without having to log
>        in?
> To: wp-testers at lists.automattic.com
> Message-ID:
>        <z2ndff3197f1004061339j4bd69ceahc280575c5720a6f1 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I'm using subdomain installation of MS. Seems like there is one cookie for
> every subdomain.
>
> Regards,
> Martin
>
>
>
> 2010/4/6 Andrew Nacin <wp at andrewnacin.com>
>
>> Sounds like an issue related to cookies and their paths. Subdomains or
>> subdirectories? Can you check to see what your login cookies are set to for
>> domain and path? etc.
>>
>> On Tue, Apr 6, 2010 at 3:31 PM, HelixGalaxy <helixgalaxy at gmail.com> wrote:
>>
>> > Hello all,
>> >
>> > Not really sure if it is a bug or if it is supposed to work like that in
>> > 3.0.
>> >
>> > As Super Admin changing backend of sites force me to log out
>> automatically
>> > and I have to log in again.
>> >
>> > In 2.9.2 and previous version this is not the case. Changing backend was
>> > automatic, without having to log in again.
>> >
>> > Is it a bug?
>> >
>> > Regards,
>> > Martin
>> >
>> _______________________________________________
>> wp-testers mailing list
>> wp-testers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-testers
>>
>
>
> ------------------------------
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>
>
> End of wp-testers Digest, Vol 62, Issue 15
> ******************************************
>


More information about the wp-testers mailing list