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

Update fails if youtube custom profilefield is removed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 3.3.8
    • Update system
    • None

      NOte: affects Version/s

      If the youtube custom profile field is removed, the update to from 3.3.7 to 3.3.8 fails with

       

      General Error:SQL ERROR [ mysqli ]Unknown column 'pf_phpbb_youtube' in 'where clause' [1054]SQLUPDATE phpbb_profile_fields_data SET pf_phpbb_youtube = CONCAT('https://youtube.com/user/', pf_phpbb_youtube) WHERE pf_phpbb_youtube '' AND pf_phpbb_youtube NOT LIKE '%youtube.com/%' in file /phpbb/db/driver/driver.php on line 1023 [phpBB Debug] "Trying to access array offset on value of type bool" in file /install/update/new/phpbb/db/migration/data/v33x/profilefield_youtube_update.php on line 33

       

      see https://www.phpbb.com/community/viewtopic.php?p=15859006#p15859006

      If only the Skype field is removed, the update is successful

       

      Disclaimer, this probably also affect previous versions

      Not tested but I presume this also occurs with updates on others versions

            Unassigned Unassigned
            warmweer warmweer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: