When logged in as an administrator or using any other account, after clicking anything, happens logout.

If we want to look at the log:

first log in as administrator -> click administer -> happens logout
log in again as administrator -> click log -> happens logout
log in again as administrato -> click next page -> happens logout etc.

so the command is completed before this mysterious logout.

We found out this a couple of days ago. We have tested using browsers Firefox 2 and MSIE.

We have used Drupal 4.6.6 half a year. The hosting company informed that nothing has changed. Other versions:

PHP version = 5.2.0 cgi
Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8d
mysql 5.0.27-standard, lock.system=flock
OS = Linux kotisivut.com 2.6.18.1-grsec #1 SMP PREEMPT Mon Oct 30 18:03:02 EET 2006 i686
Locale = fi_FI

The server has been booted in October.

With Drupald we use embedded Gallery 2.1.2 using its own Mysql database. This logout problem does not happen in Gallery 2, so looks like the problem is in Drupal database.

Please, any help to get rid of this.

Comments

Jim@drupal.be’s picture

I've had the same problem on a 4.7 install. Had to change from php 5 to php 4. That solved the problem.
There are many other posts of this problem in 4.7. You might find an anwser on the forums.

There are no stupid questions. Only stupid anwsers.

AjK’s picture

DriesK’s picture

I ran into the same problem yesterday (after my host upgraded to PHP 5.2.0). I applied the path that AjK mentions and all is well now.

aanimeri’s picture

My best thanks to jim, AjK and DriesK.

Studying the node http://drupal.org/node/93945 I succeeded in patching "session.inc.patch_5.txt" by magico. Now I can stay logged and work with Drupal 4.6.6 site.

Php 5 has been installed about a year ago, Drupal 4.6.6 half a year ago, server last booted more than a month ago. Nobody didn't do nuthin' and suddenly this problem occurs.