
Сейчас буду адд-он с зодиаками устанавливать.
Кстати, если будете устанавливать этот мод, можно сразу ставить мод "Gender" от того же автора. Конфликтов не обнаружено, что и не удивительно ))
Код: Выделить всё
Could not insert data into users table
DEBUG MODE
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_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_time_mode, user_dst_time_lag, user_dateformat, user_lang, user_style, user_gender, user_level, user_allow_pm, user_birthday, user_next_birthday_greeting, user_active, user_actkey) VALUES ('77.246.104.201', '77.246.104.201', 39, 'test_test', 1187689126, '827ccb0eea8a706c4c34a16891f84e7b', 'test@mail.ru', '', '', '', '', '', '', '', '', 0, 0, '', '', '', 1, 1, 0, 1, 1, 0, 1, 1, 0, 6, 60, 'D M d, Y g:i a', 'russian', 1, '0', 0, 1, 0, '0b8717650f9c1b1b864')
Line : 815
File : usercp_register.php
Спасибо за ответ.crash писал(а):P.
не корректно поставили. Так как не хватает у вас полей в запросе, чтото нахимичили
Код: Выделить всё
#
#-----[ FIND ]------------------------------------------------
#
VALUES ($user_id,
#
#-----[ IN-LINE FIND ]----------------------------------------
#
, ";
#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------
#
, '$birthday', '$next_birthday_greeting'
Код: Выделить всё
VALUES ($user_id, $group_id, 0)";
Код: Выделить всё
VALUES ($user_id, $group_id, '$birthday', '$next_birthday_greeting', 0)";
, потом в ней найтиP. писал(а):VALUES ($user_id,
и перед этим вставитьP. писал(а):, ";
то что показываете выP. писал(а):, '$birthday', '$next_birthday_greeting'
является не той строкой, так как у вас как минимум нетP. писал(а):VALUES ($user_id, $group_id, 0)";
P. писал(а):, ";
В том то и дело, что у меня нет ни где:crash писал(а):P.
вы должны найти строку, которая начинается на, потом в ней найтиP. писал(а):VALUES ($user_id,и перед этим вставитьP. писал(а):, ";P. писал(а):, '$birthday', '$next_birthday_greeting'
Код: Выделить всё
, ";
Код: Выделить всё
$sql = "INSERT INTO " . USERS_TABLE . " (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_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_time_mode, user_dst_time_lag, user_dateformat, user_lang, user_style, user_gender, user_level, user_allow_pm, user_birthday, user_next_birthday_greeting, user_active, user_actkey)
VALUES ('" . str_replace("\'", "''", $user_reg_id) . "', '" . str_replace("\'", "''", $user_reg_host) . "', $user_id, '" . str_replace("\'", "''", $username) . "', " . time() . ", '" . str_replace("\'", "''", $new_password) . "', '" . str_replace("\'", "''", $email) . "', '" . str_replace("\'", "''", $icq) . "', '" . str_replace("\'", "''", $website) . "', '" . str_replace("\'", "''", $occupation) . "', '" . str_replace("\'", "''", $location) . "', '" . str_replace("\'", "''", $interests) . "', '" . str_replace("\'", "''", $signature) . "', '$signature_bbcode_uid', $avatar_sql, $viewemail, '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', '" . str_replace("\'", "''", $yim) . "', '" . str_replace("\'", "''", $msn) . "', $attachsig, $allowsmilies, $allowhtml, $allowbbcode, $allowviewonline, $notifyreply, $notifypm, $popup_pm, $user_timezone, $time_mode, $dst_time_lag, '" . str_replace("\'", "''", $user_dateformat) . "', '" . str_replace("\'", "''", $user_lang) . "', $user_style, '$gender', 0, 1, ";
Код: Выделить всё
, '';
Код: Выделить всё
VALUES ($user_id, $group_id, '$birthday', '$next_birthday_greeting', 0)";