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

Update fails if youtube custom profilefield is removed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 3.3.8
    • None
    • Update system
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: