Seite 1 von 1
NV who was here? fehler
Verfasst: 15.12.2012 12:27
von Sannymaus
Ich habe folgenden Fehler auf meine seite da ich den Mod
NV who was here? eingebuat habe
Code: Alles auswählen
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4694: Cannot modify header information - headers already sent by (output started at [ROOT]/language/de/mods/lang_wwh.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4696: Cannot modify header information - headers already sent by (output started at [ROOT]/language/de/mods/lang_wwh.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4697: Cannot modify header information - headers already sent by (output started at [ROOT]/language/de/mods/lang_wwh.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4698: Cannot modify header information - headers already sent by (output started at [ROOT]/language/de/mods/lang_wwh.php:1)
Kann mir da jemand helfen ?
Re: NV who was here? fehler
Verfasst: 15.12.2012 12:33
von Crizzo
Hi,
schau dir mal das an: KB:headers_already_sent und wende es auf die für die Mod-Installation bearbeiteten Dateien an.
Grüße
Re: NV who was here? fehler
Verfasst: 15.12.2012 12:41
von Sannymaus
Hm ich sehe da keinen fehler kann mir da vieleicht einer helfen ?
Re: NV who was here? fehler
Verfasst: 15.12.2012 12:44
von Crizzo
Schau dir mal das an: KB:utf8bom
Wenn es nichts hilft, stell mal diese Datei zum Download bereit: [ROOT]/language/de/mods/lang_wwh.php
KB:datei
Re: NV who was here? fehler
Verfasst: 15.12.2012 12:47
von Mahony
Hallo
Entweder hast du ein Leerzeichen in der lang_wwh.php (vor <?php )oder die Datei ist nicht als UTF-8 (ohne BOM) gespeichert.siehe auch KB:utf8bom
Grüße: Mahony
Re: NV who was here? fehler
Verfasst: 15.12.2012 13:02
von Sannymaus
Hallo hier mal die datei wie es bei mir aussieht
Code: Alles auswählen
<?php
/**
*
* @package phpBB3 - who was here MOD
* @version $Id$
* @copyright (c) nickvergessen ( http://www.flying-bits.org/ )
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
$lang = array_merge($lang, array(
'WHO_WAS_HERE' => 'Wer war da?',
'WHO_WAS_HERE_LATEST1' => 'zuletzt um',
'WHO_WAS_HERE_LATEST2' => ' Uhr',
'WHO_WAS_HERE_TOTAL' => array(
0 => 'Insgesamt waren <strong>0</strong> Besucher online: ',
1 => 'Insgesamt war <strong>%d</strong> Besucher online: ',
2 => 'Insgesamt waren <strong>%d</strong> Besucher online: ',
),
'WHO_WAS_HERE_REG_USERS' => array(
0 => '0 registrierte',
1 => '%d registrierter',
2 => '%d registrierte',
),
'WHO_WAS_HERE_HIDDEN' => array(
0 => '0 unsichtbare',
1 => '%d unsichtbarer',
2 => '%d unsichtbare',
),
'WHO_WAS_HERE_BOTS' => array(
0 => '0 Bots',
1 => '%d Bot',
2 => '%d Bots',
),
'WHO_WAS_HERE_GUESTS' => array(
0 => '0 Gäste',
1 => '%d Gast',
2 => '%d Gäste',
),
'WHO_WAS_HERE_WORD' => ' und',
'WHO_WAS_HERE_EXP' => 'basierend auf den heute aktiven Besuchern',
'WHO_WAS_HERE_EXP_TIME' => 'basierend auf den aktiven Besuchern der letzten ',
'WWH_HOURS' => array(
0 => '',
1 => '%%s %1$s Stunde',
2 => '%%s %1$s Stunden',
),
'WWH_MINUTES' => array(
0 => '',
1 => '%%s %1$s Minute',
2 => '%%s %1$s Minuten',
),
'WWH_SECONDS' => array(
0 => '',
1 => '%%s %1$s Sekunde',
2 => '%%s %1$s Sekunden',
),
'WHO_WAS_HERE_RECORD' => 'Der Besucherrekord liegt bei <strong>%1$s</strong> Besuchern, die am %2$s online waren.',
'WHO_WAS_HERE_RECORD_TIME' => 'Der Besucherrekord liegt bei <strong>%1$s</strong> Besuchern, die zwischen %2$s und %3$s online waren.',
));
?>
Re: NV who was here? fehler
Verfasst: 15.12.2012 16:11
von Miriam
Na,
- dann nimm mal die Datei
/language/de/mods/lang_wwh.php
,
- öffne sie mit dem Notepad++,
- stelle die Kodierung
utf8 ohne BOM
ein
- schaue nach, ob vor
<?php
nichts steht (keine Leezeile kein garnichts),
- speicher sie erneut ab und lade sie dann wieder hoch,
- leere den Cache,
- melde was passiert ist / ob es Änderungen gab.
Re: NV who was here? fehler
Verfasst: 15.12.2012 16:29
von Mahony
Hallo
In neueren Notepad++ Versionen muss man auf "Kodierung" klicken und dann "konvertiere zu UTF-8 ohne BOM" klicken. Anschließend die Datei speichern.
Grüße: Mahony
Re: NV who was here? fehler
Verfasst: 17.12.2012 08:14
von Sannymaus
hallo das habe ich schon alles getan und trotzdem der fehler
Re: NV who was here? fehler
Verfasst: 17.12.2012 19:27
von Crizzo
Da mir sonst nix mehr einfällt:
nimm mal die .php-Datei, pack sie in ein .7z, .zip, .rar Archiv und stell sie bei dir online und gib uns den Link. Dann sieht man mal die Originaldatei.
Grüße