[SIZE=5][B]Server Error[/B][/SIZE]
Mysqli prepare error: Unknown column 'twitter_auth_id' in 'field list'
[LIST=1]
[*][B]Zend_Db_Statement_Mysqli->_prepare()[/B] in [B]Zend/Db/Statement.php[/B] at line [B]115[/B]
[*][B]Zend_Db_Statement->__construct()[/B] in [B]Zend/Db/Adapter/Mysqli.php[/B] at line [B]381[/B]
[*][B]Zend_Db_Adapter_Mysqli->prepare()[/B] in [B]Zend/Db/Adapter/Abstract.php[/B] at line [B]478[/B]
[*][B]Zend_Db_Adapter_Abstract->query()[/B] in [B]Zend/Db/Adapter/Abstract.php[/B] at line [B]632[/B]
[*][B]Zend_Db_Adapter_Abstract->update()[/B] in [B]XenForo/Model/UserExternal.php[/B] at line [B]47[/B]
[*][B]XenForo_Model_UserExternal->updateExternalAuthAssociation()[/B] in [B]C2/Twitter/Register.php[/B] at line [B]151[/B]
[*][B]C2_Twitter_Register->actionTwitterRegister()[/B] in [B]XenForo/FrontController.php[/B] at line [B]310[/B]
[*][B]XenForo_FrontController->dispatch()[/B] in [B]XenForo/FrontController.php[/B] at line [B]132[/B]
[*][B]XenForo_FrontController->run()[/B] in [B]../forums/index.php[/B] at line [B]13
I received an error attempting to get this to work:
[/B]Code:[SIZE=5][B]Server Error[/B][/SIZE] Mysqli prepare error: Unknown column 'twitter_auth_id' in 'field list' [LIST=1] [*][B]Zend_Db_Statement_Mysqli->_prepare()[/B] in [B]Zend/Db/Statement.php[/B] at line [B]115[/B] [*][B]Zend_Db_Statement->__construct()[/B] in [B]Zend/Db/Adapter/Mysqli.php[/B] at line [B]381[/B] [*][B]Zend_Db_Adapter_Mysqli->prepare()[/B] in [B]Zend/Db/Adapter/Abstract.php[/B] at line [B]478[/B] [*][B]Zend_Db_Adapter_Abstract->query()[/B] in [B]Zend/Db/Adapter/Abstract.php[/B] at line [B]632[/B] [*][B]Zend_Db_Adapter_Abstract->update()[/B] in [B]XenForo/Model/UserExternal.php[/B] at line [B]47[/B] [*][B]XenForo_Model_UserExternal->updateExternalAuthAssociation()[/B] in [B]C2/Twitter/Register.php[/B] at line [B]151[/B] [*][B]C2_Twitter_Register->actionTwitterRegister()[/B] in [B]XenForo/FrontController.php[/B] at line [B]310[/B] [*][B]XenForo_FrontController->dispatch()[/B] in [B]XenForo/FrontController.php[/B] at line [B]132[/B] [*][B]XenForo_FrontController->run()[/B] in [B]../forums/index.php[/B] at line [B]13
[/LIST]
I also have DI's 'Steam Login' running, but disabling that did not solve the issue, and neither did upgrading the forums to 1.1.1.
It looks like you installed the one attached to the first post. Install the updated version from this post instead...
http://xenforo.com/community/threads/twitter-authentication.9740/page-4#post-306321
DELETE FROM xf_user_external_auth
WHERE provider = 'twitter'
AND user_id = X
[SIZE=5][B]Server Error[/B][/SIZE]
Mysqli prepare error: Unknown column 'twitter_auth_id' in 'field list'
[LIST=1]
[*][B]Zend_Db_Statement_Mysqli->_prepare()[/B] in [B]Zend/Db/Statement.php[/B] at line [B]115[/B]
[*][B]Zend_Db_Statement->__construct()[/B] in [B]Zend/Db/Adapter/Mysqli.php[/B] at line [B]381[/B]
[*][B]Zend_Db_Adapter_Mysqli->prepare()[/B] in [B]Zend/Db/Adapter/Abstract.php[/B] at line [B]478[/B]
[*][B]Zend_Db_Adapter_Abstract->query()[/B] in [B]Zend/Db/Adapter/Abstract.php[/B] at line [B]632[/B]
[*][B]Zend_Db_Adapter_Abstract->update()[/B] in [B]XenForo/Model/UserExternal.php[/B] at line [B]47[/B]
[*][B]XenForo_Model_UserExternal->updateExternalAuthAssociation()[/B] in [B]C2/Twitter/Register.php[/B] at line [B]151[/B]
[*][B]C2_Twitter_Register->actionTwitterRegister()[/B] in [B]XenForo/FrontController.php[/B] at line [B]310[/B]
[*][B]XenForo_FrontController->dispatch()[/B] in [B]XenForo/FrontController.php[/B] at line [B]132[/B]
[*][B]XenForo_FrontController->run()[/B] in [B]/forums/index.php[/B] at line [B]13
Login into twitter and create a new twitter app. Make sure it's read only and associate that app with the new twitter authentication add-on. That's what I had to do. I deleted my old one though.Thanks, I think I did use that one, but uninstalled and installed again to be sure. However, the twitter accounts did apperently get added despite the error. Is there any easy way to un-associate an XF account from a Twitter account so I can try and see if the error got resolved now?
Login into twitter and create a new twitter app. Make sure it's read only and associate that app with the new twitter authentication add-on. That's what I had to do. I deleted my old one though.
I did try that before, but somehow the Twitter account remains associated with the xf account in question. Tried my other account and that seems to work.
Still the same error though:
[/B]Code:[SIZE=5][B]Server Error[/B][/SIZE] Mysqli prepare error: Unknown column 'twitter_auth_id' in 'field list' [LIST=1] [*][B]Zend_Db_Statement_Mysqli->_prepare()[/B] in [B]Zend/Db/Statement.php[/B] at line [B]115[/B] [*][B]Zend_Db_Statement->__construct()[/B] in [B]Zend/Db/Adapter/Mysqli.php[/B] at line [B]381[/B] [*][B]Zend_Db_Adapter_Mysqli->prepare()[/B] in [B]Zend/Db/Adapter/Abstract.php[/B] at line [B]478[/B] [*][B]Zend_Db_Adapter_Abstract->query()[/B] in [B]Zend/Db/Adapter/Abstract.php[/B] at line [B]632[/B] [*][B]Zend_Db_Adapter_Abstract->update()[/B] in [B]XenForo/Model/UserExternal.php[/B] at line [B]47[/B] [*][B]XenForo_Model_UserExternal->updateExternalAuthAssociation()[/B] in [B]C2/Twitter/Register.php[/B] at line [B]151[/B] [*][B]C2_Twitter_Register->actionTwitterRegister()[/B] in [B]XenForo/FrontController.php[/B] at line [B]310[/B] [*][B]XenForo_FrontController->dispatch()[/B] in [B]XenForo/FrontController.php[/B] at line [B]132[/B] [*][B]XenForo_FrontController->run()[/B] in [B]/forums/index.php[/B] at line [B]13
[/LIST]
Okay. In my humble opinion, delete all twitter authentication stuff from both your server and database then try again.I did that, too, when I encountered the error first time, and had new keys generated and everything. Really no clue what's in my way here. Thanks for the try, though
Overwrite the files with these and let me know if that fixes your problem. It should. No need to unistall the XML.
Cheers,
I did not see the error this time Thanks!
did you updated it?Excellent. I'll add that to my first post with the updated add-on.
did you updated it?
so strange, I have uploaded your files and made the necessary changes but I see 2 twitter autenticate buttons :SYes.
woow.... it work. Thank'sIs that all it says? Does this happen before it goes to the authorize an application screen or after?
View attachment 23026
On the app settings tab for my app I have name, description, website, access (read only) and callback URL filled in. URL's like this...
View attachment 23024
Refactoring of existing add-ons, without the explicit consent of the original author, is not permitted.If yes, I can refactor it since author is offline for a long time.
We use essential cookies to make this site work, and optional cookies to enhance your experience.