I tried that, but still couldn't log in with the new account.
Then I tried another machine
, and found that I CAN log in on another machine, with either the temporary admin account (now deleted) or my original admin account. This has allowed me to enable the board at least.
So it seems this is specific to one machine
. Is it possible that if I was logged in to my old forum when I did the conversion, that it could now be stuck thinking I'm still half logged in or something? Even with the board enabled I still can't log in on this machine.
I also can't register a new account on this machine. It keeps saying "The confirmation code you entered was incorrect", even when I'm sure it's right. Tried on another machine and it worked straight away. So it's all about this machine. Some setting that's got stuck maybe?
I tried truncating the phpbb_sessions table, but it didn't change anything.
Now that the board's enabled, the behaviour is as follows:
- On other (good) machine, click login, enter details, takes me to the forum boards, and shows my username in top right corner.
- On main (bad) machine, click login, enter details, takes me to the forum boards, but shows login link in top right corner.
I put in some diagnostics, and both machines seem to log in OK to begin with. In the login_box() function, status is LOGIN_SUCCESS,
is true, the username & password are correct. This is in the
if ($result['status'] == LOGIN_SUCCESS)
branch, just before it redirects back to the main page. So I guess after that it is logging me out again for some reason.
I'm stuck again, any ideas? How can I hack the PHP code to track this down?
OK sorry, was unaware, will avoid that in the future.