将 Cedtag 组件从 2.5 更新到 j3.4X 时出现数据库错误

db error to update Cedtag component from 2.5 to 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" 的行来解决