[英]Joomla 2.5.28. Error 500 JHtml: :behavior not supported. File not found
我在Joomla 2.5.28网站中使用了搜索组件(Offlajn Universal AJAX实时搜索)。 搜索单词时,出现错误:
Error 500 JHtml: :behavior not supported. File not found.
这是我从调试中获得的信息。
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()
如果我尝试回到家并再次搜索,有时我会做对了(没有错误)。
有人可以帮忙吗?
我尝试搜索另一个问题,但它似乎不是我的。
提前致谢!
在扩展代码中的某处,您很可能会看到以下内容:
JHtml::_('behavior.framework');
尝试用以下内容替换上面的内容:
JHtml::_('behavior.mootools');
它用于Joomla 3.x的第一个代码段,因此您需要使用第二个用于Joomla 2.5的代码段
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.