ALTER TABLE xf_user_option RENAME COLUMN custom_messages TO dpp_custom_config;
INSERT IGNORE INTO `xf_job`
(unique_key, execute_class, execute_data, manual_execute, trigger_date)
VALUES
('dpp_migrate206', 'Truonglv\DiscussionsPerPage:Migrate206', 'a:0:{}', 0, 0)
Dave Upton Run these queries to fix it.
Code:ALTER TABLE xf_user_option RENAME COLUMN custom_messages TO dpp_custom_config;
And make a job to migrate data.
Code:INSERT IGNORE INTO `xf_job` (unique_key, execute_class, execute_data, manual_execute, trigger_date) VALUES ('dpp_migrate206', 'Truonglv\DiscussionsPerPage:Migrate206', 'a:0:{}', 0, 0)
Getting an error but not sure if its the same as what Dave went through.
Here's the error:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'dpp_custom_config' in 'field list' in src/XF/Db/AbstractStatement.php at line 228
- XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
- XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
- XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
- XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 94
- XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 326
- XF\Db\AbstractAdapter->update() in src/XF/Mvc/Entity/Entity.php at line 1515
- XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1242
- XF\Mvc\Entity\Entity->save() in src/XF/Mvc/Entity/Entity.php at line 1260
- XF\Mvc\Entity\Entity->save() in src/XF/Mvc/FormAction.php at line 69
- XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 187
- XF\Mvc\FormAction->run() in src/XF/Pub/Controller/Account.php at line 380
- XF\Pub\Controller\Account->actionPreferences() in src/XF/Mvc/Dispatcher.php at line 350
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
- XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2337
- XF\App->run() in src/XF.php at line 488
- XF::runApp() in index.php at line 20
Notable changes:
- Support XenForo 2.2.0 beta 6 or higher
- Mark add-on required to XenForo 2.2.0 beta 6 or higher to use this version.
Truonglv updated Threads, posts and conversations per page with a new update entry:
2.0.5
Read the rest of this update entry...
I don't want to be forced to upgrade to a RC version yet. Please let me download the previous version compatible with XF 2.1
Thanks