[wp-trac] Re: [WordPress Trac] #5227: More login cookie issues

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 19 03:19:17 GMT 2007


#5227: More login cookie issues
----------------------------+-----------------------------------------------
 Reporter:  flashman        |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.4      
Component:  Administration  |      Version:  2.3      
 Severity:  normal          |   Resolution:           
 Keywords:  needs-patch     |  
----------------------------+-----------------------------------------------
Comment (by flashman):

 I've done more research, and the problem seems to be that wp-login.php
 isn't setting cookies properly. On the server where 2.3 is working, I
 receive wordpress_test_cookie as soon as I load up wp-login.php... this
 doesn't happen with the broken server.

 wp-login.php CAN set the following cookie if it's placed on line 1:


 {{{
 <?php setcookie('my_test_cookie', '',0, '/', '.mydomain.org.au'); ?>
 }}}


 ...but NOT if it's placed below
 {{{
 'require( dirname(__FILE__) . '/wp-config.php' );'
 }}}

 I'm beginning to think it's an incompatibility between my server setup and
 Wordpress where cookies are concerned. Doesn't work with any browsers I've
 tried, or with previous versions of Wordpress.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5227#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list