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

Required parameter phpbb_root_path missing in local_url_bbcode migration

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.14, 3.3.10
    • 3.3.11
    • Installation system
    • None

    Description

      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

      Attachments

        Activity

          People

            Marc Marc
            cemyuksel cemyuksel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: