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

SQL general error on DB update from 3.0 branch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.2.5
    • None
    • Other, Update system
    • None

      The PR https://github.com/phpbb/phpbb/pull/5343 had changed the user_delete function by adding new tables to the $table_ary array to delete data for users.

      But those tables don't exist in phpBB 3.0/3.1 on \phpbb\db\migration\data\v310\bot_update.php execution while updating from phpBB 3.0.

      This causes errors on update like:

      General Error:SQL ERROR [ mysqli ]Table 'lcforum.lcforumoauth_states' doesn't exist [1146]SQLDELETE FROM lcforumoauth_states WHERE user_id = 28 in file J:\FPFPanel\domains\forum\phpbb\db\driver\driver.php on line 997

            Marc Marc
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: