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

Updating database fails in migration v310/avatar_types.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.0-a3
    • 3.1.0-a2
    • Build System
    • None
    • MySQL(i) 5.5.32
      PHP Version 5.4.19

      General Error
      SQL ERROR [ mysqli ]

      Truncated incorrect DOUBLE value: 'avatar.driver.gravatar' [1292]

      SQL

      UPDATE phpbb_users SET user_avatar_type = 'avatar.driver.upload' WHERE user_avatar_type = 1

      BACKTRACE

      FILE: (not given by php)
      LINE: (not given by php)
      CALL: msg_handler()

      FILE: [ROOT]/phpbb/db/driver/driver.php
      LINE: 803
      CALL: trigger_error()

      FILE: [ROOT]/phpbb/db/driver/mysqli.php
      LINE: 181
      CALL: phpbb\db\driver\driver->sql_error()

      FILE: [ROOT]/phpbb/db/migration/data/v310/avatar_types.php
      LINE: 46
      CALL: phpbb\db\driver\mysqli->sql_query()

      FILE: (not given by php)
      LINE: (not given by php)
      CALL: phpbb\db\migration\data\v310\avatar_types->update_user_avatar_type()

      FILE: [ROOT]/phpbb/db/migrator.php
      LINE: 451
      CALL: call_user_func_array()

      FILE: [ROOT]/phpbb/db/migrator.php
      LINE: 397
      CALL: phpbb\db\migrator->run_step()

      FILE: [ROOT]/phpbb/db/migrator.php
      LINE: 241
      CALL: phpbb\db\migrator->process_data_step()

      FILE: [ROOT]/phpbb/db/migrator.php
      LINE: 147
      CALL: phpbb\db\migrator->try_apply()

      FILE: [ROOT]/install/database_update.php
      LINE: 214
      CALL: phpbb\db\migrator->update()

            EXreaction EXreaction [X] (Inactive)
            wintstar wintstar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: