Hello,

After updating my Commons web site to 2.0. I checked all the site and functionnalities and just found one big issue.
When I want to see a group page the page don't load and arrive blank. I can see groups in the home page group and in all the block that provide information on group but each group page is white.

Also when I create a new group I've the following error:
"Fatal error: Call to undefined function og_subgroups_include() in D:\apachewww\actit_v2\profiles\drupal_commons\modules\contrib\og_subgroups\modules\og_subgroups_prop\og_subgroups_prop.module on line 85"
But the group is created (with the blank page of course)

This is a big issue for us because without this we can't migrate our actual web site to the 2.0 version.

Thanks

Comments

ezra-g’s picture

Title: group pages » PHP errors creating, viewing groups
Status: Active » Postponed (maintainer needs more info)

Sorry to hear you're having issues and thanks for this bug report.

When you get the white screen viewing a group homepage, is there any error in your PHP error log?

What version of Commons are you upgrading from?

FrancoisL’s picture

hello, thank for your quick reply :).

I'm upgrading from Commons 1.4

Here seems to be the error:
http://frlulblog:81/actit_v2/group/saac
Message 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 'ARRAY JOIN og_subgroups og_subgroups ON node.Array = og_subgroups.Array LEFT JO' at line 16 query: SELECT DISTINCT(node.nid) AS nid, node_data_field_group_image.field_group_image_fid AS node_data_field_group_image_field_group_image_fid, node_data_field_group_image.field_group_image_list AS node_data_field_group_image_field_group_image_list, node_data_field_group_image.field_group_image_data AS node_data_field_group_image_field_group_image_data, node.type AS node_type, node.vid AS node_vid, node.title AS node_title, og.og_description AS og_og_description, og.og_selective AS og_og_selective, og_uid.uid AS og_uid_uid, og_uid.nid AS og_uid_nid, node.uid AS node_uid, og_statistics.posts_count AS og_statistics_posts_count FROM node node LEFT JOIN og og ON node.nid = og.nid ARRAY JOIN og_subgroups og_subgroups ON node.Array = og_subgroups.Array LEFT JOIN content_type_group node_data_field_group_image ON node.vid = node_data_field_group_image.vid LEFT JOIN og_uid og_uid ON node.nid = og_uid.nid LEFT JOIN og_statistics og_statistics ON node.nid = og_statistics.nid WHERE (node.status <> 0) AND (node.type IN ('group')) AND (og.og_directory <> 0) AND (og_subgroups.parent IS NULL) GROUP BY nid ORDER BY og_statistics_posts_count DESC LIMIT 0, 10 in D:\apachewww\actit_v2\profiles\drupal_commons\modules\contrib\views\includes\view.inc on line 772

I finally succeed in reborn my groups by activating one or two module but I'v no more last content (activity message) published on the home page of each group. i think I have another action to do for this but I'm a little bit lost. Is it the activity stream that I have to set up for all groups?

FrancoisL’s picture

ok I reply to myself.

I just had to regenerate the Activity log. it's work for now.

Last error I have is when I create a group. The group is created but with this error first:
Fatal error: Call to undefined function og_subgroups_include() in D:\apachewww\actit_v2\profiles\drupal_commons\modules\contrib\og_subgroups\modules\og_subgroups_prop\og_subgroups_prop.module on line 85

Thanks

japerry’s picture

Version: » 6.x-2.x-dev
Status: Postponed (maintainer needs more info) » Closed (won't fix)

In all likelihood, this issue was fixed in a later version, but since Since we only support 6.x-2.12 and 7.x-3.x, marking this as won't fix. Feel free to re-open if you find this to be in error