Register fout
Geplaatst: 31 aug 2005, 17:15
Hallo,
Ik heb al zelf geporbeert maar ik snap niet echt wat de fout is.
Usercp_register.php
Bij voorbaat dank.
Ik heb al zelf geporbeert maar ik snap niet echt wat de fout is.
Code: Selecteer alles
Could not insert data into 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 'sdgd', 1125507791, '098f6bcd4621d373cade4e832627b4f6', 'gsdg@hotmail.com', '', '' at line 4
INSERT INTO phpbb_users (user_reg_ip, user_reg_host, user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_car_mark, user_car_mark_choice, user_car_model, user_car_model_choice, user_car_year, user_car_year_choice, user_car_engine, user_car_engine_choice, user_car_wheel, user_car_trans, user_car_color, user_car_rt, user_car_sixty, user_car_three, user_car_eigth, user_car_eigthm, user_car_thou, user_car_quart, user_car_quartm, user_mod_engine, user_mod_exterior, user_mod_interior, user_mod_rims, user_mod_audio, user_mod_future , user_sig, user_sig_bbcode_uid, user_avatar, user_avatar_type, user_viewemail, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, user_popup_pm, user_timezone, user_dateformat, user_lang, user_style, user_level, user_allow_pm, user_active, user_actkey , user_birthday, user_next_birthday_greeting) VALUES ('127.0.0.1', 'localhost', ' 4, 'sdgd', 1125507791, '098f6bcd4621d373cade4e832627b4f6', 'gsdg@hotmail.com', '', '', '', '', '', '', '(Make)', '', '(Model)', '', '(Year)', '', '(Engine)', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, '', '', '', 1, 1, 0, 1, 1, 0, 1, 1, 3.5, 'D M d, Y H:i', 'english', 2, 0, 1, '999999', '', 1, '')
Line : 792
File : usercp_register.php
Code: Selecteer alles
if ( !($result = $db->sql_query($sql, BEGIN_TRANSACTION)) )
{
lijn: 792 message_die(GENERAL_ERROR, 'Could not insert data into users table', '', __LINE__, __FILE__, $sql);
}