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

Using D6.12 and default agreement settings.

Comments

yuriy.babenko’s picture

Assigned: Unassigned » yuriy.babenko

Thanks, will investigate.

yuriy.babenko’s picture

Status: Active » Postponed (maintainer needs more info)

Is anyone else experiencing this issue? I can't seem to duplicate the problem...

yuriy.babenko’s picture

Actually, I think I found how this may have happened for you. Will release a fix soon.

yuriy.babenko’s picture

Following up: I thought I may have found the issue, but I did not. Still unable to reproduce.

cyoong87’s picture

I was able to reproduce it.

1) Let "Enforceable Pages" textarea be empty
2) Set "User Role" to "anonymous user"
3) Then save it and logout.

cyoong87’s picture

Version: 6.x-1.x-dev » 6.x-1.1
GDI’s picture

I have the same problem on localhost (I`m work with Denwer on Windows XP SP3). I just set "User Role" to "anonymous user" and leave all textareas empty and I don`t change all other settings. as FireFox as IE8 dont open home page if I enter as anonymous user. I am using Agreement 6.x-1.1 version.

GDI’s picture

I have some additional information.
I created new node, then add url(node/1) in field "Enforceable Pages:" and I add some text in "Agreement text" field. Now I haven`t "Infinity loop" error, but if I going to "node/1" url, I having redirection to the home page. Agreement text is not showing to me in this case.

GDI’s picture

Next iteration.
If I set "User Role" to "registered user" (all other settings as default) and module is work without "infinity loop error". But in this case the agreement page is showing to user after his registering and after logon. The agreement is showing on all pages on home page too (I am using "node" for front page).
I want to show agreement on the registration page before the user will be registered. Is it possible?

GDI’s picture

I think I found how to solve this problem.
In agreement.module file:
search the line 44
variable_get('site_frontpage', ''),
and replace it with
variable_get('site_frontpage', 'node'),

yuriy.babenko’s picture

Hi guys,

Thanks for all the feedback.

cyoong87, I followed your steps in #5, but was still not able to reproduce the issue. Could you tell me what browser you're using?

GDI, the latest version of Agreement (1.2) is updated to include the change you mentioned in #10 - thanks. It's not a critical change, as redirecting to '' will load the Drupal homepage (which is 'node' by default anyways), but explicitly specifying 'node' should be a tiny bit faster.

Let me know if you're still experiencing redirection issues.

pagaille’s picture

Status: Postponed (maintainer needs more info) » Fixed

The agreement module no longer allows the user role to be set to anonymous.

Status: Fixed » Closed (fixed)

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