Seite 1 von 1

Cannot modify header information (phpbb 3.0 RC5)

Verfasst: 20.09.2007 11:33
von Andre81
Hallo alle zusammen !

Habe ein Problem oder auch nicht ?
Besser gesagt ich möchte gerne wissen was das Problem überhaupt ist !

[u]Hier mal ein Paar Daten von meinem Board:[/u]
phpbb 3.0 RC5
Deutsche Sprachpacket + Bilder installiert

*************************************************************
[phpBB Debug] PHP Notice: in file /includes/functions_messenger.php on line 1056: php_uname() has been disabled for security reasons

Warning: Cannot modify header information - headers already sent by (output started at /var/www/xxxx/html/AdvancedCommunityForum/includes/functions.php:3720) in /var/www/xxxx/html/AdvancedCommunityForum/includes/functions.php on line 4209

Warning: Cannot modify header information - headers already sent by (output started at /var/www/xxxx/html/AdvancedCommunityForum/includes/functions.php:3720) in /var/www/xxxx/html/AdvancedCommunityForum/includes/functions.php on line 4211

Warning: Cannot modify header information - headers already sent by (output started at /var/www/xxxx/html/AdvancedCommunityForum/includes/functions.php:3720) in /var/www/xxxx/html/AdvancedCommunityForum/includes/functions.php on line 4212

Warning: Cannot modify header information - headers already sent by (output started at /var/www/xxxx/html/AdvancedCommunityForum/includes/functions.php:3720) in /var/www/xxxx/html/AdvancedCommunityForum/includes/functions.php on line 4213
*************************************************************

Diese Fehlermeldung kommt nur bei der Registration von Benutzern und auch nur dann wenn dieser im letzten Schritt auf Registrieren drückt.

Alles läuft einwandfrei ! Zumindestens habe ich nichts entdeckt, was nicht funktionieren könnte.

Die Berechtigung der Datei functions.php liegt auf "644"

Für eine Antwort wäre ich sehr dankbar !

Gruß
Andre81

Verfasst: 20.09.2007 11:41
von bantu
Hallo

php_uname() soll in diesem Zusammenhang herausfinden wie der Name des Webservers ist. Siehe auch: http://de3.php.net/php_uname

Wie die Fehlermeldung schon sagt, ist die Funktion deaktiviert. Wenn du kannst aktiviere sie in der php.ini. Auf diese hast du bei Shared Hosting in der Regel keinen Zugriff.

Alternativ: Um die Fehlermeldung zu unterdrücken ändere in functions_messenger.php in Zeile 1056

Code: Alles auswählen

$local_host = php_uname('n');
zu

Code: Alles auswählen

$local_host = @php_uname('n');
Vermutlich kommt die Fehlermeldung auch beim Versenden von Nachrichten (eMail).

Edit: Die 4 weiteren Fehler resultieren aus dem ersten Fehler. Es ist also nur ein Fehler. :wink:

Gruß,
bantu.

Verfasst: 20.09.2007 12:38
von Andre81
Danke für die schnelle Antwort !!!!! :lol:

Das löst das Problem.

Gruß
Andre81