Haumis wbb hilfe (http://haumis-wbb-hilfe.de/wbb2/index.php)
- WBB2 (http://haumis-wbb-hilfe.de/wbb2/board.php?boardid=3)
-- Es klappt nicht (http://haumis-wbb-hilfe.de/wbb2/board.php?boardid=48)
--- Strict Standards: (http://haumis-wbb-hilfe.de/wbb2/thread.php?threadid=2914)


Geschrieben von haumi am 07.05.2017 um 15:09:

  Strict Standards:

In einem Board kamen beim speichern des Highscores der UFP folgende Fehlermeldungen:

code:
1:
2:
Strict Standards: Non-static method headers::send() should not be called statically, assuming $this from incompatible context in /www/htdocs/w0099ac1/wbb2/acp/lib/class_tpl_file.php on line 72  
Strict Standards: Non-static method headers::compress() should not be called statically, assuming $this from incompatible context in /www/htdocs/w0099ac1/wbb2/acp/lib/class_headers.php on line 34

Sollt5e der (die) Fehler auch bei euch auftauchen so müsst ihr folgendes machen:

Abhilfe im ersten Fall:
Man öffnet die Datei: acp/lib/class_tpl_file.php und sucht
code:
1:
2:
/* print template */	
function output($template, $isacp = 0) {

Da drunter wird folgendes eingefügt:
code:
1:
$headers = new headers();  


Abhilfe im zweiten Fall:
Man öffnet die Datei: acp/lib/class_headers.php und sucht
code:
1:
2:
/** compress output **/	
function compress() {

und ersetzt es durch
code:
1:
2:
/** compress output **/	
public static function compress() {


LG
haumi


Forensoftware: Burning Board 2.3.6, entwickelt von WoltLab GmbH