Ivo2
Member
I tried to install an addon "Easy User ban" from Siropu, but following Server-Errors:
XF\Db\InvalidQueryException: xf_user: MySQL query error [1118]: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs src/XF/Db/AbstractStatement.php:230
Stack-Trace:
ALTER TABLE
ADD
ADD
ADD
many thanks in advance for your help.
Answer from Siropu:
KR
XF\Db\InvalidQueryException: xf_user: MySQL query error [1118]: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs src/XF/Db/AbstractStatement.php:230
Stack-Trace:
ALTER TABLE
xf_user
ADD
siropu_easy_user_ban_count
INT UNSIGNED NOT NULL DEFAULT '0',ADD
siropu_easy_user_ban_forum
BLOB NOT NULL,ADD
siropu_easy_user_ban_thread
BLOB NOT NULL
Code:
#0 src/XF/Db/Mysqli/Statement.php(198): XF\Db\AbstractStatement->getException('MySQL query err...', 1118, '42000')
#1 src/XF/Db/Mysqli/Statement.php(79): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1118, '42000')
#2 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/Schema/AbstractDdl.php(158): XF\Db\AbstractAdapter->query('ALTER TABLE `xf...')
#4 src/XF/Db/SchemaManager.php(154): XF\Db\Schema\AbstractDdl->apply()
#5 src/addons/Siropu/EasyUserBan/Setup.php(25): XF\Db\SchemaManager->alterTable('xf_user', Object(Closure))
#6 src/XF/AddOn/StepRunnerInstallTrait.php(62): Siropu\EasyUserBan\Setup->installStep1(Array)
#7 src/XF/AddOn/StepRunnerInstallTrait.php(29): Siropu\EasyUserBan\Setup->installStepRunner(1, Array)
#8 src/XF/Admin/Controller/AddOn.php(419): Siropu\EasyUserBan\Setup->install(Array)
#9 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\AddOn->actionInstall(Object(XF\Mvc\ParameterBag))
#10 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:AddOn', 'Install', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\AddOn), NULL)
#11 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\AddOn), NULL)
#12 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#14 src/XF.php(524): XF\App->run()
#15 admin.php(13): XF::runApp('XF\\Admin\\App')
#16 {main}
Code:
array(4) {
["url"] => string(45) "/admin.php?add-ons/Siropu-EasyUserBan/install"
["referrer"] => string(69) "https://balkanforum.info/admin.php?add-ons/Siropu-EasyUserBan/install"
["_GET"] => array(1) {
["add-ons/Siropu-EasyUserBan/install"] => 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) "********"
}
}
many thanks in advance for your help.
Answer from Siropu:
I don't think the problem is my add-on.
You might need to make some changes to the xf_user table.
KR