phpbb-extensions/ad-management

Unable to purge (delete data) extension

senky opened this issue · 1 comments

senky commented

This is what I get:

General Error
SQL ERROR [ mysqli ]

Table 'qi_ads_test31.phpbb_ads' doesn't exist [1146]

SQL

SHOW KEYS FROM phpbb_ads

BACKTRACE

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

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

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

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/db/tools.php
LINE: 1257
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/phpbb/db/tools.php
LINE: 832
CALL: phpbb\db\tools->sql_index_exists()

FILE: (not given by php)
LINE: (not given by php)
CALL: phpbb\db\tools->perform_schema_changes()

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

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

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

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

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

FILE: [ROOT]/phpbb/extension/base.php
LINE: 112
CALL: phpbb\db\migrator->revert()

FILE: [ROOT]/phpbb/extension/manager.php
LINE: 356
CALL: phpbb\extension\base->purge_step()

FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 263
CALL: phpbb\extension\manager->purge_step()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: acp_extensions->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
senky commented

Development environment output:

Whoops, looks like something went wrong.

1/1
ContextErrorException in driver.php line 999:
User Error: SQL ERROR [ mysqli ]<br /><br />Table 'ad.phpbb_ads' doesn't exist [1146]<br /><br />SQL<br /><br />SHOW KEYS
FROM phpbb_ads
in driver.php line 999
at ErrorHandler->handleError('256', 'SQL ERROR [ mysqli ]<br /><br />Table 'ad.phpbb_ads' doesn't exist [1146]<br /><br />SQL<br /><br />SHOW KEYS FROM phpbb_ads', '/Users/senky/www/ad/phpBB/phpbb/db/driver/driver.php', '999', array('sql' => 'SHOW KEYS FROM phpbb_ads', 'auth' => object(auth), 'user' => object(user), 'config' => object(db), 'message' => 'SQL ERROR [ mysqli ]<br /><br />Table 'ad.phpbb_ads' doesn't exist [1146]<br /><br />SQL<br /><br />SHOW KEYS FROM phpbb_ads'), null) in error_handler.php line 29
at error_handler->handleError('256', 'SQL ERROR [ mysqli ]<br /><br />Table 'ad.phpbb_ads' doesn't exist [1146]<br /><br />SQL<br /><br />SHOW KEYS FROM phpbb_ads', '/Users/senky/www/ad/phpBB/phpbb/db/driver/driver.php', '999', array('sql' => 'SHOW KEYS FROM phpbb_ads', 'auth' => object(auth), 'user' => object(user), 'config' => object(db), 'message' => 'SQL ERROR [ mysqli ]<br /><br />Table 'ad.phpbb_ads' doesn't exist [1146]<br /><br />SQL<br /><br />SHOW KEYS FROM phpbb_ads'))
at trigger_error('SQL ERROR [ mysqli ]<br /><br />Table 'ad.phpbb_ads' doesn't exist [1146]<br /><br />SQL<br /><br />SHOW KEYS FROM phpbb_ads', '256') in driver.php line 999
at driver->sql_error('SHOW KEYS FROM phpbb_ads') in mysqli.php line 193
at mysqli->sql_query('SHOW KEYS FROM phpbb_ads') in tools.php line 936
at tools->sql_index_exists('phpbb_ads', 'ad_enabled') in tools.php line 579
at tools->perform_schema_changes(array('drop_keys' => array('phpbb_ads' => array('ad_enabled'))))
at call_user_func_array(array(object(tools), 'perform_schema_changes'), array(array('drop_keys' => array('phpbb_ads' => array('ad_enabled'))))) in migrator.php line 711
at migrator->run_step(array('dbtools.perform_schema_changes', array(array('drop_keys' => array('phpbb_ads' => array('ad_enabled'))))), null, false) in migrator.php line 658
at migrator->process_data_step(array(array('dbtools.perform_schema_changes', array(array('drop_keys' => array('phpbb_ad_locations' => array('location_id'))))), array('dbtools.perform_schema_changes', array(array('drop_keys' => array('phpbb_ads' => array('ad_enabled')))))), array('result' => null, 'step' => '1', '_total_time' => '0.0024571418762207')) in migrator.php line 586
at migrator->try_revert('\phpbb\admanagement\migrations\v10x\m4_indexes') in migrator.php line 514
at migrator->revert_do('\phpbb\admanagement\migrations\v10x\m4_indexes') in migrator.php line 488
at migrator->revert('\phpbb\admanagement\migrations\v10x\m4_indexes') in base.php line 108
at base->purge_step(true) in manager.php line 354
at manager->purge_step('phpbb/admanagement') in acp_extensions.php line 283
at acp_extensions->main('extensions', 'main') in functions_module.php line 676
at p_master->load_active() in index.php line 82