mauzao9
Well-known member
It's only on the profile page yes, they display correctly everywhere else.You meant the new version works incorrectly in user profile page? Does it work correctly on other places?
It's only on the profile page yes, they display correctly everywhere else.You meant the new version works incorrectly in user profile page? Does it work correctly on other places?
- Fix template error in member_view
- Performance improvements (thanks @Xon)
It's only on the profile page yes, they display correctly everywhere else.
It was a bug, v1.5.4 is out with the fix. Sorry for the issue
It was a bug, v1.5.4 is out with the fix. Sorry for the issue
read more about his plan for xf2:@xfrocks
Do you have any plans to revisit this for xf2.0?
I wouldn't mind paying if it required an entire rework.
Hi!
Just wondering why I've been getting this server error?
Thanks
This can also be caused by php opcode caching.Looks like a corrupted file during upload. Can you try and reupload?
SELECT awarded.*
,
user.*,
awarded.user_id as user_id,
awarded.username as username
FROM `xf_bdmedal_awarded` AS awarded
LEFT JOIN `xf_user` AS user
ON (user.user_id = awarded.user_id)
WHERE 1=1
ORDER BY awarded.award_date
Run Time: 0.251575
This issue exists from a long time ago but we haven't had a good way to deal with yet. Basically if we limit the number of awarded medal, we will have to do one query for each medal which may be a bad idea... Probably we will hide the detailed user list on the help page and move it to a separate one.I've hit an issue on my large forum - the help page exceeds RAM usage. I haven't looked too hard, but but looks like that there is no limit set on the number of users pulled up for this page within SQL, regardless of how many you actually end up displaying.
From debug the sql is:
Code:SELECT awarded.* , user.*, awarded.user_id as user_id, awarded.username as username FROM `xf_bdmedal_awarded` AS awarded LEFT JOIN `xf_user` AS user ON (user.user_id = awarded.user_id) WHERE 1=1 ORDER BY awarded.award_date Run Time: 0.251575
Fair enough, but I would have thought that query would become redundant if I set maximum number of users to be displayed to be zero, especially as you do a separate query for counting the number of awarded users per medal - not a perfect solution, but one I would be happy with.This issue exists from a long time ago but we haven't had a good way to deal with yet. Basically if we limit the number of awarded medal, we will have to do one query for each medal which may be a bad idea... Probably we will hide the detailed user list on the help page and move it to a separate one.
Server Error Log
Error Info
XenForo_Exception: No data - library/bdMedal/Helper/Template.php:84
Generated By: Calucense, A moment ago
Stack Trace
#0 /home/xxx/forum/library/bdMedal/Helper/Template.php(23): bdMedal_Helper_Template::_getCachedMedals(Array)
#1 /home/xxx/forum/library/XenForo/Template/Abstract.php(330): bdMedal_Helper_Template::renderCachedMedals('\n\t\t\t\t<a href="{...', Array, Object(XenForo_Template_Public))
#2 /home/xxx/forum/library/XenForo/Template/Abstract.php(265) : eval()'d code(3458): XenForo_Template_Abstract->callTemplateCallback('bdMedal_Helper_...', 'renderCachedMed...', '\n\t\t\t\t<a href="{...', Array)
#3 /home/xxx/forum/library/XenForo/Template/Abstract.php(265): eval()
#4 /home/xxx/forum/library/XenForo/Template/Abstract.php(191): XenForo_Template_Abstract->_renderInternal('$__output = '';...', Array)
#5 /home/xxx/forum/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#6 /home/xxx/forum/library/XenForo/ViewRenderer/HtmlPublic.php(140): XenForo_Template_Public->render()
#7 /home/xxx/forum/library/XenForo/FrontController.php(639): XenForo_ViewRenderer_HtmlPublic->renderContainer('\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n...', Array)
#8 /home/xxx/forum/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#9 /home/xxx/forum/index.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
["url"] => string(50) "https://forum.kog.it/threads/moto-e-go-kart.13960/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Delete...Close
We use essential cookies to make this site work, and optional cookies to enhance your experience.