-
AuthorPosts
-
September 4, 2013 at 2:42 am #190271
So every once in a while, the site will get to where I can’t edit article with it throwing up a
500 – An error has occurred.
Missing field in the database: JTableContent id. Missing field in the database: JTableContent id.
Then when I try to look at the front end of the website I see the following error I took a screenshot of
Since the text is cut off, I copied it here in case it helps…
It reads…
“Got error -1 from storage engine 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 as modified, a.modified_by, uam.name as modified_by_name,CASE WHEN a.publish_up = 0 THEN a.created ELSE a.publish_up END as 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 is not null 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 srbd2_contact_details AS contact WHERE contact.published = 1 AND contact.user_id = a.created_by) as contactid,parent.title as parent_title, parent.id as parent_id, parent.path as 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 is null THEN c.published ELSE 0 END AS parents_published FROM srbd2_content AS a LEFT JOIN srbd2_categories AS c ON c.id = a.catid LEFT JOIN srbd2_users AS ua ON ua.id = a.created_by LEFT JOIN srbd2_users AS uam ON uam.id = a.modified_by LEFT JOIN srbd2_categories as parent ON parent.id = c.parent_id LEFT JOIN srbd2_content_rating AS v ON a.id = v.content_id LEFT OUTER JOIN (SELECT cat.id as id FROM srbd2_categories AS cat JOIN srbd2_categories AS parent ON cat.lft BETWEEN parent.lft AND parent.rgt WHERE parent.extension = ‘com_content’ AND parent.published != 1 GROUP BY cat.id ) AS badcats ON badcats.id = c.id INNER JOIN srbd2_content_frontpage AS fp ON fp.content_id = a.id WHERE a.access IN (1,1) AND c.access IN (1,1) AND CASE WHEN badcats.id is null THEN a.state ELSE 0 END = 1 AND (a.publish_up = ‘0000-00-00 00:00:00’ OR a.publish_up <= ‘2013-09-04 02:36:25’) AND (a.publish_down = ‘0000-00-00 00:00:00’ OR a.publish_down >= ‘2013-09-04 02:36:25’) AND a.catid IN (78,86,87,88,89,96,97,98,99,100,107,108,102,103,104,105,106,109,110,111,112,113) ORDER BY a.featured DESC, fp.ordering, a.created DESC LIMIT 0, 23 Got error -1 from storage engine 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 as modified, a.modified_by, uam.name as modified_by_name,CASE WHEN a.publish_up = 0 THEN a.created ELSE a.publish_up END as 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 is not null 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 srbd2_contact_details AS contact WHERE contact.published = 1 AND contact.user_id = a.created_by) as contactid,parent.title as parent_title, parent.id as parent_id, parent.path as 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 is null THEN c.published ELSE 0 END AS parents_published FROM srbd2_content AS a LEFT JOIN srbd2_categories AS c ON c.id = a.catid LEFT JOIN srbd2_users AS ua ON ua.id = a.created_by LEFT JOIN srbd2_users AS uam ON uam.id = a.modified_by LEFT JOIN srbd2_categories as parent ON parent.id = c.parent_id LEFT JOIN srbd2_content_rating AS v ON a.id = v.content_id LEFT OUTER JOIN (SELECT cat.id as id FROM srbd2_categories AS cat JOIN srbd2_categories AS parent ON cat.lft BETWEEN parent.lft AND parent.rgt WHERE parent.extension = ‘com_content’ AND parent.published != 1 GROUP BY cat.id ) AS badcats ON badcats.id = c.id INNER JOIN srbd2_content_frontpage AS fp ON fp.content_id = a.id WHERE a.access IN (1,1) AND c.access IN (1,1) AND CASE WHEN badcats.id is null THEN a.state ELSE 0 END = 1 AND (a.publish_up = ‘0000-00-00 00:00:00’ OR a.publish_up <= ‘2013-09-04 02:36:25’) AND (a.publish_down = ‘0000-00-00 00:00:00’ OR a.publish_down >= ‘2013-09-04 02:36:25’) AND a.catid IN (78,86,87,88,89,96,97,98,99,100,107,108,102,103,104,105,106,109,110,111,112,113) ORDER BY a.featured DESC, fp.ordering, a.created DESC”
I can usually get it back by using Akeeba Admin Tools’ various options, but a couple times I have had to restore from backup. Also, it happens sometimes when I haven’t even used the admin part of the site.
Any ideas what this is or how I can avoid it/fix it?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 5, 2013 at 9:51 am #504685This is the first time I’ve seen this problem on JA Fixel Template, let me know how I can reproduce this problem? I will shall check it for you.
September 5, 2013 at 6:27 pm #504753I will make note of what I do to get it and then let you know. I actually got it again last night as I was creating new categories. Odd thing is that it seems to work itself out. I go to Akeeba Admin tools and fix permissions, although I’m not sure if that helps. Because the error still shows up on the page for about 5 minutes and then goes away.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 6, 2013 at 7:52 am #504833If possible you can pm me URL of your site and admin access. I shall check it for you.
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 2 voices, and was last updated by Ninja Lead 11 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
I get this error often, and I don’t know why.
Viewing 4 posts - 1 through 4 (of 4 total)