dongzhong2018 2015-03-20 10:55
浏览 78

Joomla 2.5.28。 错误500 JHtml ::不支持的行为。 文件未找到

I'm using a search component (Offlajn Universal AJAX live search) in my Joomla 2.5.28 site. 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!

  • 写回答

1条回答 默认 最新

  • douwayuan3063 2015-03-20 11:26
    关注

    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

    评论

报告相同问题?

悬赏问题

  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog
  • ¥15 Excel发现不可读取的内容