MattW
Well-known member
Just upgraded XFMG to 1.1.11, and XMFG is now causing the below errors:
Mysqli prepare error: Key 'media_date' doesn't exist in table 'media'
I've been through and tried to manually run the SQL queries in the upgrade PHP file, and all of them report "Duplicate key name 'XXXXXX'" when it's executing, so I'm assuming the queries have ran during the update.
I've had to disable the gallery to get the site back online.
Mysqli prepare error: Key 'media_date' doesn't exist in table 'media'
- Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
- Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
- Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
- Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 791
- Zend_Db_Adapter_Abstract->fetchCol() in XenGallery/Model/Media.php at line 475
- XenGallery_Model_Media->getUnviewedMediaIds() in XenGallery/Listener.php at line 192
- XenGallery_Listener::controllerPreDispatch()
- call_user_func_array() in XenForo/CodeEvent.php at line 58
- XenForo_CodeEvent::fire() in XenForo/Controller.php at line 313
- XenForo_Controller->preDispatch() in XenForo/FrontController.php at line 350
- XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
- XenForo_FrontController->run() in /home/hearth/public_html/talk/index.php at line 13
I've been through and tried to manually run the SQL queries in the upgrade PHP file, and all of them report "Duplicate key name 'XXXXXX'" when it's executing, so I'm assuming the queries have ran during the update.
I've had to disable the gallery to get the site back online.