Closed (fixed)
Project:
Organic Groups
Version:
5.x-1.0
Component:
og.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2007 at 17:27 UTC
Updated:
28 Apr 2008 at 03:06 UTC
Editing a group object (the home page object) gives "Invalid 0". All data is updated apart from any changes in Author Group.
Comments
Comment #1
edex13 commentedi also having the same problem. is there any patch?
Comment #2
csc4 commentedSame problem here.
Have you guys got og_subgroups installed as well? I'm not sure whether I've always had this problem or if it started after I installed og_subgroups?
Comment #3
csc4 commentedBump
Anyone got any ideas on this please?
Comment #4
moshe weitzman commentedplease disable all contrib modules and see if it still happens.
Comment #5
najibx commentedSolved for me.
disabling all modules is not an option for me, as there are to many. In my case, it is the OG_galleries. The problem solved after I finish configured it i.e create view for OG galleries (u can use the default og_galleries view).
og_subgroups has no effect on me. Complete disabled (delete in system table, etc) problem still exist. Maybe because u have no sub groups in that particular group, which causes this ...?
Comment #6
moshe weitzman commentedplease reopen when soemone isolates the problem to just og.module. until then, i assume some other module is conflicting.
Comment #7
kpm commentedI think this is somehow related to the Sub Groups and to the menu settings on the OG edit page for a group. What I found is that if I created a group that did not have a subgroup, then edit it (or not even make a change, but click submit) then the "invalid 0" would appear at the top, though it didn't appear to have any impact on things. What did have an impact was if I created a menu for the groups, I added a menu item to the primarly links called 'studios' and then started adding groups as I created them as children to 'studios' menu item. But I noticed one of the menu items (depending on where or when they were created) would break the display of the page and show a couple extra links that should only display when the edit button was selected. So, after creating a new group, the top of the page, using the default theme, would list the following links:
So that is how it would look if I did not use the menu settings on the OG Group creation page to create a menu in Primary Links > Studios > GroupNameOne.
If I did use the menu item on the OG Group creation page to create a menu in Primary Links > Studios > GroupNameTwo, then one of the groups would display with the following links across the top of the page:
The menu items go right off the page, break the styles, and generally don't behave (in both latest versions of Firefox and IE). If I delete the menu item, then recreate it using the menu's admin page, it seems to work.
Not sure if these items are related or not, I am just experiencing both.
Thanks
Comment #8
LanceLight commentedI think I've figured out this error. It comes from the og_galleries module but I have no clue why it happens. Heres what I found with grep:
og_galleries/og_galleries.module: drupal_set_message(t('Invalid %vid', array('%vid' => $vid)), 'error');
Whenever I modify the edit node form when the type is a group, I get this error but it seems to affect nothing. To fix it, I simply commented it out in the og_galleries.module file since it doesnt seem to affect anything anyways.