Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16958

Add exception handler for unhandled exceptions

    XMLWordPrintable

Details

    • Improvement
    • Status: Patch Awaiting Review (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      When exceptions are thrown and not caught, these will result in:

      • display_Errors = Off: 500 error page (so called white page)
      • display_Errors = On: Fatal error displayed by PHP default exception handler
      • Environment "development": Symfony exception handler displays nice to view exceptions page (not specific to phpBB)

      In order to improve this, we should implement our own exception handler that displays a better looking exception display similar to Symfony's own exceptions page. This should be adapted for phpBB and only display exception details when it should (similar to error handler), e.g. for admins or when debug is enabled on purpose.

      Attachments

        Issue Links

          Activity

            People

              Marc Marc
              Marc Marc
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: