Status: Closed (View Workflow)
Affects Version/s: 3.1.0-RC3
Fix Version/s: 3.1.0-RC4
Environment:Server: PHP 5.4.30, SQLite3 (SQLite3 module 0.7, SQLite Library 126.96.36.199), Linux 2.6.32-431.23.3.el6.x86_64
Laptop: Kubuntu 14.04, Firefox 31.0
Phone: Android 4.4.2, Chrome 36.0.1985.135
After logging in to forum or ACP, a white page with error message appears. This error can be bypassed only with OAuth-login.
Catchable fatal error: Argument 6 passed to phpbb\auth\provider\db::__construct() must implement interface Symfony\Component\DependencyInjection\ContainerInterface, string given, called in /path/to/forum/phpbb/auth/provider/oauth/oauth.php on line 163 and defined in /path/to/forum/phpbb/auth/provider/db.php on line 48
(only sid value is left out)
I believe this bug is related to OAuth, and perhaps different logins from two browsers. I'll give detailed explanation what I did.
Laptop: I had previously created session ("remember me"), with username and password.
Phone: I logged in with OAuth (facebook).
Laptop: I tried to login to ACP, but faced the error page. I used browser's back-button to get back to forum view. I logged out from forum, and was unable to relogin (username + password), as I was offered the error page after posting login-form.
Phone: I logged out.
Laptop: Retrying with logging in with username and password did not work, but OAuth (facebook) did work. After this, logging in to ACP still fails.
Currently I'm unable to login with either of my accounts by using username and password; founder-account and admin account - latter is the "main" account, which also is used in above explanation.