Hi, I would apreciate if you could help me with this issue:
I activated the "frontpage" sample that comes with the module and the first time I loaded it worked like a charm, but then I tried to create a rule (Rules module, 7.x-2.0) and since then I get the following error:
Error 310 (net::ERR_TOO_MANY_REDIRECTS)
I deleted the rule and still get the same message, and tried to create a similar view that selects the latest published content, but I couldn't access it even once.
I have uninstaled the Rules module, and the error keeps showing. Any ideas of what it's causing it and if it IS related to views?
If you need more info please let me know.
Thanks for your help.
Comments
Comment #1
merlinofchaos commentedViews has nothing that performs a redirect, so my guess is something else is trying to do a redirect but I can't imagine what. :(
Comment #2
dawehnerLet's move to rules.
You should probably export your configuration.
Comment #3
fagoWhat was your rule?
Comment #4
gabirgb commentedWhat I'm trying to do is that when a registered user visits node/10 gets redirected to "home-es" (that is the alias for a Page View).
This is my export:
*************************************************
{ "rules_redireccion_a_homepage" : {
"LABEL" : "Redireccion a Homepage",
"PLUGIN" : "reaction rule",
"REQUIRES" : [ "rules" ],
"ON" : [ "node_view" ],
"IF" : [
{ "user_has_role" : {
"account" : [ "site:current-user" ],
"roles" : { "value" : { "2" : "2", "3" : "3" } },
"operation" : "OR"
}
},
{ "data_is" : { "data" : [ "node:nid" ], "value" : "10" } }
],
"DO" : [ { "redirect" : { "url" : "home-es" } } ]
}
}
*************************************************
This is the evaluation log:
0 ms Reacting on event Content is viewed.
8.401 ms Evaluating conditions of rule Redireccion a Homepage. [edit]
11.036 ms The condition user_has_role evaluated to TRUE [edit]
12.759 ms The condition data_is evaluated to TRUE [edit]
12.775 ms AND evaluated to TRUE.
0 ms Rule Redireccion a Homepage fires.
0.323 ms Evaluating the action redirect. [edit]
1.405 ms Rule Redireccion a Homepage has fired.
14.253 ms Finished reacting on event Content is viewed.
Comment #5
gabirgb commentedAny suggestions? I really need this to work, if you could give me a hint of what's going on with this rule I'll try to solve it.. Thanks for your help.
Comment #6
gabirgb commentedComment #7
mitchell commentedYou need to fix your conditions. Spend some time reading the handbook, watching the nodeone video series, and/or searching the issue queue to learn how to configure rules.
If you need more help, please reopen this issue with your latest efforts.