Suddenly my users doesn't seem to "stay in" after login.
On my main site I run Drupal 4.7.4. Yesterday I was able to log in and stay in. For each time I try to access a page that requires a users as logged in (ex. node/add/story) I get "Access denied. You are not authorized to access this page". When I type in user/pass again, I get access to that page.
I have tried to log in with many web browsers (Firefox 2.0, Opera 9, Flock, Safari, and so on). I've cleared all browsers history, cookies, and so on. Cookies are allowed on all browsers.
I've install Drupal 5.0 Beta 1 on the same server, but I get the same thing: Users doesn't "stay in" when logged in.
All issues I have found after a search here doesn't do anything.
Sivert.
Comments
multiple sites?
If you have several Drupal sites on the same server, loggin into one site can log you out of the other. See http://drupal.org/node/56357/ for more info and several possible solutions.
I recently deleted that
I recently deleted that test-site, and cleared its tables.
My problems with login occurred long before I installed the test Drupal-site.
Forgot to mention that I have another Drupal-based site on a different host that is working perfectly.
One second ago I sent my web host on the troubled site an email to ask whether they have changed anything, or have any errors in mySQL og PHP-settings.
PHP 5.2.0?
Are you using PHP 5.2.0?
Maybe you want to have a look at this issue: http://drupal.org/node/92802 . Two possible solutions:
* Use mysqli
* Try a patch provided on http://drupal.org/node/92802
I love you!
I love you!
That patch worked! Phew!
Sivert.