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

Silent die on $user->setup() or $user->set_lang() errors in DEBUG_EXTRA mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 3.0.5
    • 3.0.4
    • Sessions
    • None
    • PHP Environment: PHP 5.2.6
      Database: MySQL 5.0.22

      Whenever an error occurs in the phpBB Language files, it dies silently. This is understandable..However, it also makes debugging a pain, since it makes it harder to locate the source of the problem.

      My question & suggestion is why isn't $user->setup(); and $user->set_lang(); using an internal constant defined check (DEBUG_EXTRA being the constant) to override the @include statement with a normal include statement, and not suppress the include errors? This would help out during debugging for MOD constuction/installation, but not be activated unless the board is in total debug mode anyway.

            Acyd Burn Meik Sievertsen [X] (Inactive)
            Desdenova Desdenova [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: