remote auth redirect loop

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
benwilber
Posts: 1
Joined: Fri Jul 29, 2011 10:12 pm

remote auth redirect loop

Post by benwilber »

Hi,

My apologies if this has already been fixed, but I didn't see anything about it in the changelogs. In 1.24.2 (from Ubuntu), ZM will hang on the "Logging in" page if configured to use remote authentication. The following patch seems to fix it:

Code: Select all

--- /usr/share/zoneminder/index.php     2010-04-12 11:31:16.000000000 -0400
+++ index.php   2010-02-25 14:44:47.000000000 -0500
@@ -101,8 +101,6 @@
 if ( isset($_REQUEST['action']) )
     $action = validHtmlStr($_REQUEST['action']);
 -require_once( 'includes/actions.php' );
-
 foreach ( getSkinIncludes( 'skin.php' ) as $includeFile )
     require_once $includeFile;
 
@@ -134,4 +132,7 @@
             require_once $includeFile;
     }
 }
+
+require_once( 'includes/actions.php' );
+
 ?>
Ben Wilber
river100
Posts: 145
Joined: Sun Oct 07, 2007 5:52 pm
Location: Louisiana

Re: remote auth redirect loop

Post by river100 »

can anyone tell me how to apply this patch.
i'm using the 1.25.1 from ubuntu on 12.04 LTS
thanks
Post Reply