Seite 2 von 5

Re: safeGT Installationsfehler

Verfasst: 01.03.2014 16:25
von BNa
es geht hier nur um eine datei. die du im pastebin eingefügt hast. welche sonst :roll:

Re: safeGT Installationsfehler

Verfasst: 02.03.2014 12:10
von GameNowDE
Das was ich finden sollte, gibt es laut Notepad ++ nicht.

Edit: Doch gefunden und geändert, wenn ich im acp jetzt auf Foren gehe, kommt folgendes:

Code: Alles auswählen

Parse error: syntax error, unexpected 'case' (T_CASE) in /users/gamenowde/www/phpBB3/includes/acp/acp_forums.php on line 688
Ich lösche das neue jetzt nochmal raus und tu deine Alternative rein.

Edit 2: Auch beim anderen Code kommt der gleiche Error.

Re: safeGT Installationsfehler

Verfasst: 02.03.2014 13:18
von BNa
ich schätze mal, du hast insgesamt falsch editiert, in meinem code gibt es kein case.

Parse error: syntax error, unexpected 'case' (T_CASE) in /users/gamenowde/www/phpBB3/includes/acp/acp_forums.php on line 688

zeig mal einen großzügigen bereich, um diese zeilennummer herum.

edit, ich hole nochmal das pastebin hierher:
https://www.phpbb.de/support/pastebin.p ... iew&s=1402

Re: safeGT Installationsfehler

Verfasst: 02.03.2014 13:25
von BNa
Ich sehe grad, in dem bereich laufen ja cases durch.
Klar, dann reagiert das php so :-?

Bezieht sich übrigens hier drauf:

viewtopic.php?f=74&t=230796
Hallo.

Und direkt der zweite Fehler an einem Tag. Wenn ich im acp ein neues Forum erstellen oder ein bestehendes editieren möchte, kommt folgende Fehlermeldung:

Code: Alles auswählen

    [phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_forums.php on line 673: in_array() expects parameter 2 to be array, null given
    [phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_forums.php on line 674: in_array() expects parameter 2 to be array, null given
    [phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_forums.php on line 675: in_array() expects parameter 2 to be array, null given
    [phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_forums.php on line 676: in_array() expects parameter 2 to be array, null given
    [phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_forums.php on line 677: in_array() expects parameter 2 to be array, null given
    [phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_forums.php on line 678: in_array() expects parameter 2 to be array, null given
    [phpBB Debug] PHP Warning: in file [ROOT]/adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
    [phpBB Debug] PHP Warning: in file [ROOT]/adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
    [phpBB Debug] PHP Warning: in file [ROOT]/adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
    [phpBB Debug] PHP Warning: in file [ROOT]/adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Was ist das?

Grüße
Benni
Also nochmal:

Finde

Code: Alles auswählen

                                // SAFE GT START
                                if (!empty($forum_data['forum_gamertags']))
                                {
                                        $thegts = unserialize($forum_data['forum_gamertags']);
                                }
                                else
                                {
                                        $thegts = array();
                                }
                                // SAFE GT END
                                } 
Ersetze mit

Code: Alles auswählen

                                // SAFE GT START
                                if (!empty($forum_data['forum_gamertags']))
                                {
                                       $thegts = unserialize($forum_data['forum_gamertags']);
                                       if ($thegts == null){
                                       $thegts = array();
                                       }
                                }
                                else
                                {
                                        $thegts = array();
                                }
                                // SAFE GT END
                                } 

Re: safeGT Installationsfehler

Verfasst: 02.03.2014 13:48
von GameNowDE
Den Bereich um das Case willst du immernoch haben?

Re: safeGT Installationsfehler

Verfasst: 02.03.2014 13:48
von BNa
nein, hat sich erledigt..

Re: safeGT Installationsfehler

Verfasst: 02.03.2014 13:53
von GameNowDE
Ich habe den Code eingefügt und lade es jetzt auf den Server hoch. In einer Minute wissen wir mehr.

Wieviele verschiedene Fehlermeldungen gibt es...?

Code: Alles auswählen

 Parse error: syntax error, unexpected '$template' (T_VARIABLE), expecting function (T_FUNCTION) in /users/gamenowde/www/phpBB3/includes/acp/acp_forums.php on line 612

Re: safeGT Installationsfehler

Verfasst: 02.03.2014 13:55
von BNa
die aktuelle datei (die mit der aktuellen fehlermeldung) bitte mal in den pastebin hochladen
https://www.phpbb.de/support/pastebin.php

Re: safeGT Installationsfehler

Verfasst: 02.03.2014 13:57
von GameNowDE

Re: safeGT Installationsfehler

Verfasst: 02.03.2014 13:58
von Crizzo
Finde:

Code: Alles auswählen

else
                                    {
                                            $thegts = array();
                                    }
                                    // SAFE GT END
                                    } 
                                    }
				}
Ersetze mit:

Code: Alles auswählen

else
                                    {
                                            $thegts = array();
                                    }
                                    // SAFE GT END
                                    
                                    
				}