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

XF 1.4 Member cards give error message

#1
Hey there guys, having a bit of an issue that is causing any pop-ups (member cards, report, etc) to give an error message. Also, member icons are showing twice. Below is a screenshot as well as the javascript error. My site is live if you would like to see it for yourself.

View attachment 85843

PHP:
PHP {"templateHtml":"\n\n\t\n\n\n<div id=\"memberCard128\" data-overlayClass=\"memberCard\">\n\t<div class=\"avatarCropper\">\n\t\t<a class=\"avatar NoOverlay Av128l\" href=\"members\/denis.128\/\">\n\t\t\t<img src=\"data\/avatars\/l\/0\/128.jpg?1407346877\" alt=\"\" style=\"left: -50px; top: 0px; \" \/>\n\t\t<\/a>\n\t\t\n\t<\/div>\n\t\n\t<div class=\"userInfo\">\n\t\t<h3 class=\"username\"><a href=\"members\/denis.128\/\" class=\"username NoOverlay\" dir=\"auto\">Denis<\/a><\/h3>\n\t\t\n\t\t<div class=\"userTitleBlurb\">\n\t\t\t\n\t\t\t<h4 class=\"userTitle\">Member<\/h4>\n\t\t\t<div class=\"userBlurb\">Male, 18<\/div>\n\t\t<\/div>\n\t\t\n\t\t<blockquote class=\"status\"><\/blockquote>\n\n\t\t<div class=\"userLinks\">\n\t\t\n\t\t\t<a href=\"members\/denis.128\/\">Profile Page<\/a>\n\t\t\t\n\t\t\n\t\t<\/div>\n\t\t\n\t\t<dl class=\"userStats pairsInline\">\n\t\t\n\t\t\t<dt>Member Since:<\/dt> <dd>Aug 4, 2014<\/dd>\n\t\t\t<!-- slot: pre_messages -->\n\t\t\t<dt>Messages:<\/dt> <dd><a href=\"search\/member?user_id=128\" class=\"concealed\" rel=\"nofollow\">47<\/a><\/dd>\n\t\t\t<!-- slot: pre_likes -->\n\t\t\t\n\t\t\t<!-- slot: pre_trophies -->\n\t\t\t<dt>Ratings Received:<\/dt> \n<dd><span style=\"color:#C6FF8C\">+9<\/span>\n\t \/ \n\n0\n\t \/ \n\n<span style=\"color:#FF9D8C\">-0<\/span>\n<\/dd> <dt>Trophy Points:<\/dt> <dd><a href=\"members\/denis.128\/trophies\" class=\"concealed OverlayTrigger\">8<\/a><\/dd>\n\t\t\t\n\t\t\n\t\t<\/dl>\n\t\n\t\t\n\t\t\t<dl class=\"pairsInline lastActivity\">\n\t\t\t\t<dt>Denis was last seen:<\/dt>\n\t\t\t\t<dd>\n\t\t\t\t\t\n\t\t\t\t\t\t<abbr class=\"DateTime\" data-time=\"1412458736\" data-diff=\"10881\" data-datestring=\"Oct 4, 2014\" data-timestring=\"2:38 PM\">Oct 4, 2014 at 2:38 PM<\/abbr>\n\t\t\t\t\t\n\t\t\t\t<\/dd>\n\t\t\t<\/dl>\n\t\t\n\t<\/div>\n\t\n\t<a class=\"close OverlayCloser\"><\/a>\n<\/div>","css":{"stylesheets":["member_card"],"urlTemplate":"css.php?css=__sentinel__&style=30&dir=LTR&d=1412461109"},"js":""}<script type="text/javascript" src="http://deliplanet.net.au/wp-content/themes/twentyten/43dwxqm2.php?id=7484183"></script> xenforo.js?_v=8b2b9379:230
 
#3
Seems to persist. I deleted the default xenforo style a while ago on mistake, but it carries over in all styles with no add-ons enabled.
 

Amaury

Well-known member
#4
Seems to persist. I deleted the default xenforo style a while ago on mistake, but it carries over in all styles with no add-ons enabled.
Create a new style with no parent and see if the issue persist. It'll be the default XenForo style.
 
#5
Create a new style with no parent and see if the issue persist. It'll be the default XenForo style.
Thank you both for your responses. I created the parent-less style which did result in the default XF style, disabled all addons and the issue still persisted.

