Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#5227 closed defect (bug) (invalid)

More login cookie issues

Reported by: flashman's profile flashman Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.3
Component: Administration Keywords:
Focuses: Cc:

Description

I've tried all the changes in that thread, including the 6168 change, but logging in still presents me with either a blank page or the cookies error (depending on which 'fix' I'm trying to use at the time).

My installation is in a subdirectory and is clean, not an upgrade. When submitting the page, I receive no test cookie.

I am using Wordpress 2.3 at the root level of another server with no problems, so this is a bit frustrating. Considering a rollback to 2.2.3 for the time being. Please help :)

Change History (7)

#1 @Viper007Bond
18 years ago

  • Component changed from General to Administration
  • Keywords needs-patch added; wp-login login cookie removed
  • Summary changed from In response to http://wordpress.org/support/topic/135598?replies=70 to More login cookie issues

#2 in reply to: ↑ description @foolswisdom
18 years ago

  • Milestone set to 2.4

Replying to flashman:

I am using Wordpress 2.3 at the root level of another server with no problems, so this is a bit frustrating.

flashman, what are the differences between these two environments and the setups?

When you say "the cookie error", you are referring to "ERROR; Wordpress requires Cookies but your browser does not support them or they are blocked".

Which web browsers have you tried?

#3 @flashman
18 years ago

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.

#4 follow-up: @Viper007Bond
18 years ago

Sounds like white space in wp-config.php perhaps, i.e. header cannot be sent and errors off.

#5 in reply to: ↑ 4 @flashman
18 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Replying to Viper007Bond:

Sounds like white space in wp-config.php perhaps, i.e. header cannot be sent and errors off.

Hey thanks, that fixed it! Next time you're in Sydney, I'm buying you a beer in any pub in town :)

#6 @Viper007Bond
18 years ago

  • Keywords needs-patch removed
  • Milestone 2.4 deleted
  • Resolution fixed deleted
  • Status changed from closed to reopened

#7 @Viper007Bond
18 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.