1 頁 (共 1 頁)

[問題]安裝mod後發生問題

發表於 : 2004-11-27 01:43
Princekelvin
安裝mod後發生問題

代碼: 選擇全部

Could not insert data into users table

DEBUG MODE

INSERT INTO phpbb_users (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_dateformat, user_lang, user_style, user_gender , user_blood, user_level, user_allow_pm, user_active, user_actkey, user_birthday, user_next_birthday_greeting) VALUES (135, 'test1', 1101490922, '0cc175b9c0f1b6a831c399e269772661', 'fiona0770@sinagirl.com', '', '', '', '', '', '', '', '', 0, 0, '', '', '', 1, 1, 1, 1, 1, 0, 1, 1, 8, 'D M d, Y g:i a', 'chinese_traditional_taiwan', 2, '0', '0' , 0, 1 '3557', '2005', 0, 'cf93995')

Line : 829
File : c:\appserv\www\phpbb\includes\usercp_register.php

請各位幫幫忙吧

發表於 : 2004-11-27 01:53
tom82612
有錯碼

發表於 : 2004-11-27 02:01
flower
請依照發文格式 不然沒人知道您安裝的是那個 MOD

如果是裝 birthday MOD 出問題
那可能是 user_birthday, user_next_birthday_greeting 位置放錯

請參考 usercp_register.php
USERS_TABLE 的部份:
user_level, user_allow_pm, user_birthday, user_next_birthday_greeting, user_active, user_actkey

VALUE 的部份:
0, 1, '$birthday', '$next_birthday_greeting', ";

重點在 變數名稱和數值的相對位置一定要正確

發表於 : 2004-11-27 22:21
Princekelvin
謝謝幫忙