Hi!
I have, before installing spaces, used OG. The problem I've encountered is that I can't open/visit the previously created groups. I receive a 310 error: (net::ERR_TOO_MANY_REDIRECTS). This is not a problem with the groups I created after installing spaces. The problem goes away when I disable the Spaces OG module.

Comments

seanr’s picture

dmitrig01’s picture

Priority: Normal » Critical
yhahn’s picture

Assigned: Unassigned » yhahn
Status: Active » Fixed

Sorry for the long wait. There will be more related cleanup work from the Spaces side of things, but this commit should provide an immediate fix for infinite redirects:

http://drupal.org/cvs?commit=234004

You'll need to checkout CVS of PURL currently to get this -- I'll make sure there's a new beta tag sometime this week.

jaxpax’s picture

Great. I just went back the other day to address my needs and the vast world of spaces seems to be the only sane solution, so this fix came just in the nick of time. =)
Thanks allot.

/Patrik

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

BetaTheta’s picture

I was wondering if this issue has been fixed in the latest release of spaces? I'm still getting an infinite loop error (even with new groups):

Error Message:

Redirect Loop
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

yosisays’s picture

Has this been fixed yet? I'm getting the error with the latest version. I recently moved my site from my localhost to a server and I now find that when I attempt to access a group page I get the following error message:

The webpage at http://sitename.com/og_name/node/2 has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
Here are some suggestions:
• Reload this web page later.
• Learn more about this problem.
More information on this error:

Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

I then tried to create a new group to see what would happen and after submitting the group creation form I get the same error. I even tried uninstalling the OG module and reinstalling it but got no where. It only worked after i uninstalled the spaces OG module Any ideas what the problem is and how to fix it?

Nigel Cunningham’s picture

Version: 6.x-2.0-alpha3 » 6.x-3.0
Status: Closed (fixed) » Active

I get the same issue with Spaces 6.x-3.0. I've tried disabling lots of other OG addon modules but nothing but re-disabling Spaces OG makes a difference so far. Very frustrating!

(I would open a fresh bug, but the previous reports might be relevant too. Since they refer to 'the latest version', I'll update the version tag to 3.0).

Nigel Cunningham’s picture

I've managed to set up Eclipse properly (at last!), and got the following (repeating) call stack:

(most recent invocations first)
sites/all/modules/spaces/spaces_og/plugins/space_og.inc.space_og->activate : lineno 22
sites/all/modules/spaces/spaces_og/plugins/space_og.inc.space_og->router : lineno 137
sites/all/modules/spaces/spaces.module.spaces_router : lineno 387
sites/all/modules/spaces/spaces.module.spaces_menu_access : lineno 698
includes/menu.inc.call_user_func_array : lineno 0
includes/menu.inc._menu_check_access : lineno 452
includes/menu.inc._menu_translate : lineno 581
includes/menu.inc.menu_get_item : lineno 316
includes/menu.inc.menu_get_object : lineno 701
sites/all/modules/og/og.module.og_set_group_context : lineno 729
sites/all/modules/spaces/spaces_og/plugins/space_og.inc.space_og->activate : lineno 22

NaX’s picture

Version: 6.x-3.0 » 6.x-3.1

I just ran into this issue running the latest dev version of OG and I think it is related #998642: Don't run og_set_language() when viewing a node with a different language patch where og_set_group_context() now calls menu_get_object() and this causes a continues loop. I dont know if OG is using menu_get_object() incorrectly or if spaces_menu_access() needs to be addapted. I am going to try and fall back to OG 6.x-2.1 and see if that works.

NaX’s picture

Looking at the api docs page for menu_get_object() it looks like OG is using this funtion incorrectly, but I dont know the menu system well enough to say.

Note - this function should never be called within a _to_arg function (like user_current_to_arg()) since this may result in an infinite recursion.

seandm’s picture

So i am wondering if somebody could tell me how to stop the looping problem on a content type group content when logged in as a part of the group related to the group content.