Seite 1 von 1

Fehler / Fähnchen auf Schweizer Karte

Verfasst: 16.01.2005 20:44
von Gert
Hi Leuts....

hab mal den Map Mod installiert.

Zum einen bekomme ich diese Fehlermeldung beim registrieren:
Warning: Illegal offset type in /home/www/web205/html/phpBB2/includes/usercp_register.php on line 124

Warning: Illegal offset type in /home/www/web205/html/phpBB2/includes/usercp_register.php on line 124

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web205/html/phpBB2/includes/usercp_register.php:124) in /home/www/web205/html/phpBB2/includes/page_header.php on line 496

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web205/html/phpBB2/includes/usercp_register.php:124) in /home/www/web205/html/phpBB2/includes/page_header.php on line 498

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web205/html/phpBB2/includes/usercp_register.php:124) in /home/www/web205/html/phpBB2/includes/page_header.php on line 499
Zum anderen.......

Auf allen Karten (Austria, Germany, Germany-Austria-Switzerland) sind die Fähnchen farbig.

Wenn ich nur die Schweizer Karte aufrufe aber nicht......sind einfach grau.

Woran könnte das liegen??

Gruss gert

EDIT: Das mirt den Fähnchen hat sich erledigt, hab ne andere Karte genommen......damit gehts:-)

Verfasst: 16.01.2005 23:30
von Gert
Hi....

wenn ich das aus der usercp_register rausnehme kommt die Fehlermeldung nicht mehr!??

Code: Alles auswählen

//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
Gruss Gert

Verfasst: 17.01.2005 22:26
von Gert
Hi......

könnte jemand der den Map Mod installiert hat die Passage (also so ca. 10 Zeilen drüber und drunter) aus der usercp_register.php hier reinsetzen in der folgende Zeilen vorkommen :

Code: Alles auswählen

//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
Danke!

Gruss gert

Verfasst: 18.01.2005 22:58
von Gert
Danke :(

Verfasst: 20.01.2005 12:13
von Gert
Hi....

kann niemand diese Passage hier rein setzen?

Gruss gert

Verfasst: 20.01.2005 12:31
von andreasOymann
Verlinke bitte mal deine usercp_register.php als Textdatei...

Bei mir sieht der Code so aus:

Code: Alles auswählen

        if ( $mode == 'editprofile' )
        {
                $user_id = intval($HTTP_POST_VARS['user_id']);
                $current_email = trim(htmlspecialchars($HTTP_POST_VARS['current_email']));
        }

        $strip_var_list = array('username' => 'username', 'email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'plz' => 'plz', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests', 'phone1' => 'phone1', 'phone2' => 'phone2', 'prename' => 'prename', 'lastname' => 'lastname', 'street' => 'street');
		$strip_var_list['confirm_code'] = 'confirm_code';

		// 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

        // Strip all tags from data ... may p**s some people off, bah, strip_tags is
        // doing the job but can still break HTML output ... have no choice, have
        // to use htmlspecialchars ... be prepared to be moaned at.

Verfasst: 20.01.2005 16:58
von Gert
Hi Andreas......

nun klappts! Danke dir! :wink:

Gruss gert