Seite 3 von 3
Verfasst: 18.11.2008 18:07
von winnetou
Und ich komme jetzt nicht mehr im Adminbereich!
Fehlermeldung:
[phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2405: array_fill(): Number of elements must be positive
[phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2405: array_fill(): Number of elements must be positive
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3153)
Administrations-Bereich
Verfasst: 18.11.2008 18:21
von bantu
winnetou, öffne functions_admin.php
Suche (~Zeile 2402)
Code: Alles auswählen
if (substr_count($log[$i]['action'], '%') - sizeof($log_data_ary))
Ersetze mit
Code: Alles auswählen
if ((substr_count($log[$i]['action'], '%') - sizeof($log_data_ary)) > 0)
Quelle:
http://code.phpbb.com/repositories/diff ... p?rev=9065
---
Yugius, schau dir die language/de/common.php genauer an. Achte auf "komische" Zeichen in den ersten 1-3 Zeilen.
Verfasst: 18.11.2008 18:48
von Yugius
Ich find nix was net da sein sollte
Hier mal meine common.php:
Code: Alles auswählen
<?php
/**
*
* common [Deutsch — Du]
*
* @package language
* @version $Id: common.php 196 2007-05-18 17:37:40Z philipp $
* @copyright (c) 2005 phpBB Group; 2006 phpBB.de
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
* Deutsche Übersetzung durch die Übersetzer-Gruppe von phpBB.de:
* (http://www.phpbb.de/go/3/uebersetzer)
* Frank Doerr, Dirk Gaffke, Christopher Gerharz, Ingo Köhler, Philipp Kordowich, Ingo Migliarina, Paul Rauch
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// 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
//
// Some characters you may want to copy&paste:
// ’ » „ “ — …
//
$lang = array_merge($lang, array(
'TRANSLATION_INFO' => 'Deutsche Übersetzung durch <a href="http://www.phpbb.de/">phpBB.de</a>',
'DIRECTION' => 'ltr',
'DATE_FORMAT' => '|j. M Y|', // 1. Jan 2007 (ggf. mit relativen Angaben)
KB:knigge - Zu viel Code - bantu
Verfasst: 18.11.2008 18:55
von winnetou
Hallo bantu,
danke das hat geklappt!
Lg
Jürgen
Verfasst: 18.11.2008 18:55
von bantu
Yugius, ersetze die Datei oder entferne die ersten beiden Zeilen durch markieren und tippe sie anschließend erneut ein. Das klingt komisch, kann so aber gehen.
Verfasst: 18.11.2008 19:03
von Yugius
geht immer noch nicht

aber dafür sind jetzt die meldungen zu den mods weg

jetzt steht noch da:
Code: Alles auswählen
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3818: 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 3820: 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 3821: 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 3822: Cannot modify header information - headers already sent by (output started at /language/de/common.php:1)
könnte es an einer anderen datei liegen?
Verfasst: 18.11.2008 21:14
von PS3-King
winnetou hat geschrieben:PS3-King hat geschrieben:
Ich glaube der Fehler ist Standard, da er bei mir auch ist

Den kannst Du in der index_body.html ändern.
Und zwar hier:
Code: Alles auswählen
<!-- IF LEGEND -->
<tr>
<td class="row1"><b class="gensmall">{L_LEGEND} : :{LEGEND}</b></td>
</tr>
<!-- ENDIF -->
Lg
Jürgen
thx, done
Update klappte mit dem Auto von hier ohne größere Probleme, nur der Gender-Mod wurde etwas geändert (bei Beiträgen nicht mehr neben dem Namen, sondern weiter unten extra)
Verfasst: 18.11.2008 21:16
von Yugius
Ich hab jetzt mit nem Hexeditor die Datei so hingeklempnert das sie jetzt wieder funktioniert.
Vielen Dank trotzdem
Verfasst: 19.11.2008 09:11
von Dr.Death
@Yugius:
Der Fehler war ein falsches Format Deiner Sprachdatei
KB:166
Verfasst: 28.11.2008 11:00
von OnkelBazi
danke hat wunderbar geklappt