in home
Database query failed (error # %s): %s SQL=SELECT "m"."tag_id","m"."core_content_id","m"."content_item_id","m"."type_alias",COUNT( "tag_id") AS "count","t"."access","t"."id","ct"."router","cc"."core_title","cc"."core_alias","cc"."core_catid","cc"."core_language" FROM "ixobg_contentitem_tag_map" AS "m" INNER JOIN "ixobg_tags" AS "t" ON m.tag_id = t.id INNER JOIN "ixobg_ucm_content" AS "cc" ON m.core_content_id = cc.core_content_id INNER JOIN "ixobg_content_types" AS "ct" ON m.type_alias = ct.type_alias WHERE "m"."tag_id" IN (2,3,4,5) AND t.access IN (1,1) AND (cc.core_access IN (1,1) OR cc.core_access = 0) AND ("m"."content_item_id" <> 24 OR "m"."type_alias" <> 'com_content.article') AND "cc"."core_state" = 1 GROUP BY "m"."core_content_id" ORDER BY "count" DESC LIMIT 5
in sample sites -> content modules
Database query failed (error # %s): %s SQL=SELECT EXTRACT (MONTH FROM "created") AS created_month,created, id, title,EXTRACT (YEAR FROM "created") AS created_year FROM ixobg_content WHERE state = 2 AND checked_out = 0 GROUP BY created_year DESC, created_month DESC LIMIT 10
in sample sites -> archive
Database query failed (error # %s): %s SQL=SELECT EXTRACT (MONTH FROM "created") AS created_month,created, id, title,EXTRACT (YEAR FROM "created") AS created_year FROM ixobg_content WHERE state = 2 AND checked_out = 0 GROUP BY created_year DESC, created_month DESC LIMIT 10
in sample sites -> related items
Database query failed (error # %s): %s SQL=SELECT a.id,a.title,DATE_FORMAT(a.created, "%Y-%m-%d") as created,a.catid,cc.access AS cat_access,cc.published AS cat_state, CASE WHEN CHAR_LENGTH(a.alias) != 0 THEN a.id::text || ':' || a.alias ELSE a.id::text END as slug, CASE WHEN CHAR_LENGTH(cc.alias) != 0 THEN cc.id::text || ':' || cc.alias ELSE cc.id::text END as catslug FROM ixobg_content AS a LEFT JOIN ixobg_content_frontpage AS f ON f.content_id = a.id LEFT JOIN ixobg_categories AS cc ON cc.id = a.catid WHERE a.id != 37 AND a.state = 1 AND a.access IN (1,1) AND ("," || REPLACE(a.metakey, ", ", ",") || "," LIKE "%modules%" OR "," || REPLACE(a.metakey, ", ", ",") || "," LIKE "%content%") AND (a.publish_up = '1970-01-01 00:00:00' OR a.publish_up <= '2014-10-16 10:43:18') AND (a.publish_down = '1970-01-01 00:00:00' OR a.publish_down >= '2014-10-16 10:43:18') LIMIT 5
Labels |
Added:
?
|
Thanks guys! If you know the fix, here's a really easy way to submit it:
http://docs.joomla.org/Using_the_Github_UI_to_Make_Pull_Requests
So if the test sample data where removed as proposed here - http://issues.joomla.org/tracker/joomla-cms/4213 - no fix is needed.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4693.
LOL - yes I guess that is one fix
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4693.
i think the problem isn't test data, but how the sql statement is made
Status | New | ⇒ | Confirmed |
I retested this one with the current staging branch and it got a lot better. I could find only one instance in the "All Modules" Menu under "Related Items" that gives the following sql error: 0 Database query failed (error # %s): %s SQL=SELECT a.id,a.title,DATE_FORMAT(a.created, "%Y-%m-%d") as created,a.catid,cc.access AS cat_access,cc.published AS cat_state, CASE WHEN CHAR_LENGTH(a.alias) != 0 THEN a.id::text || ':' || a.alias ELSE a.id::text END as slug, CASE WHEN CHAR_LENGTH(cc.alias) != 0 THEN cc.id::text || ':' || cc.alias ELSE cc.id::text END as catslug FROM xwpay_content AS a LEFT JOIN xwpay_content_frontpage AS f ON f.content_id = a.id LEFT JOIN xwpay_categories AS cc ON cc.id = a.catid WHERE a.id != 37 AND a.state = 1 AND a.access IN (1,1) AND ("," || REPLACE(a.metakey, ", ", ",") || "," LIKE "%modules%" OR "," || REPLACE(a.metakey, ", ", ",") || "," LIKE "%content%") AND (a.publish_up = '1970-01-01 00:00:00' OR a.publish_up <= '2014-10-23 18:02:33') AND (a.publish_down = '1970-01-01 00:00:00' OR a.publish_down >= '2014-10-23 18:02:33') LIMIT 5
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4693.
#5243 should fix
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4693.
Status | Confirmed | ⇒ | Closed |
Rel_Number | ⇒ | 5243 | |
Relation Type | ⇒ | Related to |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-11-29 10:05:26 |
Labels |
Added:
?
|
@test
I can confirm this bug.