gpt4 book ai didi

mysql - 找不到所请求的页面。 Joomla 3 网站

转载 作者:行者123 更新时间:2023-11-29 22:38:23 26 4
gpt4 key购买 nike

请有人帮助我。我在网站上使用了最喜欢的 Joomla 模板,该网站一直运行良好,但现在当有人尝试访问它时,它会显示一个错误页面。 1064 - 错误:1064。请问我该怎么做才能使网站恢复正常?

谢谢。

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY content.created DESC' at line 25 SQL=

SELECT content.id AS id, content.access AS access, content.catid AS cid, 
categories.name AS catname, categories.alias AS cat_alias,
users.email AS author_email, content.created_by_alias AS author_alias,
content.created_by AS author_id, content_rating.rating_sum AS
rating_sum, content_rating.rating_count AS rating_count
FROM ii03y_k2_items AS content
LEFT JOIN ii03y_k2_categories AS categories ON categories.id = content.catid
LEFT JOIN ii03y_users AS users ON users.id = content.created_by
LEFT JOIN ii03y_k2_rating AS content_rating ON content_rating.itemID = content.id
WHERE
ORDER BY content.created DESC

最佳答案

您收到错误是因为您的查询有 Where Clause 但此处没有条件,因此请从查询中删除 Where Clause 或添加条件(如果有)。

关于mysql - 找不到所请求的页面。 Joomla 3 网站,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29461166/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com