Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] GroupJive 3.0.0 SQL error after upgrade

  • thomasmes
  • thomasmes
  • OFFLINE
  • Posts: 13
  • Thanks: 0
  • Karma: 0
8 years 10 months ago - 8 years 10 months ago #274946 by thomasmes
Hi,

I've upgraded GroupJive 2.7 on a CB 2.0.12 installation to GroupJive 3.0.0 but I get a SQL error when viewing my profile (e-mail address removed):

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 '' at line 19 SQL=SELECT COUNT( a.`id` ) FROM `abc_comprofiler_plugin_activity` AS a LEFT JOIN `abc_comprofiler_plugin_activity_hidden` AS b ON b.`type` = 'activity' AND b.`item` = a.`id` AND b.`user_id` = 123 LEFT JOIN `abc_comprofiler` AS c ON c.`id` = a.`user_id` LEFT JOIN `abc_users` AS d ON d.`id` = c.`id` LEFT JOIN `abc_comprofiler_members` AS e ON e.`pending` = 0 AND e.`accepted` = 1 AND e.`memberid` = a.`user_id` AND e.`referenceid` = 123 LEFT JOIN `abc_comprofiler_plugin_activity` AS f ON ( ( f.`type` = 'activity' AND f.`item` = a.`id` ) OR ( f.`type` = 'activity' AND a.`type` = 'activity' AND f.`item` = a.`item` ) ) AND f.`id` NOT IN (SELECT `item` FROM `abc_comprofiler_plugin_activity_hidden` WHERE `type` = 'activity' AND `item` = f.`id` AND `user_id` = 123) AND ( f.`user_id` = 123 OR e.`memberid` IS NOT NULL ) AND f.`date` > a.`date` LEFT JOIN `abc_groupjive_plugin_wall` AS gj_w ON a.`type` = 'groupjive' AND a.`subtype` = 'group.wall' AND a.`item` = gj_w.`id` LEFT JOIN `abc_groupjive_groups` AS gj_g ON a.`type` = 'groupjive' AND ( ( a.`subtype` = 'group' AND a.`item` = gj_g.`id` ) OR ( a.`subtype` != 'group' AND a.`parent` = gj_g.`id` ) ) LEFT JOIN `abc_groupjive_categories` AS gj_c ON gj_c.`id` = gj_g.`category` LEFT JOIN `abc_groupjive_users` AS gj_u ON gj_u.`user_id` = 123 AND gj_u.`group` = gj_g.`id` LEFT JOIN `abc_groupjive_invites` AS gj_i ON gj_i.`group` = gj_g.`id` AND gj_i.`accepted` = '0000-00-00 00:00:00' AND ( ( gj_i.`email` = '***' AND gj_i.`email` != "" ) OR ( gj_i.`user` = 123 AND gj_i.`user` > 0 ) ) WHERE b.`id` IS NULL AND f.`id` IS NULL AND c.`approved` = 1 AND c.`confirmed` = 1 AND d.`block` = 0 AND ( a.`user_id` = 123 OR e.`memberid` IS NOT NULL ) AND


Installing the nightly build of GJ didn't solve the problem. I removed GJ 3.0 and installed GJ 2.7 again to get back to normal.

Any ideas?
Last edit: 8 years 10 months ago by nant.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 10 months ago #274963 by nant
Replied by nant on topic GroupJive 3.0.0 SQL error after upgrade

thomasmes wrote: Hi,

I've upgraded GroupJive 2.7 on a CB 2.0.12 installation to GroupJive 3.0.0 but I get a SQL error when viewing my profile (e-mail address removed):

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 '' at line 19 SQL=SELECT COUNT( a.`id` ) FROM `abc_comprofiler_plugin_activity` AS a LEFT JOIN `abc_comprofiler_plugin_activity_hidden` AS b ON b.`type` = 'activity' AND b.`item` = a.`id` AND b.`user_id` = 123 LEFT JOIN `abc_comprofiler` AS c ON c.`id` = a.`user_id` LEFT JOIN `abc_users` AS d ON d.`id` = c.`id` LEFT JOIN `abc_comprofiler_members` AS e ON e.`pending` = 0 AND e.`accepted` = 1 AND e.`memberid` = a.`user_id` AND e.`referenceid` = 123 LEFT JOIN `abc_comprofiler_plugin_activity` AS f ON ( ( f.`type` = 'activity' AND f.`item` = a.`id` ) OR ( f.`type` = 'activity' AND a.`type` = 'activity' AND f.`item` = a.`item` ) ) AND f.`id` NOT IN (SELECT `item` FROM `abc_comprofiler_plugin_activity_hidden` WHERE `type` = 'activity' AND `item` = f.`id` AND `user_id` = 123) AND ( f.`user_id` = 123 OR e.`memberid` IS NOT NULL ) AND f.`date` > a.`date` LEFT JOIN `abc_groupjive_plugin_wall` AS gj_w ON a.`type` = 'groupjive' AND a.`subtype` = 'group.wall' AND a.`item` = gj_w.`id` LEFT JOIN `abc_groupjive_groups` AS gj_g ON a.`type` = 'groupjive' AND ( ( a.`subtype` = 'group' AND a.`item` = gj_g.`id` ) OR ( a.`subtype` != 'group' AND a.`parent` = gj_g.`id` ) ) LEFT JOIN `abc_groupjive_categories` AS gj_c ON gj_c.`id` = gj_g.`category` LEFT JOIN `abc_groupjive_users` AS gj_u ON gj_u.`user_id` = 123 AND gj_u.`group` = gj_g.`id` LEFT JOIN `abc_groupjive_invites` AS gj_i ON gj_i.`group` = gj_g.`id` AND gj_i.`accepted` = '0000-00-00 00:00:00' AND ( ( gj_i.`email` = '***' AND gj_i.`email` != "" ) OR ( gj_i.`user` = 123 AND gj_i.`user` > 0 ) ) WHERE b.`id` IS NULL AND f.`id` IS NULL AND c.`approved` = 1 AND c.`confirmed` = 1 AND d.`block` = 0 AND ( a.`user_id` = 123 OR e.`memberid` IS NOT NULL ) AND


Installing the nightly build of GJ didn't solve the problem. I removed GJ 3.0 and installed GJ 2.7 again to get back to normal.

Any ideas?


Upgrade to latest CB Activity and CB Auto Action nightly builds and then upgrade to GJ 3.0.
The following user(s) said Thank You: thomasmes

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

  • thomasmes
  • thomasmes
  • OFFLINE
  • Posts: 13
  • Thanks: 0
  • Karma: 0
8 years 10 months ago #274989 by thomasmes
Replied by thomasmes on topic GroupJive 3.0.0 SQL error after upgrade
Thanks. This worked.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 10 months ago #274990 by nant
Replied by nant on topic GroupJive 3.0.0 SQL error after upgrade

thomasmes wrote: Thanks. This worked.


Great!

Marking as solved.
If you have any other issue please start new thread.

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

Moderators: beatnantkrileon
Powered by Kunena Forum