[support] No Cookies Being Sent with 5.1

Metzler, David metzlerd at evergreen.edu
Fri Feb 22 15:30:20 UTC 2008


Perhaps it is related to your PHP configuration?  Could you set up
another directory to check that out? See if you can run some php that
sets session state?  Is that within your experience as a developer. 

Also I can't help bug notice you indicate a 403 forbidden error.  I
wouldn't expect this from drupal.  Drupal's language normally indicates
"Access Denied".  It sounds to me like you have a problem in the
.htaccess, or apache configuration. This is an apache message not a
drupal message that you're receiving? 

Is the apache allow overrides directive enabled for this drupal site? 

Without seeing the error messages exactly its always hard to tell.  So
let me know if you think I'm off base. 

 

-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Luke
Sent: Thursday, February 21, 2008 4:55 PM
To: support at drupal.org
Subject: [support] No Cookies Being Sent with 5.1

Hello

I have been searching with google and other tools for the last couple 
of hours, and can not find any similar situations.

Problem:
Drupal in a multisites configuration, does not seem to be sending
cookies 
to the browser.

Symptom and Steps:
I first logged in to https://sub.domain.com/install.php, to get the 
database populated, etc..
Note that I am using SSL, and a basic auth .htaccess requiring a 
username and password, to protect the drupal directory.  All of that
seems 
to be working fine.

 That done, I selected the "create admin account" (or similarly named) 
link, entered "admin" as the user name, and my email address. When 
selecting "create account", I was presented with a 403 forbidden error. 
However, the email with password was sent, and when I entered the
username 
and password, the "create admin account" step was gone from the initial 
page.

The link to configure the system now generates a 403 and the message
"You 
are not authorized to access this page." if I do not log in.  Also, 
between the time of selecting that link, and actually getting the page, 
nearly 20 seconds passes for some reason--nothing else it does takes
that 
long.
If I attempt to log in from there, it appears that the login is 
successful, and it attempts to redirect to the page after a successful 
login, but when it reloads the page it ends up with the same 403.

No cookies are being sent at any point during this process, which is 
almost certainly my problem.

Environment:
Ubuntu Feisty
Apache 2
PHP 5
MySQL 5
Drupal 5.1

I checked the sessions table, and do see a single session for admin.

I have not tried this with the "default" installation of Drupal, because
I 
have no intent to use, and therefore have not bothered to configure,
that 
version.

I would appreciate greatly any advice on this issue.

Thanks and regards,

Luke
-- 
[ Drupal support list | http://lists.drupal.org/ ]


More information about the support mailing list