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

XF 1.4 Require prefix error

ineedhelp

Well-known member
#1
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'require_prefix' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: XXXXXXXXXXXXXX, A moment ago
Stack Trace
#0 /var/www/vhosts/barfilounge.com/httpdocs/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('UPDATE `xf_foru...')
#1 /var/www/vhosts/barfilounge.com/httpdocs/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'UPDATE `xf_foru...')
#2 /var/www/vhosts/barfilounge.com/httpdocs/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('UPDATE `xf_foru...')
#3 /var/www/vhosts/barfilounge.com/httpdocs/library/Zend/Db/Adapter/Abstract.php(632): Zend_Db_Adapter_Abstract->query('UPDATE `xf_foru...', Array)
#4 /var/www/vhosts/barfilounge.com/httpdocs/library/XenForo/DataWriter.php(1640): Zend_Db_Adapter_Abstract->update('xf_forum', Array, 'node_id = 2')
#5 /var/www/vhosts/barfilounge.com/httpdocs/library/XenForo/DataWriter.php(1609): XenForo_DataWriter->_update()
#6 /var/www/vhosts/barfilounge.com/httpdocs/library/XenForo/DataWriter.php(1405): XenForo_DataWriter->_save()
#7 /var/www/vhosts/barfilounge.com/httpdocs/library/XenForo/ControllerAdmin/Forum.php(127): XenForo_DataWriter->save()
#8 /var/www/vhosts/barfilounge.com/httpdocs/library/XenForo/FrontController.php(347): XenForo_ControllerAdmin_Forum->actionSave()
#9 /var/www/vhosts/barfilounge.com/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /var/www/vhosts/barfilounge.com/httpdocs/admin.php(13): XenForo_FrontController->run()
#11 {main}
I keep getting this error and because of it I can't save changes made to Nodes.

Not sure if it's an xenforo issue or because I uninstalled this add-on + server files:

http://xenforo.com/community/resources/1-1-x-require-thread-prefixes.500/

@borbole and anyone else, thanks.
 

Mike

XenForo developer
Staff member
#2
It is likely because you removed that add-on (which conflicted with XF). The author would be best positioned to know what it changed specifically, but you can run this query to re-add the column:
Code:
ALTER TABLE xf_forum ADD require_prefix TINYINT UNSIGNED NOT NULL DEFAULT '0';
 

NeoCHI

Active member
#3
I'm getting the exact same error! I also just deleted the required thread prefix aswell

@borbole It looks like this server error is definitely caused by your addon. Please investigate.