maxe
unregistriert
Labberecke
Hi Leute
habe da mal eine frage seid 2 tagen spinnt meine labberecke rum und zeigt mir immer wieder eine warning meldung:Warning: Cannot modify header information - headers already sent by (output started at /webs/1/9/69/00/9691/web1/Home/navigation/navbox.status.php:33) in /webs/1/9/69/00/9691/web1/Home/navigation/navbox.laberecke.php on line 144. was ist das weil habe eigentlich nichts an der labberecke gemacht.
Danke im vorraus.
Mfg.
Maxe
habe da mal eine frage seid 2 tagen spinnt meine labberecke rum und zeigt mir immer wieder eine warning meldung:Warning: Cannot modify header information - headers already sent by (output started at /webs/1/9/69/00/9691/web1/Home/navigation/navbox.status.php:33) in /webs/1/9/69/00/9691/web1/Home/navigation/navbox.laberecke.php on line 144. was ist das weil habe eigentlich nichts an der labberecke gemacht.
Danke im vorraus.
Mfg.
Maxe
Na da ist doch der Fehler, und riesen gross!
Ersetze den gesamten Inhalt der navbox.status.php mit diesem:
Vorher sah es so aus:
mfG
Ersetze den gesamten Inhalt der navbox.status.php mit diesem:
|
|
PHP-Quelltext |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
<?php
$phpkit_status=phpkitstatus();
$user_count = $DB->fetch_array($DB->query("SELECT * FROM ".$db_tab['calender']." WHERE calender_id>'1' ORDER by calender_counter DESC LIMIT 1"));
if (is_array($phpkit_status['online_user'])) {
unset($online_list);
$k=1;
foreach($phpkit_status['online_user'] as $userinfo) {
if ($config['user_ghost']!=1 || ($config['user_ghost']==1 && $userinfo['user_ghost']!=1)) {
if ($k>1) $online_list.=', ';
eval ("\$online_list.= \"".getTemplate("member_showprofil_textlink","small")."\";");
$k++;
}
}
if (isset($online_list)) $online_list.=" ".$lang['and']." ";
}
if ($phpkit_status['online_guests']>0) {if ($phpkit_status[online_guests]==1) {$online_list.="1 ".$lang['guest'];} else {$online_list.=$phpkit_status[online_guests]." ".$lang['guests'];}}
else {$online_list.=$lang['no']." ".$lang['guests'];}
eval ("\$boxlinks[0].= \"".getTemplate("navigation/status_reguser")."\";");
eval ("\$boxlinks[1].= \"".getTemplate("navigation/status_visitors")."\";");
if (intval($USER['id'])>0) {
$online_since=number_format(((time()-$USER['logtime'])/60),0,",",".");
$online_time=formattime($USER['logtime'],'','time');
if (intval($imstatus_info=imstatus())>0) eval ("\$status_newim.= \"".getTemplate("navigation/status_newim")."\";");
eval ("\$boxlinks[2].= \"".getTemplate("navigation/status_userinfo")."\";");
}
$userinfo=$DB->fetch_array($DB->query("SELECT * FROM ".$db_tab['user']." WHERE user_activate='1' ORDER by user_id DESC LIMIT 1"));
$counter_t=$DB->fetch_assoc($DB->query("SELECT calender_counter, calender_id, calender_picount FROM ".$db_tab['calender']." WHERE calender_id!='1' ORDER by calender_id DESC LIMIT 1"));
$counter_y=$DB->fetch_assoc($DB->query("SELECT calender_counter, calender_picount FROM ".$db_tab['calender']." WHERE calender_id<'$counter_t[calender_id]' and calender_id!='1' ORDER by calender_id DESC LIMIT 1"));
$countclicks=$DB->fetch_array($DB->query("SELECT SUM(calender_picount) FROM ".$db_tab['calender'].""));
$boxlinks[6]="<b>Seitenzugriffe:</b><br />
heute : $counter_t[calender_picount]
<br />
gestern : $counter_y[calender_picount]
<br />
gesamt : $countclicks[0]";
if ($config['forum_eod']==1) {
$counter_post=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['forumpost']));
$counter_themen=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['forumthread']));
$boxlinks[5]='<a class="nav'.$navalign.'" href="include.php?path=forum/main.php"><b>Forum</b></a><br>'."Themen: $counter_themen[0] <br>Beiträge: $counter_post[0]";
$counter_views=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['content']));
}
$art_count=$DB->fetch_array($DB->query("SELECT COUNT(*) 'count' FROM ".$db_tab['content']." where content_option=1"));
$art_klicks=$DB->fetch_array($DB->query("select sum(content_views) 'count' from ".$db_tab['content']." where content_option=1"));
$link_count=$DB->fetch_array($DB->query("SELECT COUNT(*) 'count' FROM ".$db_tab['content']." where content_option=3"));
$link_klicks=$DB->fetch_array($DB->query("select sum(content_views) 'count' from ".$db_tab['content']." where content_option=3"));
$down_count=$DB->fetch_array($DB->query("select count(*) 'count' from ".$db_tab['content']." where content_option=4"));
$down_klicks=$DB->fetch_array($DB->query("select sum(content_views) 'count' from ".$db_tab['content']." where content_option=4"));
$boxlinks[]='<a class="nav'.$navalign.'" href="include.php?path=content/overview.php&type=1"><b>Artikel</b></a><br>'."Artikel: ". $art_count['count']."<br>Gelesen: ".$art_klicks['count'];
$boxlinks[]='<a class="nav'.$navalign.'" href="include.php?path=content/overview.php&type=3"><b>Links</b></a><br>'."Links: ". $link_count['count']."<br>Besucht: ".$link_klicks['count'];
$boxlinks[]='<a class="nav'.$navalign.'" href="include.php?path=content/overview.php&type=4"><b>Downloads</b></a><br>'."Downloads: ".$down_count['count']."<br>Runtergeladen: ".$down_klicks['count'];
//$counter_3=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['gbook']));
//$boxlinks[]='<a class="nav'.$navalign.'" href="include.php?path=guestbook/viewgb.php"><b>Gästebuch</b></a><br>'.$counter_3[0]." Einträge";
?>
|
Vorher sah es so aus:
|
|
PHP-Quelltext |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
<?php
$phpkit_status=phpkitstatus();
$user_count = $DB->fetch_array($DB->query("SELECT * FROM ".$db_tab['calender']." WHERE calender_id>'1' ORDER by calender_counter DESC LIMIT 1"));
if (is_array($phpkit_status['online_user'])) {
unset($online_list);
$k=1;
foreach($phpkit_status['online_user'] as $userinfo) {
if ($config['user_ghost']!=1 || ($config['user_ghost']==1 && $userinfo['user_ghost']!=1)) {
if ($k>1) $online_list.=', ';
eval ("\$online_list.= \"".getTemplate("member_showprofil_textlink","small")."\";");
$k++;
}
}
if (isset($online_list)) $online_list.=" ".$lang['and']." ";
}
if ($phpkit_status['online_guests']>0) {if ($phpkit_status[online_guests]==1) {$online_list.="1 ".$lang['guest'];} else {$online_list.=$phpkit_status[online_guests]." ".$lang['guests'];}}
else {$online_list.=$lang['no']." ".$lang['guests'];}
eval ("\$boxlinks[0].= \"".getTemplate("navigation/status_reguser")."\";");
eval ("\$boxlinks[1].= \"".getTemplate("navigation/status_visitors")."\";");
if (intval($USER['id'])>0) {
$online_since=number_format(((time()-$USER['logtime'])/60),0,",",".");
$online_time=formattime($USER['logtime'],'','time');
if (intval($imstatus_info=imstatus())>0) eval ("\$status_newim.= \"".getTemplate("navigation/status_newim")."\";");
eval ("\$boxlinks[2].= \"".getTemplate("navigation/status_userinfo")."\";");
}
$userinfo=$DB->fetch_array($DB->query("SELECT * FROM ".$db_tab['user']." WHERE user_activate='1' ORDER by user_id DESC LIMIT 1"));
?>
<?php
$counter_t=$DB->fetch_assoc($DB->query("SELECT calender_counter, calender_id, calender_picount FROM ".$db_tab['calender']." WHERE calender_id!='1' ORDER by calender_id DESC LIMIT 1"));
$counter_y=$DB->fetch_assoc($DB->query("SELECT calender_counter, calender_picount FROM ".$db_tab['calender']." WHERE calender_id<'$counter_t[calender_id]' and calender_id!='1' ORDER by calender_id DESC LIMIT 1"));
$countclicks=$DB->fetch_array($DB->query("SELECT SUM(calender_picount) FROM ".$db_tab['calender'].""));
$boxlinks[6]="<b>Seitenzugriffe:</b><br>
heute : $counter_t[calender_picount]
<br>
gestern : $counter_y[calender_picount]
<br>
gesamt : $countclicks[0]";
?>
<?php
if ($config['forum_eod']==1) {
$counter_post=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['forumpost']));
$counter_themen=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['forumthread']));
$boxlinks[5]='<a class="nav'.$navalign.'" href="include.php?path=forum/main.php"><b>Forum</b></a><br>'."Themen: $counter_themen[0] <br>Beiträge: $counter_post[0]";
$counter_views=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['content']));
}
$art_count=$DB->fetch_array($DB->query("SELECT COUNT(*) 'count' FROM ".$db_tab['content']." where content_option=1"));
$art_klicks=$DB->fetch_array($DB->query("select sum(content_views) 'count' from ".$db_tab['content']." where content_option=1"));
$link_count=$DB->fetch_array($DB->query("SELECT COUNT(*) 'count' FROM ".$db_tab['content']." where content_option=3"));
$link_klicks=$DB->fetch_array($DB->query("select sum(content_views) 'count' from ".$db_tab['content']." where content_option=3"));
$down_count=$DB->fetch_array($DB->query("select count(*) 'count' from ".$db_tab['content']." where content_option=4"));
$down_klicks=$DB->fetch_array($DB->query("select sum(content_views) 'count' from ".$db_tab['content']." where content_option=4"));
$boxlinks[]='<a class="nav'.$navalign.'" href="include.php?path=content/overview.php&type=1"><b>Artikel</b></a><br>'."Artikel: ". $art_count['count']."<br>Gelesen: ".$art_klicks['count'];
$boxlinks[]='<a class="nav'.$navalign.'" href="include.php?path=content/overview.php&type=3"><b>Links</b></a><br>'."Links: ". $link_count['count']."<br>Besucht: ".$link_klicks['count'];
$boxlinks[]='<a class="nav'.$navalign.'" href="include.php?path=content/overview.php&type=4"><b>Downloads</b></a><br>'."Downloads: ".$down_count['count']."<br>Runtergeladen: ".$down_klicks['count'];
//$counter_3=$DB->fetch_array($DB->query("SELECT COUNT(*) FROM ".$db_tab['gbook']));
//$boxlinks[]='<a class="nav'.$navalign.'" href="include.php?path=guestbook/viewgb.php"><b>Gästebuch</b></a><br>'.$counter_3[0]." Einträge";
?>..
...
...
...
...
und so weiter und so fort ca 20 Zeilen...
|
mfG
maxe
unregistriert
Thx
Danke dir mal hat super hingehauen alles wieder in ordnung.aber trotzdem mal ne frage wie kann sowas passieren habe die datei doch nie verändert und bis vor 2 tagen ging sie auch richtig und dann auf einmal.
aber danke dir trotdem nochmal das alles wieder geht bist echt top
Mfg.
Maxe
aber danke dir trotdem nochmal das alles wieder geht bist echt top
Mfg.
Maxe
Ähnliche Themen
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
Forum post wird nicht richtig weiter geleitet.
(2. März 2008, 22:48)
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
labberecke verkleinern
(2. März 2008, 12:36)



