• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

MG 2.0 Installed xF 2

#1
I'm trying to upgrade my media gallery and get this fail
Code:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'view_user_groups' in 'field list' in src/XF/Db/AbstractStatement.php at line 212
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 174
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 35
XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 46
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 69
XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 96
XF\Db\AbstractAdapter->fetchAllKeyed() in src/addons/XFMG/Setup.php at line 700
XFMG\Setup->upgrade902000010Step3() in src/XF/AddOn/StepRunnerUpgradeTrait.php at line 117
XFMG\Setup->upgradeStepRunner() in src/XF/AddOn/StepRunnerUpgradeTrait.php at line 74
XFMG\Setup->upgrade() in src/XF/Admin/Controller/AddOn.php at line 433
XF\Admin\Controller\AddOn->actionUpgrade() in src/XF/Mvc/Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1863
XF\App->run() in src/XF.php at line 328
XF::runApp() in admin.php at line 13
 

Chris D

XenForo developer
Staff member
#2
That would really only happen if the database isn't from a valid XFMG 1.x install, or some other interruption meant that the steps have repeated, but we have code to prevent that.

Was XFMG working correctly (specifically saving category permissions) before upgrading?
 
#4
More error code it's saying due to a theme house erro
Code:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'view_user_groups' in 'field list' in src/XF/Db/AbstractStatement.php at line 212

    XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 174
    XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 35
    XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 46
    XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 69
    XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 96
    XF\Db\AbstractAdapter->fetchAllKeyed() in src/addons/XFMG/Setup.php at line 700
    XFMG\Setup->upgrade902000010Step3() in src/XF/AddOn/StepRunnerUpgradeTrait.php at line 117
    XFMG\Setup->upgradeStepRunner() in src/XF/AddOn/StepRunnerUpgradeTrait.php at line 74
    XFMG\Setup->upgrade() in src/XF/Admin/Controller/AddOn.php at line 433
    XF\Admin\Controller\AddOn->actionUpgrade() in src/XF/Mvc/Dispatcher.php at line 249
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1863
    XF\App->run() in src/XF.php at line 328
    XF::runApp() in admin.php at line 13