[英]Joomla 2.5.28. Error 500 JHtml: :behavior not supported. File not found
I'm using a search component (Offlajn Universal AJAX live search) in my Joomla 2.5.28 site. 我在Joomla 2.5.28网站中使用了搜索组件(Offlajn Universal AJAX实时搜索)。 When searching for a word, I get the error:
搜索单词时,出现错误:
Error 500 JHtml: :behavior not supported. File not found.
This is the info I get from debugging. 这是我从调试中获得的信息。
Call stack
# Function Location
1 JSite->dispatch() /home/mysite/public_html/index.php:42
2 JComponentHelper::renderComponent() /home/mysite/public_html/includes/application.php:194
3 JComponentHelper::executeComponent() /home/mysite/public_html/libraries/joomla/application/component/helper.php:348
4 require_once() /home/mysite/public_html/libraries/joomla/application/component/helper.php:380
5 JController->execute() /home/mysite/public_html/components/com_search/search.php:15
6 SearchController->display() /home/mysite/public_html/libraries/joomla/application/component/controller.php:761
7 JController->display() /home/mysite/public_html/components/com_search/controller.php:33
8 SearchViewSearch->display() /home/mysite/public_html/libraries/joomla/application/component/controller.php:722
9 JView->display() /home/mysite/public_html/components/com_search/views/search/view.html.php:195
10 JView->loadTemplate() /home/mysite/public_html/plugins/system/t3/includes/joomla25/view.php:205
11 include() /home/mysite/public_html/plugins/system/t3/includes/joomla25/view.php:649
12 JHtml::_() /home/mysite/public_html/plugins/system/t3/base-bs3/html/com_search/search/default.php:11
13 JError::raiseError() /home/mysite/public_html/libraries/joomla/html/html.php:123
14 JError::raise() /home/mysite/public_html/libraries/joomla/error/error.php:251
15 JError::throwError() /home/mysite/public_html/libraries/joomla/error/error.php:176
16 call_user_func_array() /home/mysite/public_html/libraries/joomla/error/error.php:214
17 JError::handleCallback()
18 call_user_func() /home/mysite/public_html/libraries/joomla/error/error.php:765
19 plgSystemReDJ::customError()
If I try going back home and search again, I sometimes get it right (no error). 如果我尝试回到家并再次搜索,有时我会做对了(没有错误)。
Can someone help with this? 有人可以帮忙吗?
I tried searching another question but it doesn't seem like mine. 我尝试搜索另一个问题,但它似乎不是我的。
Thanks in advance! 提前致谢!
Somewhere in the extension code, you will most likely see the following: 在扩展代码中的某处,您很可能会看到以下内容:
JHtml::_('behavior.framework');
Try replacing the above with this: 尝试用以下内容替换上面的内容:
JHtml::_('behavior.mootools');
The first code snippet it used for Joomla 3.x, so you will need to use the second one which is for Joomla 2.5 它用于Joomla 3.x的第一个代码段,因此您需要使用第二个用于Joomla 2.5的代码段
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.