diff --git a/ChangeLog b/ChangeLog index 64255ff..1390bde 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,15 @@ --------------------------------------------------------------------------- +Version 2.5.21 (beta), 2008-11-24 +- Fixed an infinite search loop which occured of the option + "Suppress Duplicated Messages was enabled". This caused the index page + to timeout once a duplicated message was hit. +- Fixed that filters were ignored when exporting results to cvs/xml +--------------------------------------------------------------------------- Version 2.5.20 (beta), 2008-11-19 - Fixed a performance issue in the logstream db and pdo drivers when using filters. This bug could cause script timeouts when using complex filters. +- Added default .htaccess to prevent webserver access on cron folder --------------------------------------------------------------------------- Version 2.5.19 (beta), 2008-11-18 - Added a new "cron" folder which contains a maintenance.php script. diff --git a/src/export.php b/src/export.php index 2c43404..2a13bfa 100644 --- a/src/export.php +++ b/src/export.php @@ -87,6 +87,7 @@ if ( $content['error_details'] = $content['LN_GEN_ERROR_PDFMISSINGEXTENSION']; } */ + } else { diff --git a/src/index.php b/src/index.php index 9be9544..e68f8fe 100644 --- a/src/index.php +++ b/src/index.php @@ -40,9 +40,6 @@ include($gl_root_path . 'include/functions_common.php'); include($gl_root_path . 'include/functions_frontendhelpers.php'); include($gl_root_path . 'include/functions_filters.php'); -// Init Langauge first! -// IncludeLanguageFile( $gl_root_path . '/lang/' . $LANG . '/main.php' ); - // Include LogStream facility include($gl_root_path . 'classes/logstream.class.php'); @@ -330,6 +327,13 @@ if ( isset($content['Sources'][$currentSourceID]) ) // Set last mgr $szLastMessage = $logArray[SYSLOG_MESSAGE]; + // --- Extra Loop to get the next entry! + do + { + $ret = $stream->ReadNext($uID, $logArray); + } while ( $ret == ERROR_MSG_SKIPMESSAGE ); + // --- + // Skip entry continue; } diff --git a/src/templates/index.html b/src/templates/index.html index cc9d13a..824e05e 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -108,6 +108,7 @@ +