加载插件管理器时获取异常

时间:2017-03-26 00:13:37

标签: php joomla

每当我尝试加载插件管理器时,我最终都会遇到此异常。

500 Unknown column 'a.id' in 'where clause' SQL=SELECT COUNT(*) FROM `ebt_extensions` AS a LEFT JOIN ebt_users AS uc ON uc.id=a.checked_out LEFT JOIN ebt_viewlevels AS ag ON ag.id = a.access WHERE `type` = 'plugin' AND (a.enabled IN (0, 1)) AND a.state >= 0 AND a.id != 928 Unknown column 'a.id' in 'where clause' SQL=SELECT a.extension_id , a.name, a.element, a.folder, a.checked_out, a.checked_out_time, a.enabled, a.access, a.ordering,uc.name AS editor,ag.title AS access_level FROM `ebt_extensions` AS a LEFT JOIN ebt_users AS uc ON uc.id=a.checked_out LEFT JOIN ebt_viewlevels AS ag ON ag.id = a.access WHERE `type` = 'plugin' AND (a.enabled IN (0, 1)) AND a.state >= 0 AND a.id != 928 ORDER BY `folder` asc,a.ordering ASC LIMIT 0, 20 Unknown column 'a.id' in 'where clause' SQL=SELECT COUNT(*) FROM `ebt_extensions` AS a LEFT JOIN ebt_users AS uc ON uc.id=a.checked_out LEFT JOIN ebt_viewlevels AS ag ON ag.id = a.access WHERE `type` = 'plugin' AND (a.enabled IN (0, 1)) AND a.state >= 0 AND a.id != 928

我可以在数据库中看到ebt_extensions表没有id字段(它被extensions_id替换)。有谁知道在Joomla中执行此查询的文件在哪里?

我正在寻找它,但选择也只是发布在这里以防任何人已经知道它。

1 个答案:

答案 0 :(得分:0)

最有可能你最近安装了一个导致这个混乱的插件。转到phpMyAdmin并逐个禁用最近安装的插件。

如果这没有用,那么最好用新的Joomla安装覆盖核心Joomla文件(可能是你的其中一个文件中有一些损坏)。