hi all,
for some reason, since yesterday, any user that logs in to my site, becomes the user 'admin' ! A very serious problem and I have no clue how this suddenly happened. It has been tested from several different computers.
I ran update.php just to see whether that would fix it.
Recent changes:
1. I installed phpBB and the phpBB.module - I did this several days ago and in the meantime it worked fine
2. I made a new book with a few pages, with some url's in them but no (php) code, so that should not have any effect
3. I made a page with two php references:
global $user; echo $user->name; and
echo $user->uid
both of these are only read-functions, not write.
So the big question is what is going on, to change a user from one uid to another (1)?
Any thoughts / hints / previous experiences are welcome!
Comments
it was a scripting error in login-destination snippet
As it turned out, the problem existed for a longer time, but I had not been notified. It turned out to be a scripting mistake in the php snippet of logindestination... ouch
I used if {$user->uid = 1 } instead of if {$user->uid == 1 } in one of the conditions.
Sorry for the false alarm, I am happy it's fixed again.