This issue has been extracted from this unrelated issue.

When I select the Next link or the pager drop-down on a node: /example it send my browser into an infinite loop when redirected to /example/page/0/1 and any other /page/0/x path.

I also changed page to part which made no difference.

Comments

andrewsuth’s picture

Title: Infinite loop when redirected to /example/page/0/1 » Conflict with Global Redirect: infinite loop when redirected to /example/page/0/1
Priority: Major » Normal

Updated title.

andrewsuth’s picture

Status: Active » Postponed

There are quite a few posts in Global Redirects about this issue which have not yet been resolved as yet:

#346911: Redirect Loop and custom_url_rewrite ignored
#1034126: Infinite loop (error 310) with i18n in D7

When they're resolved, we'll see if it fixes the issue.

Setting this issue to "Postponed" in the mean-time.

arpeggio’s picture

I see you are using Global Redirect. I have tried that module with my site and it does not work as expected. It just creating an infinite loop.

andrewsuth’s picture

Exactly, there seems to be a conflict with Global Redirect.

Modules that use inbound and outbound seem to cause problems with Global Redirect at the moment. I think it's probably an issue with Global Redirect, as I outlined in #2.

AniaMi’s picture

subscribe

Tiberio’s picture

subscribe

bverc’s picture

subscribe

rwohleb’s picture

subscribe

ronny89’s picture

for version 1.3 (of Smart Paging) the solution to this issue: #1378690: Update to 7.x-1.4 adds duplicate language prefixes, causing a redirection loop helped to solve this issue.

perisdr’s picture

I am having trouble making the module work with Global Redirect enabled.

I am using Global Redirect 7.x-1.x-dev and tried both Smart Paging 7.x-1.3 and Smart Paging 7.x-1.x-dev

  • With GR 7.x-1.x-dev enabled and SP 7.x-1.3 I get this error
    and no matter which node page I try to access it keeps returning me to the node:

    Warning: Invalid argument supplied for foreach() in smart_paging_url_outbound_alter() (line 507 of C:\xampp\htdocs\sitename\sites\all\modules\smart_paging\smart_paging.module).

  • With GR 7.x-1.x-dev enabled and SP 7.x-1.x-dev I don't get an error, it justs keeps returning me to the node.

I can't find any settings in GR that could help me solve the issue. Anyone had any similar problem? By disabling GR the module works just fine so I am pretty sure about the scope of the problem.

damiandab’s picture

I am having trouble making the module work with Global Redirect enabled.

I have the same problem :(

arpeggio’s picture

Hi, I'll work on this "Global Redirect" and "Smart Paging" integration on my free time. Of course, patches are always welcome. Thank you.

arpeggio’s picture

Category: bug » feature
wranvaud’s picture

Does someone know a workaround for this in the mean time?

jonn59’s picture

Same problem :(

subscribe!

remkovdz’s picture

I'm also still looking for a workaround for now. Thanks.

remkovdz’s picture

The same problem occurs when using Clean Pagination btw.

wranvaud’s picture

I switched to the module pagination for this and it works like a champ til now. It's still in dev though.

arpeggio’s picture

As suggested in http://drupal.org/node/1103810#comment-6286556 should work in this issue as temporary fix as well.

cyberschorsch’s picture

Status: Postponed » Active

For using smart paging and clean url paging, please see this global redirect issue

https://drupal.org/node/1843500#comment-7535655

This works for us :)

arpeggio’s picture

Status: Active » Fixed

Hi Cyberschorsch, I tested smart paging with clean url paging enabled and global redirect with applied patch at https://drupal.org/node/1843500#comment-7535655, it works like a charm! Thank you Cyberschorsch for sharing.

Status: Fixed » Closed (fixed)

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

aaronbauman’s picture