I got a bit of a problem. Users can log in, but they are immediately logged out. The funny thing is that I've got two almost identical Drupal sites on the same host, and they're seeing this problem at all. One thing separetes them, though: the new site is built locally and then uploaded. My two other sites were built on the host. This goes for all users except the admin user.
Status report
Drupal 6.19
Access to update.php Protected
Configuration file Protected
Cron maintenance tasks Last run 10 min 12 sec ago
You can run cron manually.
Database updates Up to date
File system Writable (public download method)
MySQL database 5.0.77
PHP 5.2.12
PHP memory limit 250M
PHP register globals Disabled
Unicode library PHP Mbstring Extension
Update notifications Not enabled
Update notifications are not enabled. It is highly recommended that you enable the update status module from the module administration page in order to stay up-to-date on new releases. For more information please read the Update status handbook page.
Web server ApacheI have deactivated all modules except for core. This has no effect on my problem.
My local server is all the same, except:
MySQL database 5.1.37
PHP 5.2.10
PHP memory limit 125M
Under admin/reports/dblog the login and logut is logged like this:
user 09/20/2010 - 07:08 Session closed for Testbruker. Testbruker
user 09/20/2010 - 07:08 Session opened for Testbruker. Testbruker
I feel like I've tried everything I can think of, and every solution the forum could give me. I've tested every browser from FF to IE, and on different computers on different networks and different operating systems. I've tried to clear cookies , sessions and so on.
Any ideas?
Topics I've found that are similar to mine
- http://drupal.org/node/253932
- http://drupal.org/node/474370
- http://drupal.org/node/362001
- http://drupal.org/node/175441
- http://drupal.org/node/332451
- http://drupal.org/node/364697
- http://drupal.org/node/375875
- http://drupal.org/node/412590
- http://drupal.org/node/759334
- http://drupal.org/node/474370
- http://drupal.org/node/775332
- http://drupal.org/node/253932
- http://drupal.org/node/102114
Comments
In settings.php there is a
In settings.php there is a commented out setting: # $cookie_domain = 'example.com';
Check the docblock above it to see if it may apply to you.
Yes, I've tried that too ;-)
Yes, I've tried that too ;-) No change.
Did you disable "Access
Did you disable "Access content" for the node module in user permissions section? It has to be enabled for Anonymous and Authenticated users.
Tried that too. It didn't do
Tried that too. It didn't do anything.
I'm starting to think that it is perhaps better to kill the existing DB and start all over again.
Thank you for your replies, btw :)
Tried erasing the DB and
Tried erasing the DB and installing it all over again, but same thing happens again.
Users gets logged out immediately after login.
Same problem
Did you ever find a solution for this? I have the same problem with the same dblog entries.
Try flushing your cookies. I
Try flushing your cookies.
I was having problems with erratic logouts after pushing sites from development to production. If that fixes the issue, you might want to use this code. It flushes any outdated cookies created by Drupal.
Then call it like this...
flushCookies('1.0', $cookie_domain);Whenever you make a change that may be causing cookie related troubles, update the first argument to something new.
Users get logged out immediately after login...same problem!
got it FIXED was from WATCHDOG!hey igot same problem but i cant seem to fix itit just kick any superadmin i create or any user
running drupal 6.22 it happened after i run the update!
------------------------------------------------------------------------------------
under admin/reports/dblog
same report you had/have
Please let me know how to fix it!
Thanks
M.sibany
Was this ever solved? I am
Was this ever solved? I am having the same issue. In my setup I am syncing the website and its data between two computers with Dropbox. I can log in just fine on my Mac, but on a Linux machine I can't log in and I get the aforementioned notices in the log.