[英]Joomla SQL Query error after Componant install
I recently installed arra user migrate and now when i go to Manage under extensions (i want to remove it) i get a server error:我最近安装了 arra 用户迁移,现在当我转到扩展下的管理(我想删除它)时,我收到服务器错误:
Unknown column 'a.id' in 'where clause' SQL=SELECT COUNT(*) FROM n3dmx_extensions WHERE state=0 AND a.id != 1013 AND a.id != 1014 AND a.id != 1015 Unknown column 'a.id' in 'where clause' SQL=SELECT *,2*protected+(1-protected)*enabled as status FROM n3dmx_extensions WHERE state=0 AND a.id != 1013 AND a.id != 1014 AND a.id != 1015 Unknown column 'a.id' in 'where clause' SQL=SELECT COUNT(*) FROM n3dmx_extensions WHERE state=0 AND a.id != 1013 AND a.id != 1014 AND a.id != 1015
Im not sure where to go from here as this was working ok previously, ideally i don't want to have to restore from a back up.我不知道从哪里开始,因为这之前工作正常,理想情况下我不想从备份中恢复。 Any advice on how to fix it?
关于如何修复它的任何建议? I have already clicked 'Fix Database' and updated to the latest version of joomla?
我已经单击了“修复数据库”并更新到最新版本的 joomla? Where are the SQL queries stored/created?
SQL 查询在哪里存储/创建?
Best Regards Donna最好的问候唐娜
Found this while looking for a solution for the same issue.在寻找相同问题的解决方案时发现了这一点。 It seems like this issue is a result of a hack attack.
这个问题似乎是黑客攻击的结果。 It inserts something similar to below code into the
getItems()
function of /libraries/legacy/model/list.php
file.它将类似于以下代码的内容插入到
/libraries/legacy/model/list.php
文件的getItems()
函数中。
$query->where('a.id != 1015');
The number 1015
might be different in each case.在每种情况下,数字
1015
可能不同。 Mine was 9417
.我的是
9417
。
More details at this forum post . 此论坛帖子中的更多详细信息。
Removing the above code with get your site back to normal.删除上面的代码,让您的网站恢复正常。 But obviously this is a result of hack attack.
但显然这是黑客攻击的结果。 This tells you that you need pay more attention to the security of your Joomla site.
这告诉您需要更加注意 Joomla 站点的安全性。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.