In the configuration setting I have only ticked "Provide a 'set members' form element".

In "Group"s edit/children appears "SubGroup" and is ticked, making "SubGroup" a child of "Group".

When I go to the "SubGroup"s edit/children page, "Group", its parent appears . When this is ticked (which is possible!), error 500 appears.

The only way I could recover from this error was by manually deleting the record in the og_ancestry table.

Kind regards,

jph

CommentFileSizeAuthor
#4 edit-children.PNG75.39 KBjippie1948
#2 status.PNG26.08 KBjippie1948

Comments

ezra-g’s picture

Title: Making the parent a child of its child crashes the database » Possible 500 Errors
Priority: Critical » Minor

Could you please provide the following information about your issue?

-A screenshot of your og_subgroups configuration page
-Any PHP\Apache errors from your error logs
-The name of your web host
-Your apache\php\mysql versions
-Your og.module version
-The steps necessary to reproduce the error

Site 500 errors are not database errors, and it seems likely that your error has to do with your webserver configuration.

jippie1948’s picture

StatusFileSize
new26.08 KB

I installed Subgroups and Workflow + Workflow Access and OG User roles. As this combination doesn't seem to work, I submitted a bug report + a SQL dump from the test database. Most of your questions can be answered with that test database, I suppose. http://drupal.org/node/159146

ISP is 1and1.co.uk

To reproduce the error in the testdatabase:
go to the "SubGroup"s edit/children page, and tick "Group" to make it the child of the SubGroup.

I hope this info proves to be useful to you.

JP

ezra-g’s picture

I'm not sure what you mean by "go to the "SubGroup"s edit/children page, and tick "Group" to make it the child of the SubGroup."

Could you please attach a screenshot of your og subgroups configuration page, not your Drupal status page?

jippie1948’s picture

StatusFileSize
new75.39 KB

Hi,

I have attached a screenshot of the OG_Subgroups setting plus the "SubGroup"s edit/children page,

If you would install the test database you can see also the settings of the Workflow + Access and OG_User_Roles modules.

Success!

JP

jippie1948’s picture

Hi,

Finally I got a script working logging the error messages on the server. When I tried to make the parent "group" of "Subgroup", also a child of "Subgroup" the site crashed as I mentioned before.

There was no PHP error message of Drupal itself, but the server reported:

"16 Jul 2007 18:54:26","/homepages/28/d41073845/htdocs/drupal/includes/session.inc:
77","(Notice) Undefined property: cache"

I hope this information proves to be useful to you.

All the best.

JP

ezra-g’s picture

Status: Active » Closed (fixed)

Closing this issue since 500 errors\infinite loops can't be reproduced by making redundant group relationships. Feel free to re-open with more information.