Seite 1 von 1

usercp_register fehlermeldung

Verfasst: 19.10.2004 15:19
von GoOffroad
ich bekomme beim Aufruf von der Registriere-Seite folgende Fehlermeldung:
Warning: Illegal offset type in /mnt/kw1/07/637/00000011/htdocs/phpBB2/includes/usercp_register.php on line 108

Warning: Illegal offset type in /mnt/kw1/07/637/00000011/htdocs/phpBB2/includes/usercp_register.php on line 108

Warning: Cannot add header information - headers already sent by (output started at /mnt/kw1/07/637/00000011/htdocs/phpBB2/includes/usercp_register.php:108) in /mnt/kw1/07/637/00000011/htdocs/phpBB2/includes/page_header.php on line 676

Warning: Cannot add header information - headers already sent by (output started at /mnt/kw1/07/637/00000011/htdocs/phpBB2/includes/usercp_register.php:108) in /mnt/kw1/07/637/00000011/htdocs/phpBB2/includes/page_header.php on line 678

Warning: Cannot add header information - headers already sent by (output started at /mnt/kw1/07/637/00000011/htdocs/phpBB2/includes/usercp_register.php:108) in /mnt/kw1/07/637/00000011/htdocs/phpBB2/includes/page_header.php on line 679
Sieht doch doof aus, wenn man direkt schon beim Anmelden eine Fehlermeldung bekommt. Das muss wech... bitte schnelle Hilfe... danke

hier folgende Dateien als .txt file

usercp_register.php Zeile 108 ist markiert

page_header.php Zeile 676 ist markiert

Gruß Mark

Verfasst: 19.10.2004 15:29
von Markus67
Hi ...

suche und lösche in der usercp_register.php

Code: Alles auswählen

	$strip_var_list = array('username' => 'username',
	// Begin Map Mod
$strip_vars_mapmod = array('longitude' => 'longitude', 'latitude' => 'latitude'),
$strip_var_list = array_merge ($strip_var_list, $strip_vars_mapmod),
// End Map Mod
 'email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests');
suche:

Code: Alles auswählen

	// Strip all tags from data ... may p**s some people off, bah, strip_tags is
davor einfügen:

Code: Alles auswählen

	$strip_var_list = array('username' => 'username', 'email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests');
	// Begin Map Mod
	$strip_vars_mapmod = array('longitude' => 'longitude', 'latitude' => 'latitude'),
	$strip_var_list = array_merge ($strip_var_list, $strip_vars_mapmod),
	// End Map Mod
Markus

Verfasst: 19.10.2004 15:39
von GoOffroad
Hallo Markus,


das hatte ich auch schon versucht, aber das klappt nicht.

wenn ich das so änder, dann kommt die Fehlermeldung, dass der Fehler in line 98 liege.
also hier

Code: Alles auswählen

$strip_vars_mapmod = array('longitude' => 'longitude', 'latitude' => 'latitude'), 
Anmerkung: Unter der Fehlermeldung baut sich die Seite ganz normal auf. Wenn ich die Seite aber ändere wie Du es vorgeschlagen hast kommt nur eine Fehlermeldung mit dem Hinweis auf Zeile 98. Sonst nichts.

Gruß Mark

Verfasst: 19.10.2004 15:44
von Markus67
Hi ...

ändere es bitte so ab .... verlinke die neue Datei nochmal ... und welche Fehlermeldung kommt dann genau ?

Markus

Verfasst: 19.10.2004 15:47
von GoOffroad
klicke oben auf den Link ist aktualisiert

Meldung:
Parse error: parse error in /mnt/kw1/07/637/00000011/htdocs/phpBB2/includes/usercp_register.php on line 98

Verfasst: 19.10.2004 15:51
von Markus67
Hi ....

lösche mal noch deinen Kommentar ...

Code: Alles auswählen

///dies ist Zeile 108
Markus

Verfasst: 19.10.2004 15:57
von GoOffroad
ändert auch nichts.... :cry:

Verfasst: 19.10.2004 16:08
von Markus67
Hi ...

suche:

Code: Alles auswählen

   $strip_vars_mapmod = array('longitude' => 'longitude', 'latitude' => 'latitude'), 
   $strip_var_list = array_merge ($strip_var_list, $strip_vars_mapmod), 
ersetze mit:

Code: Alles auswählen

$strip_vars_mapmod = array('longitude' => 'longitude', 'latitude' => 'latitude');
$strip_var_list = array_merge ($strip_var_list, $strip_vars_mapmod);
Markus

Verfasst: 19.10.2004 16:15
von GoOffroad
Danke markus das war es. Es klappt jetzt.

[ externes Bild ]

Gruß Mark