Bekomme immer diese fehlermeldung:
Code: Alles auswählen
Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /usr/local/httpd/htdocs/2103/2107/_php-workshop/v3/admin/page_header_admin.php on line 44
Code: Alles auswählen
define('IN_PHPBB', 1);
//
// Let's set the root dir for phpBB
//
$phpbb_root_path = "./../";
require($phpbb_root_path . 'extension.inc');
require('./pagestart.' . $phpEx);
include($phpbb_root_path . 'includes/db.'.$phpEx);
if ( isset($HTTP_POST_VARS['search_username']) )
$search_match = $HTTP_POST_VARS['search_username'];
else
$search_match = '';
if ( !empty($search_match) ) {
$username_search = preg_replace('/\*/', '%', trim(strip_tags($search_match)));
$sql = "SELECT username
FROM " . USERS_TABLE . "
WHERE username LIKE '" . str_replace("\'", "''", $username_search) . "' AND user_id <> " . ANONYMOUS . "
ORDER BY username";
if ( !($result = $db->sql_query($sql)) ) {
message_die(GENERAL_ERROR, 'Could not obtain search results', '', __LINE__, __FILE__, $sql);
}
if ( $row = $db->sql_fetchrow($result) ) {
do {
$username_list .= '<option value="' . $row['username'] . '">' . $row['username'] . '</option>';
} while ( $row = $db->sql_fetchrow($result) );
} else {
$username_list .= '<option>' . $lang['No_match']. '</option>';
}
$db->sql_freeresult($result);
}
$page_title = $lang['Search'];
include('./page_header_admin.'.$phpEx);
//Den rest hab ich weggelassen, dah ich bezweifle, daß er noch einfluss auf den fehler hatt..
Jemand ne idd warum der kommt?
Mfg, EmCee