Ich benutze die Schritt-für-Schritt Anleitung.
Nach dem ich alles durchgeführt habe, kommt folgende Fehlermeldung nach einem Login Versuch:
Parse error: parse error, unexpected T_ELSE in /home/www/wa398/html/forum/login.php on line 135
In der Anleitung steht man soll folgendes machen:
Code: Alles auswählen
#
#-----[ OPEN ]---------------------------------------------
#
login.php
#
#-----[ FIND ]---------------------------------------------
# Line 80
$row['user_last_login_try'] >= (time() - ($board_config['login_reset_time'] * 60)) && $row['user_login_tries'] >= $board_config['max_login_attempts'])
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$row['user_last_login_try'] >= (time() - ($board_config['login_reset_time'] * 60)) && $row['user_login_tries'] >= $board_config['max_login_attempts'] && $userdata['user_level'] != ADMIN)
#
#-----[ FIND ]---------------------------------------------
# Line 105
else
{
message_die(CRITICAL_ERROR, "Couldn't start session : login", "", __LINE__, __FILE__);
}
}
#
#-----[ FIND ]---------------------------------------------
# Line 110
else
#
#-----[ REPLACE WITH ]---------------------------------------------
#
// Only store a failed login attempt for an active user - inactive users can't login even with a correct password
elseif( $row['user_active'] )
Das habe ich auch gemacht aber trotzdem kommt der Fehler.
Hier meine login.txt:
http://www.mediauser.de/login.txt
Ich hab jetzt wieder ein Backup eingespielt bis das Problem behoben ist.