Hilfe bei Update 3.0.3.

phpBB 3.0 hat sein "End of Life" erreicht. Eine Neu-Installation wird nicht mehr unterstützt.
Benutzeravatar
winnetou
Mitglied
Beiträge: 850
Registriert: 13.11.2008 12:20
Wohnort: Bremen
Kontaktdaten:

Beitrag 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
Benutzeravatar
bantu
Server-Team
Beiträge: 7311
Registriert: 25.04.2006 16:12
Wohnort: Karlsruhe

Beitrag 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.
Powered by Coffee
Yugius
Mitglied
Beiträge: 14
Registriert: 10.10.2008 16:50
Wohnort: Mannheim
Kontaktdaten:

Beitrag 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
Benutzeravatar
winnetou
Mitglied
Beiträge: 850
Registriert: 13.11.2008 12:20
Wohnort: Bremen
Kontaktdaten:

Beitrag von winnetou »

Hallo bantu,
danke das hat geklappt!
Lg
Jürgen
Benutzeravatar
bantu
Server-Team
Beiträge: 7311
Registriert: 25.04.2006 16:12
Wohnort: Karlsruhe

Beitrag 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.
Powered by Coffee
Yugius
Mitglied
Beiträge: 14
Registriert: 10.10.2008 16:50
Wohnort: Mannheim
Kontaktdaten:

Beitrag 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?
Benutzeravatar
PS3-King
Mitglied
Beiträge: 17
Registriert: 13.05.2008 13:03
Wohnort: Tirol/AUT
Kontaktdaten:

Beitrag von PS3-King »

winnetou hat geschrieben:
PS3-King hat geschrieben: Ich glaube der Fehler ist Standard, da er bei mir auch ist :wink:
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)
MfG. iPS3-King
PS3 + iMac 4 ever!
Next Generation Videogames - Forum
Yugius
Mitglied
Beiträge: 14
Registriert: 10.10.2008 16:50
Wohnort: Mannheim
Kontaktdaten:

Beitrag von Yugius »

Ich hab jetzt mit nem Hexeditor die Datei so hingeklempnert das sie jetzt wieder funktioniert.
Vielen Dank trotzdem
Benutzeravatar
Dr.Death
Moderator
Moderator
Beiträge: 17473
Registriert: 23.04.2003 08:22
Wohnort: Xanten
Kontaktdaten:

Beitrag von Dr.Death »

@Yugius:

Der Fehler war ein falsches Format Deiner Sprachdatei ;-)


KB:166
OnkelBazi
Mitglied
Beiträge: 18
Registriert: 23.12.2004 01:38

Beitrag von OnkelBazi »

danke hat wunderbar geklappt
Gesperrt

Zurück zu „[3.0.x] Installation, Update und Konvertierung“