Pepelac
Well-known member
This happens when someone tries to delete message permanently.
Server Error
Mysqli statement execute error : Out of range value adjusted for column 'position' at row 1
in the file library/XenForo/DataWriter/DiscussionMessage.php replace line 944 SET position = position - 1 with this - SET position = IF (position=0, 0, position - 1)
Server Error
Mysqli statement execute error : Out of range value adjusted for column 'position' at row 1
- Zend_Db_Statement_Mysqli->_execute()inZend/Db/Statement.phpat line297
- Zend_Db_Statement->execute()inZend/Db/Adapter/Abstract.phpat line479
- Zend_Db_Adapter_Abstract->query()inXenForo/DataWriter/DiscussionMessage.phpat line948
- XenForo_DataWriter_DiscussionMessage->_adjustPositionListForRemoval()inXenForo/DataWriter/DiscussionMessage.phpat line712
- XenForo_DataWriter_DiscussionMessage->_postDelete()inXenForo/DataWriter.phpat line1645
- XenForo_DataWriter->delete()inXenForo/Model/InlineMod/Post.phpat line118
- XenForo_Model_InlineMod_Post->deletePosts()inXenForo/ControllerPublic/InlineMod/Abstract.phpat line125
- XenForo_ControllerPublic_InlineMod_Abstract->executeInlineModAction()inXenForo/ControllerPublic/InlineMod/Post.phpat line40
- XenForo_ControllerPublic_InlineMod_Post->actionDelete()inXenForo/FrontController.phpat line310
- XenForo_FrontController->dispatch()inXenForo/FrontController.phpat line132
- XenForo_FrontController->run()in/path/to/docroot/index.phpat line17
in the file library/XenForo/DataWriter/DiscussionMessage.php replace line 944 SET position = position - 1 with this - SET position = IF (position=0, 0, position - 1)