Joomla模块Kunena最新的致命错误

时间:2014-05-30 23:54:05

标签: php joomla

我在Joomla 1.7网站上使用Kunena Component v 2.0.4和Kunena Latest Module 1.7.2。 Kunena组件工作正常,但模块在前端出现以下错误:

  

致命错误:Class' KunenaModule'在/home/content/xx/xxxxxx/html/en/modules/mod_kunenalatest/class.php上找不到   第15行

以下是文件class.php的第一行

defined ( '_JEXEC' ) or die ();
class ModuleKunenaLatest extends KunenaModule {
    static protected $css = '/modules/mod_kunenalatest/tmpl/css/kunenalatest.css';
    protected function _display() {
        // Load language files.
        KunenaFactory::loadLanguage('com_kunena.sys', 'admin');
        KunenaFactory::loadLanguage();
        KunenaFactory::loadLanguage('com_kunena.templates');
        // Convert module parameters into topics view parameters
        $categories = $this->params->get ( 'category_id', 0 );
        $categories = is_array($categories) ? implode(',', $categories) :     $categories;
        $this->params->set('limitstart', 0);
        $this->params->set('limit', $this->params->get ( 'nbpost',5 ));
        $this->params->set('topics_categories', $categories);
        $this->params->set('topics_catselection', $this->params->get (      'sh_category_id_in', 1 ));
        $this->params->set('topics_time', $this->params->get (     'show_list_time', 168 ));
        $userid = 0;

0 个答案:

没有答案