Skip to content

Instantly share code, notes, and snippets.

@Noxwizard
Created October 14, 2013 19:17
Show Gist options
  • Save Noxwizard/6980565 to your computer and use it in GitHub Desktop.
Save Noxwizard/6980565 to your computer and use it in GitHub Desktop.
MSSQL Native 3.1.0-a1 database_update
General Error
SQL ERROR [ mssqlnative ]
SQLSTATE: 42000 code: 5074 message: [Microsoft][SQL Server Native Client 11.0][SQL Server]The index 'imageset_id' is dependent on column 'imageset_id'. SQLSTATE: 42000 code: 4922 message: [Microsoft][SQL Server Native Client 11.0][SQL Server]ALTER TABLE DROP COLUMN imageset_id failed because one or more objects access this column. [4922]
SQL
ALTER TABLE [phpbb_styles] DROP COLUMN [imageset_id]
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 811
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mssqlnative.php
LINE: 321
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/tools.php
LINE: 1466
CALL: phpbb\db\driver\mssqlnative->sql_query()
FILE: [ROOT]/phpbb/db/tools.php
LINE: 1944
CALL: phpbb\db\tools->_sql_run_sql()
FILE: [ROOT]/phpbb/db/tools.php
LINE: 874
CALL: phpbb\db\tools->sql_column_remove()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 363
CALL: phpbb\db\tools->perform_schema_changes()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 241
CALL: phpbb\db\migrator->apply_schema_changes()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 204
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 204
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 155
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/install/database_update.php
LINE: 214
CALL: phpbb\db\migrator->update()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment