Seite 1 von 1

Fehlermeldung beiMOD Add Address and Skypename to Userprofil

Verfasst: 17.10.2006 11:16
von Mattrox
Bei mir kommt folgende Fehlermeldung wenn ich auf Profil klicke:

Code: Alles auswählen

Parse error: syntax error, unexpected T_DOUBLE_ARROW, expecting ')' in /usr/export/www/vhosts/funnetwork/hosting/zbreakerz/phpBB2/includes/usercp_register.php on line 111
Zeile und in Zeile 110 - 111 steht:

Code: Alles auswählen

	$strip_var_list = array('email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests', 'vorname' => 'vorname', 'name' => 'name', 'strasse' => 'strasse', 'ort' => 'ort', 'telefon' => 'telefon', 'skype' => 'skype'
 => 'interests', 'realname' => 'realname', 'adress' => 'adress', 'birth' => 'birth', 'photo' => 'photo', 'slogan' => 'slogan', 'opt_title' => 'opt_title', 'opt_text' => 'opt_text', 'team_desc' => 'team_desc', 'team_text' => 'team_text'
Ich hoffe ihr könnt mir helfen :) :P

Vielen Dank schonmal im vorraus .

Re: Fehlermeldung beiMOD Add Address and Skypename to Userpr

Verfasst: 17.10.2006 11:26
von gloriosa
Hallo,
sofern Du den Einbau vor dem Posten überprüft hättest wäre Dir aufgefallen, dass Du einen gravierenden Einbaufehler verursacht hast. :oops:
Mattrox hat geschrieben:$strip_var_list = array('email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests', 'vorname' => 'vorname', 'name' => 'name', 'strasse' => 'strasse', 'ort' => 'ort', 'telefon' => 'telefon', 'skype' => 'skype' => 'interests', 'realname' => 'realname', 'adress' => 'adress', 'birth' => 'birth', 'photo' => 'photo', 'slogan' => 'slogan', 'opt_title' => 'opt_title', 'opt_text' => 'opt_text', 'team_desc' => 'team_desc', 'team_text' => 'team_text'
Richtig muss es lauten :
$strip_var_list = array('email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests', 'vorname' => 'vorname', 'name' => 'name', 'strasse' => 'strasse', 'ort' => 'ort', 'telefon' => 'telefon', 'skype' => 'skype', 'realname' => 'realname', 'adress' => 'adress', 'birth' => 'birth', 'photo' => 'photo', 'slogan' => 'slogan', 'opt_title' => 'opt_title', 'opt_text' => 'opt_text', 'team_desc' => 'team_desc', 'team_text' => 'team_text'

Danke :)

Verfasst: 17.10.2006 11:53
von Mattrox
Vielen Dank geht wieder
Nächster Fehler:

Could not update users table

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Stefan', 'N.', 'M----------1-', '34----, Kassel', '0190-666666', 'king-tony1', ' at line 2

UPDATE phpbb_HBRForumusers SET user_email = 'Mattrox@Arcor.de', user_icq = '', user_website = 'http://Habbobreak-Radio.de.vu', user_occ = 'Schüler', user_from = 'Kassel', user_interests = '...', 'Stefan', 'N.', 'M----------1-', '34----, Kassel', '0190-666666', 'king-tony1', , user_vorname = 'Stefan', user_name = 'N.', user_strasse = 'M----------1-', user_ort = '34----, Kassel', user_telefon = '0190-666666', user_skype = 'king-tony1' , user_sig = 'Adminstrator von Habbobreak. Bald gibts ein Event... Lasst euch überraschen. :) http://Habbobreak-Radio.de.vu', user_sig_bbcode_uid = '33239144dd', user_viewemail = 1, user_aim = '', user_yim = '', user_msnm = 'Cola5_1@Hotmail.com', user_attachsig = 1, user_allowsmile = 1, user_allowhtml = 0, user_allowbbcode = 1, user_allow_viewonline = 1, user_notify = 0, user_notify_pm = 1, user_popup_pm = 1, user_timezone = 0, user_dateformat = 'd M Y h:i a', user_lang = 'german_formal', user_style = 1, user_active = 1, user_actkey = '', user_realname = 'Stefan N.', user_adress = 'M--------15 3------, Kassel', user_birth = '13', user_photo = '', user_slogan = 'Lebe dein Leben pro Tag so wie jeden anderen denn es könnte dein letzter sein.', user_topt_title = '', user_topt_text = '', user_teamdesc_title = '', user_teamtext = '', team_website = '1', team_email = '1', team_pm = '1' WHERE user_id = 2

Line : 546
File : usercp_register.php


545 - 546 steht:

Code: Alles auswählen

			{
				message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);

Verfasst: 17.10.2006 12:06
von gloriosa
Hallo,
Dir sind wohl die BBcode-Tags ausgegangen und dann postet Du jetzt wohl in Rot damit der Betrachter an Augenkrebs erkranken soll. :oops:

Deswegen suche die von Dir verursachten Einbaufehler selbst. :D

Verfasst: 17.10.2006 12:16
von Mattrox
Vielen Dank geht wieder
Nächster Fehler:

Code: Alles auswählen

Could not update users table

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Stefan', 'N.', 'M----------1-', '34----, Kassel', '0190-666666', 'king-tony1', ' at line 2

UPDATE phpbb_HBRForumusers SET user_email = 'Mattrox@Arcor.de', user_icq = '', user_website = 'http://Habbobreak-Radio.de.vu', user_occ = 'Schüler', user_from = 'Kassel', user_interests = '...', 'Stefan', 'N.', 'M----------1-', '34----, Kassel', '0190-666666', 'king-tony1', , user_vorname = 'Stefan', user_name = 'N.', user_strasse = 'M----------1-', user_ort = '34----, Kassel', user_telefon = '0190-666666', user_skype = 'king-tony1' , user_sig = 'Adminstrator von Habbobreak. Bald gibts ein Event... Lasst euch überraschen. http://Habbobreak-Radio.de.vu', user_sig_bbcode_uid = '33239144dd', user_viewemail = 1, user_aim = '', user_yim = '', user_msnm = 'Cola5_1@Hotmail.com', user_attachsig = 1, user_allowsmile = 1, user_allowhtml = 0, user_allowbbcode = 1, user_allow_viewonline = 1, user_notify = 0, user_notify_pm = 1, user_popup_pm = 1, user_timezone = 0, user_dateformat = 'd M Y h:i a', user_lang = 'german_formal', user_style = 1, user_active = 1, user_actkey = '', user_realname = 'Stefan N.', user_adress = 'M--------15 3------, Kassel', user_birth = '13', user_photo = '', user_slogan = 'Lebe dein Leben pro Tag so wie jeden anderen denn es könnte dein letzter sein.', user_topt_title = '', user_topt_text = '', user_teamdesc_title = '', user_teamtext = '', team_website = '1', team_email = '1', team_pm = '1' WHERE user_id = 2
Line : 546
File : usercp_register.php

545 - 546 steht:
Code:

Code: Alles auswählen

         {
            message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);