Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: New 1.5.20 upgrade from 1.4.x - apache redirect errors  (Read 6562 times)

0 Members and 1 Guest are viewing this topic.

PPNSteve

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
New 1.5.20 upgrade from 1.4.x - apache redirect errors
« on: June 30, 2012, 09:22:42 pm »

 Request exceeded the limit of 10 internal redirects due to probable configuration error.

log examples:
Code: [Select]
[Sat Jun 30 19:03:47 2012] [error] [client 86.28.xx.xx] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://gallery.ppnstudio.com/login.php?reload_once&referer=displayimage.php%3Falbum%3D536%26pos%3D178&message_id=8ea549ef5c05e7bb5aae5fd950e07ac3&message_icon=info
[Sat Jun 30 19:03:47 2012] [error] [client 86.28.xx.xx] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://gallery.ppnstudio.com/login.php?reload_once&referer=displayimage.php%3Falbum%3D536%26pos%3D178&message_id=8ea549ef5c05e7bb5aae5fd950e07ac3&message_icon=info

[Sat Jun 30 19:04:01 2012] [error] [client 86.28.xx.xx] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://gallery.ppnstudio.com/login.php?reload_once&referer=displayimage.php%3Falbum%3D536%26pos%3D178&message_id=8ea549ef5c05e7bb5aae5fd950e07ac3&message_icon=info
No Idea here what is causing it. never got it on 1.4.x versions.

Can anyone help?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
« Reply #1 on: July 02, 2012, 10:32:46 am »

Please post a link to your gallery.
Logged

PPNSteve

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
« Reply #2 on: July 02, 2012, 05:54:54 pm »

Hi, thanks for the reply.

My gallery is at http://gallery.ppnstudio.com/
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
« Reply #3 on: July 02, 2012, 06:23:32 pm »

Please check your logs. I just tried to view an image and it doesn't seem that there was in infinite redirection loop (at least everything works as expected).
Logged

PPNSteve

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
« Reply #4 on: July 02, 2012, 06:43:39 pm »

Yes, that's what is puzzling me.. it still seems to work correctly.

Code: [Select]
[Mon Jul 02 16:36:21 2012] [error] [client 216.15.68.xxx] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://gallery.ppnstudio.com/login.php?reload_once&referer=displayimage.php%3Falbum%3D4%26pos%3D559&message_id=b81d275bb5d82fb871ae036329270830&message_icon=info#cpgMessageBlock
[Mon Jul 02 16:36:21 2012] [error] [client 216.15.68.xxx] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://gallery.ppnstudio.com/login.php?reload_once&referer=displayimage.php%3Falbum%3D4%26pos%3D559&message_id=b81d275bb5d82fb871ae036329270830&message_icon=info#cpgMessageBlock
Is that your requests? (check IP)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
« Reply #5 on: July 02, 2012, 06:53:17 pm »

Logged

PPNSteve

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
« Reply #6 on: July 02, 2012, 08:06:41 pm »

Ok

Not sure then what's going on here.. I'll have to look in to it deeper.
Logged

PPNSteve

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
« Reply #7 on: July 02, 2012, 08:29:26 pm »

Just loaded a random image and got:

Code: [Select]
[Mon Jul 02 18:07:07 2012] [error] [client 76.114.49.xxx] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://gallery.ppnstudio.com/thumbnails.php?album=29
[Mon Jul 02 18:07:07 2012] [error] [client 76.114.49.xxx] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://gallery.ppnstudio.com/thumbnails.php?album=29
[Mon Jul 02 18:07:10 2012] [error] [client 76.114.49.xxx] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://gallery.ppnstudio.com/displayimage.php?album=29&pid=20206
[Mon Jul 02 18:07:10 2012] [error] [client 76.114.49.xxx] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://gallery.ppnstudio.com/displayimage.php?album=29&pid=20206
[Mon Jul 02 18:07:11 2012] [error] [client 76.114.49.xxx] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://gallery.ppnstudio.com/displayimage.php?album=29&pid=20206
[Mon Jul 02 18:07:11 2012] [error] [client 76.114.49.xxx] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://gallery.ppnstudio.com/displayimage.php?album=29&pid=20206
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
« Reply #8 on: July 02, 2012, 10:39:34 pm »

But the gallery itself works as expected?
Logged

PPNSteve

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
« Reply #9 on: July 02, 2012, 10:43:24 pm »

yes it does..
thats why its so strange.. Firebug shows nothing out of the ordinary either..  so I'm stumped.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
« Reply #10 on: July 03, 2012, 08:16:33 am »

Please try again after removing the following code block from login.php:
Code: [Select]
    if (!$superCage->get->keyExists('reload_once')) {
        $ref = $CPG_REFERER ? '?reload_once&referer='.urlencode($CPG_REFERER) : '?reload_once';
        cpgRedirectPage('login.php'.$ref);
    }
Logged

PPNSteve

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
« Reply #11 on: July 03, 2012, 08:23:18 am »

I think it was related to some missing images in my theme folder (they WERE in the main images folder, but not called from there.. called from my theme's images folder) that was generating a 501 error (a byproduct of Drupal running on the main domain) as a forced no-index / dir listing.

I copied the missing images from the main images folder into my theme's images and BAM the redirects went away.

Thanks so much for your help with this.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
« Reply #12 on: July 03, 2012, 08:44:25 am »

Thanks for resolving your thread. Finally, please
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.