[DUG-TO] my login problem ...
Philip Kiff
pkiff at iwh.on.ca
Thu Sep 24 15:55:50 EDT 2009
I would guess that Julian is right about the session problem, but it can be
hard to pin down where that is coming from, and my guess is that the problem
is more broadly a cookies problem.
A quick search on the web for "Network Solutions" + drupal + login + "access
denied" turns up a history of other people who have had similar issues. So
it may in fact be a problem with your hosting configuration and the problem
was caused by something Network Solutions did. See for e.g.,
Drupal 6, access denied problem with new install
http://drupal.org/node/228587
If you have access to phpmyadmin and are comfortable looking through your
database tables, you can check through the user tables to see the record of
the last logins. Perhaps what you will see is that when you login as admin,
you are in fact logged in successfully, but when you go to visit another
page, your cookie/session info is not read correctly or passed on correctly
and so you are then logged in as anonymous, even though your IP address will
appear also as having logged in as admin. -- In effect, Drupal thinks you
are two different users.
To help pin down exactly what is going on with your cookies, you might try
using some kind of cookie viewer/editor for your browser. The Web Developer
Toolbar for Firefox includes a tool to view/edit/add cookies for any page
that you are viewing. I found this helpful when troubleshooting a problem
that I had somewhat similar to yours.
Web Developer Toolbar:
http://chrispederick.com/work/web-developer/
If you can see that it is indeed some kind of cookie retention/reading
problem, then I would be tempted to fiddle with the domain settings for
cookies in the settings.php file and see if that makes any difference.
Phil.
On 9/24/09 3:33 PM, "Julian Egelstaff"
<julian.egelstaff-lists at freeformsolutions.ca> wrote:
> Definitely sounds like a session problem.
>
> Even if your browser is saving cookies, if they are not being sent/saved
> where your site expects them to be, that could cause the problem. This
> can happen if there's a difference between the path for the site defined
> in the configuration file and where the site actually is. Normally a
> major difference there would cause the site to fail completely. But I
> remember an issue in Drupal 5 where if a site was not at
> www.something.com, and at somethingelse.something.com, then because of
> the way one line in the configuration file was written, the sessions
> were toast, the cookies were being associated with the wrong domain.
>
> This is a bit of a straw to grasp at though, but it couldn't hurt to
> look there and see if anything that refers to the site's URL does not
> seem right.
>
> Good luck,
>
> --Julian
>
> Homa wrote:
>> Thank you Alan, Philip and Jerem for you kind response to my login
>> problem.
>>
>> I still have the problem.
>> I can login but for each click in admin area I am redirected to login
>> page.
>> I have used bootstrap.inc in one of my files that one also stop working.
>>
>> The only thing that I can guess is something wrong with saving sessions.
>>
>> Any idea?
>>
>> Thanks,
>> Homa
>>
This e-mail may contain confidential information for the sole use of the intended recipient.
Any review or distribution by anyone other than the person for whom it was originally intended is prohibited.
If you have received this e-mail in error please delete all copies.
Opinions conclusions or other information contained in this e-mail may not be that of the organization.
More information about the DUG-TO
mailing list