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

Required parameter phpbb_root_path missing in local_url_bbcode migration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.3.11
    • 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.14, 3.3.10
    • Installation system
    • None

      Hi,

      Database update fails with a confusing error message. The cause is line 49 in
      /phpbb/db/migration/data/v30x/local_url_bbcode.php

      It calls phpbb_require_updated() with a missing parameter:

      phpbb_require_updated('includes/acp/acp_bbcodes.' . $this->php_ext);

      The solution I found is replacing that line with the following two lines:

      $phpbb_root_path = _DIR_ . '/../../../../../';
      phpbb_require_updated('includes/acp/acp_bbcodes.' . $this->php_ext, $phpbb_root_path);

      This resolves the issue and the database gets updated correctly after this change.

      Cheers,

      Cem

            Marc Marc
            cemyuksel cemyuksel [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: