Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13001

Catchable fatal error blocks forum/ACP after login



    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 3.1.0-RC3
    • 3.1.0-RC4
    • ACP, Login
    • None
    • Server: PHP 5.4.30, SQLite3 (SQLite3 module 0.7, SQLite Library, 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.


        Issue Links



              nicofuma nicofuma
              F-3000 F-3000 [X] (Inactive)
              0 Vote for this issue
              1 Start watching this issue