Been running 5.x-1.2 & it has been working fine on Drupal 5.7 & 5.9. I turned it off, deleted the directory and then uploaded the new GR 5.x-1.3-1 and by doing so, GlobalRedirect sends me into an infinite loop. I ran update.php and it looks like it ran a single SQL query but still I get an infinite loop. If I delete 5.x-1.3-1 & re-add 5.x-1.2 it works. So I'm not sure what is different or why it can't work. Any ideas?
Comments
Comment #1
nicholasthompsonDo you have i18n installed/enabled?
Comment #2
JeremyL commentedNo, do I need to install it?
Comment #3
lomz commentedsame problem with d6, no i18n.
Comment #4
AdrianB commentedI can confirm this as well. On two different Drupal installations, one 5.9 and one 5.10, Global Redirect 5.x-1.3-1 does not work at all.
Reading this issues I tried to downgrade. First to 5.x-1.3 but it still did not work. Then I downgraded to 5.x-1.2 and that works just fine! So there's definitely something in 5.x-1.3 that breaks Global Redirect for me.
I only downgraded on the test site so far. Before I downgrade to 5.x-1.2 on the live site I would like to know if that may have any bad side effects, is there?
Comment #5
JeremyL commentedStatus says need more info so I'll give more here.
Verified on 5.9 & 5.10 & both work well with 1.2 version
IIS 6
PHP Version 5.2.4 (Zend Version)
MySQL Version 5.0.51a
I have attached a screenshot of the modules I have installed and live.
Comment #6
sunCould all of you please elaborate a bit further? On which paths does GR "not work"? Where do you get infinite loops? Did you try to disable (perhaps all) other contrib modules? Did you also test with a clean & fresh Drupal site?
Comment #7
keff commentedHi, I get this as well - on every page that is not homepage I get (in FF3) 'redirect loop - too many redirects'.
I debugged it with XDebug, and found out that browser requested rss.xml ( localhost/site/rss.xml ). The critical section is this:
conditions:
code:
So, pseudocode is like this:
I have no idea why is this whole if statement included - I have never used drupal to make multilingual site, but it seems to me that there should be a lot exceptions to prefixing - rss.xml is one of them, but we don't want site.com/file.jpg to be prefixed either... (?)
Anyway, I commented out this block and everything worked just like with previous version for me...
Comment #8
keff commentedHmm, I still have some problems - for example, after removing that if statement, I get blank page instead of redirection, for example after logging in from site.com/user...
Will return to previous version for now, but I would mark this version as dev build, definitely not as recommended...
Comment #9
nicholasthompsonIs -dev any better at the moment?
Comment #10
pips1 commentedI see same problem with global_redirect 6.x-1.0 on a virtually fresh Drupal 6.4 install [1], i.e. I get the error 'redirect loop - too many redirects' in Firefox 3 on every existing path except the homepage (/node).
[1] My setup:
Comment #11
pips1 commentedOk, I tried in a Drupal 6.4 core only install [1], and I still get 'redirect loop' on all urls except for /node.
Should I open a separate issue for the 6.x branch?
[1] That is, I disabled all my contrib modules (i.e. views and advanced help) and tried with enabling only global_redirect.
Oh, forgot to mention: my setup is a multisite Drupal install, in case that matters.
Comment #12
nicholasthompsonMultisite shouldn't matter... Could you test out the dev branch please?
Comment #13
pips1 commentedHi Nicholas,
I just tested globalredirect-6.x-1.x-dev and indeed, that version works just fine, for all aliased paths that I checked (I use the pathauto module). :-)
Nice one! Thanks for your great work!
BTW, I could *not* reproduce the infinite loops problem for globalredirect-5.x-1.3-1 on a drupal 5.10 (multisite) test installation.
Comment #14
nicholasthompsonI dont understand what was causing the infinite redirects... Glad its fixed though ;-)
Comment #15
nicholasthompsonMarking as fixed - any infinite look problems in 6 are fixed in dev, released to 1.1 soon. Any issues with 5.x-1.3.1 should be fixed in 1.4 soon.
Comment #17
JeremyL commentedI have tried bot the current & dev versions of 6.x and both are still doing infinite redirects for me.
What was the last version to work properly with Drupal 6.x?