XF 2.0 Media gallery upgrade

Kirux

Member
Code:
InvalidArgumentException: Table 'xengallery_album' does not exist so cannot be altered in src/XF/Db/Schema/Alter.php at line 38
XF\Db\Schema\Alter->__construct() in src/XF/Db/SchemaManager.php at line 188
XF\Db\SchemaManager->newAlter() in src/XF/Db/SchemaManager.php at line 141
XF\Db\SchemaManager->alterTable() in src/addons/XFMG/Setup.php at line 174
XFMG\Setup->upgrade2000070Step6() 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 437
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 89
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1879
XF\App->run() in src/XF.php at line 328
XF::runApp() in admin.php at line 13


Request state
array(4) {
  ["url"] => string(31) "/admin.php?add-ons/XFMG/upgrade"
  ["referrer"] => string(56) "https://planetrenders.net/admin.php?add-ons/XFMG/upgrade"
  ["_GET"] => array(1) {
    ["add-ons/XFMG/upgrade"] => string(0) ""
  }
  ["_POST"] => array(7) {
    ["_xfProcessing"] => string(1) "1"
    ["continue"] => string(1) "1"
    ["confirm"] => string(1) "1"
    ["params"] => string(2) "[]"
    ["count"] => string(1) "1"
    ["finished"] => string(1) "0"
    ["_xfToken"] => string(8) "********"
  }
}

How do I fix this error?
 
Is this a fresh install or a upgrade? What steps did you take to this error? If this is a upgrade to an existing install, are you having any issues with it currently?
 
A similar error came up previously during the beta:

That would suggest that the xengallery_album table is missing from your database, and that's a fairly important one.

You may need to restore a backup and make sure the Gallery is working before performing the upgrade (especially anything related to albums). Getting that error suggests your Gallery installation is broken anyway.
 
Back
Top Bottom