Seite 2 von 2

Verfasst: 09.04.2006 20:43
von BananaJoe
Ich habe nach dem Update auf die neue Version auch Login Fehler.

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.

Verfasst: 09.04.2006 21:05
von bastixxl
vielen dank für eure hilfe es tut jetzt

Verfasst: 11.04.2006 10:50
von BananaJoe
Keiner ne Idee?