将Cedtag组件从2.5更新到j3.4X



我更改了Cedtag组件v2.6.2(此版本仅适用于Joomla 2.5)我修改了以下函数

JToolBarHelper::editListX('');
JHtmlBehavior mootools
jimport('joomla.filesystem.file');
JView.
JModel
.JController
. JFile

在此更改之后,组件安装在joomla 3.4x中没有问题。标签显示,但当我点击任何标签,我得到以下错误:

1054
Unknown column 'a.parentid' in 'field list' SQL=SELECT   a.id,a.title,a.created,a.alias,a.modified,a.images,a.created_by as contactid,u.name as author,a.created_by_alias as created_by_alias,COUNT(a.id) as total,a.introtext,a.fulltext,a.access,a.state,a.publish_up,a.hits,a.parentid as parent_id,a.catid as catid,cc.title as category_title,cc.title as section,cc.alias as parent_alias,CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(":", a.id, a.alias) ELSE a.id END as slug,CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(":", cc.id, cc.alias) ELSE cc.id END as catslug,CHAR_LENGTH( a.`fulltext` ) AS readmore FROM z4hqk_content AS a INNER JOIN z4hqk_categories AS cc ON cc.id = a.catid INNER JOIN z4hqk_users AS u ON u.id=a.created_by WHERE a.id in (1) AND (a.access IN(1,1,5) AND (a.state = 1 or a.state = 2) AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2015-09-05 12:13:05') AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2015-09-05 12:13:05') AND (a.state != -2)) AND cc.published = '1' GROUP BY (a.id) ORDER BY a.ordering LIMIT 0, 10`

我知道这很难分辨,但有人知道问题可能是什么吗?

这个问题通过在joomla 3x com_content db中创建名为"parentid"的行来解决

相关内容

  • 没有找到相关文章

最新更新