Database Error after installing related items extended

Hi ,

I just installed the related items extended module.

But the extension is not working. I get this error. What could this mean?

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 ') AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2015-07-20 12:18' at line 11 SQL=SELECT a.id,a.title,a.introtext,a.images,a.metakey,DATE_FORMAT(a.created, "%Y-%m-%d") as created,a.catid,cc.title as category_title,cc.access AS cat_access,cc.published AS cat_state, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(':', cc.id, cc.alias) ELSE cc.id END as catslug,u.name AS author,contact.id as contactid FROM jos_content AS a LEFT JOIN jos_content_frontpage AS f ON f.content_id = a.id LEFT JOIN jos_categories AS cc ON cc.id = a.catid LEFT JOIN jos_users AS u on u.id = a.created_by LEFT JOIN ( SELECT contact.user_id, MAX(contact.id) AS id, contact.language FROM jos_contact_details AS contact WHERE contact.published = 1 GROUP BY contact.user_id, contact.language) AS contact ON contact.user_id = a.created_by WHERE a.id != 109 AND a.state = 1 AND a.access IN (1,1,5) AND (CONCAT(",", REPLACE(a.metakey, ", ", ","), ",") LIKE "%nijmegen%" OR CONCAT(",", REPLACE(a.metakey, ", ", ","), ",") LIKE "%bouwplannen%" OR CONCAT(",", REPLACE(a.metakey, ", ", ","), ",") LIKE "%bouwen%") AND cc.id in () AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2015-07-20 12:18:37') AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2015-07-20 12:18:37') AND ( (TO_DAYS('2015-07-20') - TO_DAYS(a.created) ) <= '1200') ORDER BY a.created DESC LIMIT 0, 5
9 years 9 months ago #1 by stefan

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
Hi, hmm strange it should be already fixed in the latest version. Can you tell me what Joomla version you use? Is it Joomla 3.x or 2.5x? Also can you check what related item module version do you use?
Can you try to use the attached version below?
9 years 9 months ago #2 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Hi,

I tried the package that you send but still have the same issue..... What can be done?
I use Joomla 3.4.3

I used the latest version I guess because I bought the package this week.

Any idea's?

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 ') AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2015-07-21 13:51' at line 11 SQL=SELECT a.id,a.title,a.introtext,a.images,a.metakey,DATE_FORMAT(a.created, "%Y-%m-%d") as created,a.catid,cc.title as category_title,cc.access AS cat_access,cc.published AS cat_state, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug, CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(':', cc.id, cc.alias) ELSE cc.id END as catslug,u.name AS author,contact.id as contactid FROM jos_content AS a LEFT JOIN jos_content_frontpage AS f ON f.content_id = a.id LEFT JOIN jos_categories AS cc ON cc.id = a.catid LEFT JOIN jos_users AS u on u.id = a.created_by LEFT JOIN ( SELECT contact.user_id, MAX(contact.id) AS id, contact.language FROM jos_contact_details AS contact WHERE contact.published = 1 GROUP BY contact.user_id, contact.language) AS contact ON contact.user_id = a.created_by WHERE a.id != 109 AND a.state = 1 AND a.access IN (1,1,5) AND (CONCAT(",", REPLACE(a.metakey, ", ", ","), ",") LIKE "%nijmegen%" OR CONCAT(",", REPLACE(a.metakey, ", ", ","), ",") LIKE "%bouwplannen%" OR CONCAT(",", REPLACE(a.metakey, ", ", ","), ",") LIKE "%bouwen%") AND cc.id in () AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2015-07-21 13:51:13') AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2015-07-21 13:51:13') AND ( (TO_DAYS('2015-07-21') - TO_DAYS(a.created) ) <= '1200') ORDER BY a.created DESC LIMIT 0, 5
9 years 9 months ago #3 by stefan

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
The latest version of related items xtd module is released 5 days ago. To make it sure, could you try to redownload and reinstall the module again?
9 years 9 months ago #4 by TemplatePlazza

Please Log in or Create an account to join the conversation.

I bought and installed it monday ... that is less then 5 days ago.

Do you have another solution for this problem? As I also paid for this module..

What kind of support is given to paid extensions?
9 years 9 months ago #5 by stefan

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
Hmm ok. Is it possible for you to provide temporary administrator access to your website so I can check and try to fix it ?because I'm still unable to replicate the problem at my end (please see www.dropbox.com/s/we3kgpdwmvolazh/rlecheck.mp4?dl=0 )
If it's possible you can enter the details using the "You Site Details" tab below. Only support team who are able to see that.
9 years 9 months ago #6 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum