Seite 1 von 1

Bekannte Probleme in phpBB 3.0.3

Verfasst: 20.11.2008 19:50
von bantu
Problem / Fehlermeldung
Im Administrations-Bereich tritt folgender oder ähnlicher Fehler auf.
[phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2405: array_fill() [function.array-fill]: Number of elements must be positive
[phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2405: array_merge() [function.array-merge]: Argument #2 is not an array
[phpBB Debug] PHP Notice: in file /includes/functions_admin.php on line 2408: vsprintf() [function.vsprintf]: Too few arguments
[...]
[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)
Lösung
Öffne /includes/functions_admin.php und 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

Verfasst: 21.11.2008 17:42
von bantu
Problem / Fehlermeldung
Im Persönlichen Bereich unter Gruppen verwalten tritt folgender oder ähnlicher Fehler auf.
Fatal error: Call to undefined function get_user_avatar() in /xxx/includes/ucp/ucp_groups.php on line 441
Lösung
Öffne includes/ucp/ucp_groups.php

Suche (~ Zeile 416)

Code: Alles auswählen

$group_id	= request_var('g', 0);
Anschließend füge ein

Code: Alles auswählen

include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
Suche und entferne (~ Zeile 461)

Code: Alles auswählen

include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
(kommt kurz nach case 'edit':)

Hintergrund

Verfasst: 22.11.2008 20:37
von bantu
Ein sehr sehr unwahrscheinlicher Fehler ...

Problem / Fehlermeldung
Unter Umständen kann folgende Fehlermeldung im Logbuch des Webservers auftreten ...
Fatal error: Call to undefined function phpbb_chmod() in /includes/acm/acm_file.php on line 96
Lösung
Öffne includes/acm/acm_file.php
Füge folgenden Codeblock wie hier dargestellt hinzu:

Code: Alles auswählen

			if (!function_exists('phpbb_chmod'))
			{
				global $phpbb_root_path;
				include($phpbb_root_path . 'includes/functions.' . $phpEx);
			}
Hintergrund

Verfasst: 14.12.2008 14:37
von bantu
phpBB 3.0.4 ist erschienen. Die oben genannten Probleme wurden darin beseitigt.