forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: PPNSteve on June 30, 2012, 09:22:42 pm

Title: New 1.5.20 upgrade from 1.4.x - apache redirect errors
Post by: PPNSteve 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?
Title: Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
Post by: Αndré on July 02, 2012, 10:32:46 am
Please post a link to your gallery.
Title: Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
Post by: PPNSteve on July 02, 2012, 05:54:54 pm
Hi, thanks for the reply.

My gallery is at http://gallery.ppnstudio.com/
Title: Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
Post by: Αndré 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).
Title: Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
Post by: PPNSteve 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)
Title: Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
Post by: Αndré on July 02, 2012, 06:53:17 pm
Is that your requests?
No.
Title: Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
Post by: PPNSteve 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.
Title: Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
Post by: PPNSteve 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
Title: Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
Post by: Αndré on July 02, 2012, 10:39:34 pm
But the gallery itself works as expected?
Title: Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
Post by: PPNSteve 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.
Title: Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
Post by: Αndré 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);
    }
Title: Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
Post by: PPNSteve 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.
Title: Re: New 1.5.20 upgrade from 1.4.x - apache redirect errors
Post by: Αndré 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.