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

Missing global vars $phpbb_root_path and $phpEx in message_parser.php

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.4-RC1
    • Component/s: Extensions
    • Labels:
      None

      Description

      See https://www.phpbb.com/community/viewtopic.php?p=14029061#p14029061

      When including message_parser.php in an extension a "failed to open stream" error is generated when message_parser tries to include bbcode.php due to $phpbb_root_path and $phpEx not being defined

        Activity

        Hide
        rxu Ruslan Uzdenov added a comment -

        I think this can be fixed by defining both variables in message_parser.php usual way to help extension authors using the parser until it's became a service (which won't happen until 3.2 at least).

        Show
        rxu Ruslan Uzdenov added a comment - I think this can be fixed by defining both variables in message_parser.php usual way to help extension authors using the parser until it's became a service (which won't happen until 3.2 at least).

          People

          • Assignee:
            nicofuma nicofuma
            Reporter:
            david63 David Wood
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development