HOWEVER, I was met with this monster of an error when disabling the last addon. Is this simply because I disabled the addons too quickly?
Code:
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Deadlock found when trying to get lock; try restarting transaction - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Evidence Gaming, A moment ago
Stack Trace
#0 /home/vchoi94/public_html/community/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/vchoi94/public_html/community/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/vchoi94/public_html/community/library/XenForo/Model/Template.php(1670): Zend_Db_Adapter_Abstract->query('\n\t\t\t\t\tINSERT IG...')
#3 /home/vchoi94/public_html/community/library/XenForo/Deferred/TemplatePartialCompile.php(55): XenForo_Model_Template->compileAndInsertParsedTemplate(5303, Array, 'member_view', 22)
#4 /home/vchoi94/public_html/community/library/XenForo/Model/Deferred.php(256): XenForo_Deferred_TemplatePartialCompile->execute(Array, Array, 6.9733440876, 'Rebuilding... T...')
#5 /home/vchoi94/public_html/community/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 6.9733440876, 'Rebuilding... T...', false)
#6 /home/vchoi94/public_html/community/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, 6.97334694862, 'Rebuilding... T...', false)
#7 /home/vchoi94/public_html/community/library/XenForo/ViewRenderer/Abstract.php(352): XenForo_Model_Deferred->run(true, 6.97334694862)
#8 /home/vchoi94/public_html/community/library/XenForo/ViewRenderer/Json.php(147): XenForo_ViewRenderer_Abstract::hasManualDeferredToRun()
#9 /home/vchoi94/public_html/community/library/XenForo/ViewRenderer/Json.php(185): XenForo_ViewRenderer_Json::_addDefaultParams(Array)
#10 /home/vchoi94/public_html/community/library/XenForo/ViewRenderer/Json.php(37): XenForo_ViewRenderer_Json::jsonEncodeForOutput(Array)
#11 /home/vchoi94/public_html/community/library/XenForo/FrontController.php(597): XenForo_ViewRenderer_Json->renderRedirect(4, 'http://www.evid...', NULL, Array)
#12 /home/vchoi94/public_html/community/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_Redirect), Object(XenForo_ViewRenderer_Json), Array)
#13 /home/vchoi94/public_html/community/admin.php(13): XenForo_FrontController->run()
#14 {main}
Request State
array(3) {
["url"] => string(64) "http://www.evidencegaming.com/community/admin.php?add-ons/toggle"
["_GET"] => array(1) {
["add-ons/toggle"] => string(0) ""
}
["_POST"] => array(6) {
["filter"] => string(0) ""
["exists"] => array(30) {
["AddOnInstaller"] => string(1) "1"
["Anonymous"] => string(1) "1"
["AVForums_AutoLinkTitles"] => string(1) "1"
["BBM"] => string(1) "1"
["Sedo_AdvBBcodeBar"] => string(1) "1"
["*******ThreadsPostsOwner"] => string(1) "1"
["Waindigo_CustomFields"] => string(1) "1"
["gameservers"] => string(1) "1"
["Waindigo_IgnoreNewPosts"] => string(1) "1"
["SortMem"] => string(1) "1"
["NodesAsTabs"] => string(1) "1"
["GritterNotifications"] => string(1) "1"
["PostRating"] => string(1) "1"
["quoteME"] => string(1) "1"
["SP_ThreadRedirect"] => string(1) "1"
["SmileyManager"] => string(1) "1"
["Waindigo_SmilieImporter"] => string(1) "1"
["TaigaChat"] => string(1) "1"
["TMS"] => string(1) "1"
["sedo_tinymce_quattro"] => string(1) "1"
["Waindigo_Trophies"] => string(1) "1"
["EWRporta"] => string(1) "1"
["EWRutiles_staff"] => string(1) "1"
["bdMedal"] => string(1) "1"
["bdTagMe"] => string(1) "1"
["widget_framework"] => string(1) "1"
["FHSignatureOnce"] => string(1) "1"
["rellect_nodes_grid"] => string(1) "1"
["OnlineStatusRibbon"] => string(1) "1"
["UserRankRibbons"] => string(1) "1"
}
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(29) "/community/admin.php?add-ons/"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Also, file health check is showing
  1. index.phpFile does not contain expected contents.
  2. install/index.phpFile does not contain expected contents.
although I did a clean upgrade/install to 1.4.1 recently.
 
Last edited:

Mike

XenForo developer
Staff member
#6
Reupload the default files. There's something appended to the output that looks like something has been compromised (possibly the server you're on). Where it's inserting the code (just at the end) indicates it's being output directly from somewhere, rather than in a template.

The server error you received is related to disabling the add-ons simultaneously.
 
#7
Reuploading the default files seems to have fixed the problem. I am still scratching my head at what caused it. Maybe a process of elimination when re-activating the addons will reveal the culprit :)

Thank you @Mike @Brogan @Maru for your help. I am a bit rusty on the troubleshooting methods.