Seite 1 von 1

HELP! AJAX Chat

Verfasst: 23.09.2009 14:05
von Homeros
Hi,
ich habe grade den "'AJAX Chat' Version 2.0.0B8" eingebaut und bekomme folgenden fehler:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3832: Cannot modify header information - headers already sent by (output started at /language/de/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3834: Cannot modify header information - headers already sent by (output started at /language/de/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3835: Cannot modify header information - headers already sent by (output started at /language/de/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3836: Cannot modify header information - headers already sent by (output started at /language/de/common.php:1)
ich denke das es an dieser line liegt:

Code: Alles auswählen

 'U_CHAT'                    => append_sid("{$phpbb_root_path}chat.$phpEx"),
kann es sein das dass problem ist das ich die deutsch sprache benutze und die natürlich die deutsche common.php bearbeitet habe??

kann mir jemand weiterhelfen??? ich weis grade nicht mehr weiter...

LG Homeros

Re: HELP! AJAX Chat

Verfasst: 23.09.2009 14:12
von franki
Wenn in der Anleitung etwas in den root/language/en/ Dateien geändert wird muß dass näturlich auch in den
root/language/de/ Dateien gemacht werden.

Re: HELP! AJAX Chat

Verfasst: 23.09.2009 14:29
von Homeros
habe es natürlich alles in de und en gemacht
also die einzige datei die normalerweise noch in root\language\en ist, ist die chat.php:

Code: Alles auswählen

<?php
/**
*
* groups [English]
*
* @package language
* @version $Id: chat.php 52 2007-11-04 05:56:17Z Handyman $
* @copyright (c) 2006 StarTrekGuide Group 
* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
*
*/
/**
* DO NOT CHANGE
*/
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

$lang = array_merge($lang, array(
	'DETAILS'		=> '<a href="http://startrekguide.com" style="font-weight: bold;">AJAX Chat</a> &copy; 2007 <strong style="color: rgb(170, 0, 0);">StarTrekGuide</strong>',
	'MESSAGE'		=> 'Message',
	'ONLINE_LIST'	=> 'Online List',
	'PAGE_TITLE'	=> 'Forum Chat',
	'UNIT'			=> 'Seconds',
	'UPDATES'		=> 'Updates every',
));
?>
edit:
ich habe jetzt einfach die unbearbeitete common.php genommen und alles geht...komisch...
kann man bei den chat überhaupt irgendwas einstellen???
edit2 habe es jetzt so gelassen...

Re: HELP! AJAX Chat

Verfasst: 23.09.2009 22:51
von Metzle
Hallo,

schau mal hier: KB:utf8bom

Ich schätze, du hast die Datei im falschen Format gespeichert.