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

Extensions Can't Be Installed

XMLWordPrintable

      Extensions can no longer be installed because of a problem with the method schema_perform_changes() in phpbb/db/tools/doctrine.php
       
      These methods require a $column as their first argument, but none is given

      schema_create_index()
      schema_create_unique_index()
       
      Results in errors like 
      Argument 2 passed to phpbb\db\tools\doctrine::schema_create_index() must be an instance of Doctrine\DBAL\Schema\Schema, string given, called in phpBB/phpbb/db/tools/doctrine.php on line 553

       

      in doctrine.php line 808
      at doctrine->schema_create_index(object(Schema), 'phpbb_boardrules', 'rule_language', array('rule_language'), true)in doctrine.php line 553
      at doctrine->schema_perform_changes(object(Schema), array('add_index' => array('phpbb_boardrules' => array('rule_language' => array('rule_language')))))in doctrine.php line 187
      at doctrine->phpbb\db\tools
      {closure}

      (object(Schema))

      at call_user_func(object(Closure), object(Schema))in doctrine.php line 444
      at doctrine->alter_schema(object(Closure))in doctrine.php line 188
      at doctrine->perform_schema_changes(array('add_index' => array('phpbb_boardrules' => array('rule_language' => array('rule_language')))))
      at call_user_func_array(array(object(doctrine), 'perform_schema_changes'), array(array('add_index' => array('phpbb_boardrules' => array('rule_language' => array('rule_language'))))))in migrator.php line 741
      at migrator->run_step(array('dbtools.perform_schema_changes', array(array('add_index' => array('phpbb_boardrules' => array('rule_language' => array('rule_language')))))), true, false)in migrator.php line 687
      at migrator->process_data_step(array(array('dbtools.perform_schema_changes', array(array('change_columns' => array('phpbb_boardrules' => array('rule_language' => array('VCHAR:30', '')))))), array('dbtools.perform_schema_changes', array(array('add_index' => array('phpbb_boardrules' => array('rule_language' => array('rule_language'))))))), array('result' => true, 'step' => 1, '_total_time' => 0.5456490516662598))in migrator.php line 425
      at migrator->try_apply('\\phpbb\\boardrules\\migrations\\v20x
      m15_update_lang_schema')in migrator.php line 376
      at migrator->try_apply('\\phpbb\\boardrules\\migrations\\v20x
      m16_update_lang_postgres')in migrator.php line 312
      at migrator->update_do()in migrator.php line 265
      at migrator->update()in base.php line 78
      at base->enable_step(true)in ext.php line 64
      at ext->enable_step(true)in manager.php line 230
      at manager->enable_step('phpbb/boardrules')in acp_extensions.php line 253
      at acp_extensions->main_mode('extensions', 'main')in acp_extensions.php line 78
      at acp_extensions->main('extensions', 'main')in functions_module.php line 676
      at p_master->load_active()in index.php line 80

            MattF Matt Friedman
            MattF Matt Friedman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: