Page 1 of 1

remote auth redirect loop

Posted: Fri Jul 29, 2011 10:22 pm
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

Re: remote auth redirect loop

Posted: Mon Oct 22, 2012 8:11 pm
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