【发布时间】:2014-03-11 13:02:47
【问题描述】:
在我的托管公司升级服务器后,我遇到了一个非常奇怪的类别问题。每隔一天,一个类别就会崩溃,当单击链接的菜单项时,它会显示以下错误。你能帮忙吗?谢谢你。 (http://myxolargos.gr)
错误:500
表'/tmp/#sql_1325_1.MYI'的密钥文件不正确;尝试修复它 SQL=SELECT a.id、a.title、a.alias、a.title_alias、a.introtext、 a.checked_out, a.checked_out_time, a.catid, a.created, a.created_by, a.created_by_alias, CASE WHEN a.modified = 0 THEN a.created ELSE a.modified END 为已修改,a.modified_by, uam.name 为 modified_by_name,CASE WHEN a.publish_up = 0 THEN a.created ELSE a.publish_up END 为 publish_up、a.publish_down、a.images、a.urls、 a.attribs,a.metadata,a.metakey,a.metadesc,a.access,a.hits, a.xreference, a.featured, LENGTH(a.fulltext) AS readmore,CASE WHEN badcats.id 不为空 THEN 0 ELSE a.state END AS state,c.title AS category_title, c.path AS category_route, c.access AS category_access, c.alias AS category_alias,CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE ua.name END AS author,ua.email AS author_email,( SELECT MAX(contact.id) AS id FROM myxolarg_contact_details 作为联系人 WHERE contact.published = 1 AND contact.user_id = a.created_by) as contactid,parent.title as parent_title,parent.id 作为 parent_id,parent.path 作为 parent_route, parent.alias as parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating,v.rating_count as rating_count,c.published,CASE WHEN badcats.id 为空 THEN c.published ELSE 0 END AS parents_published 从 myxolarg_content 作为左连接 myxolarg_content_frontpage 作为 fp ON fp.content_id = a.id LEFT JOIN myxolarg_categories AS c ON c.id = a.catid LEFT JOIN myxolarg_users AS ua ON ua.id = a.created_by LEFT 加入 myxolarg_users 作为 uam ON uam.id = a.modified_by 左加入 myxolarg_categories 作为父 ON parent.id = c.parent_id LEFT JOIN myxolarg_content_rating AS v ON a.id = v.content_id 左外连接 (SELECT cat.id as id FROM myxolarg_categories AS cat JOIN myxolarg_categories 作为 cat.lft 上的父级 在 parent.lft 和 parent.rgt WHERE parent.extension = 'com_content' AND parent.published != 1 GROUP BY cat.id ) 作为 badcats ON badcats.id = c.id WHERE a.access IN (1,1) AND c.access IN (1,1) AND CASE WHEN badcats.id 为 null THEN a.state ELSE 0 END = 1 AND (a.catid = 109 OR a.catid IN (SELECT sub.id FROM myxolarg_categories 作为 sub INNER JOIN myxolarg_categories 作为这个 ON sub.lft > this.lft AND sub.rgt = '2014-02-12 21:58:27') 由 c.lft 订购,CASE WHEN a.publish_up = 0 THEN a.created ELSE a.publish_up END DESC , a.created 限制 0、11
【问题讨论】:
-
登录PhpMyAdmin,选择
#__categories表并点击“修复”选项 -
已经试过了,可惜没用!
-
你现在用的是什么版本的mysql?
标签: joomla crash categories