バージョン選択

フォーラム

メニュー

オンライン状況

48 人のユーザが現在オンラインです。 (39 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 48
もっと...

サイト内検索

質問 > フロント機能 > 会員登録での必須項目解除後、確認ページ完了のエラー

フロント機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
MIYATA
投稿日時: 2012/8/13 13:52
対応状況: −−−
半人前
登録日: 2012/7/7
居住地:
投稿: 23
Re: 会員登録での必須項目解除後、確認ページ完了のエラー
有り難うございます。
初心者なので少しお教え下さい。
--DBの方で、name01カラムをユニーク設定されていたりしませんか?--は
DBはhtml/install/sql/create_table_mysql.sqlの
create_table_mysql.sqlの事でしょうか?

CREATE TABLE dtb_customer (
customer_id int NOT NULL,
name01 text NOT NULL,
name02 text NOT NULL,
kana01 text NOT NULL,
kana02 text NOT NULL,
zip01 text,
zip02 text,
pref smallint,
addr01 text,
addr02 text,
email text NOT NULL,
email_mobile text,
tel01 text,
tel02 text,
tel03 text,
fax01 text,
fax02 text,
fax03 text,
sex smallint,
job smallint,
birth datetime,
password text,
reminder smallint,
reminder_answer text,
salt text,
secret_key varchar(50) NOT NULL UNIQUE,
first_buy_date datetime,
last_buy_date datetime,
buy_times numeric DEFAULT 0,
buy_total numeric DEFAULT 0,
point numeric DEFAULT 0,
note text,
status smallint NOT NULL DEFAULT 1,
create_date timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
update_date timestamp NOT NULL,
del_flg smallint NOT NULL DEFAULT 0,
mobile_phone_id text,
mailmaga_flg smallint,
PRIMARY KEY (customer_id)
になっていました。

php初心者での試した事は(エラーにならない方法)
LC_Page_Entry.phpの
//-- 会員登録と完了画面
※ $this->arrErr = SC_Helper_Customer_Ex::sfCustomerEntryErrorCheck($objFormParam);
※ if(empty($this->arrErr)) {

※ $uniqid = $this->lfRegistCustomerData($this->lfMakeSqlVal($objFormParam));

$this->tpl_mainpage = 'entry/complete.tpl';
$this->tpl_title = '会員登録(完了ページ)';
$this->lfSendMail($uniqid, $this->arrForm);

// 仮会員が無効の場合
if(CUSTOMER_CONFIRM_MAIL == false) {
// ログイン状態にする
$objCustomer = new SC_Customer_Ex();
$objCustomer->setLogin($this->arrForm['email']);
※ }
// 完了ページに移動させる。
SC_Response_Ex::sendRedirect('complete.php', array('ci' => SC_Helper_Customer_Ex::sfGetCustomerId($uniqid)));
}
の ※の部分をコメントアウトとすると完了と、登録完了のメールが出来るのですが、
顧客管理には登録されません。
単純に考えると、enptyエラーをコメントアウトして顧客管理に登録出来る様にタグすれば良いのかと
思うのですが、出来るのでしょうか???????
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   会員登録での必須項目解除後、確認ページ完了のエラー MIYATA 2012/8/12 15:13
     Re: 会員登録での必須項目解除後、確認ページ完了のエラー torataro 2012/8/13 0:29
     » Re: 会員登録での必須項目解除後、確認ページ完了のエラー MIYATA 2012/8/13 13:52
         Re: 会員登録での必須項目解除後、確認ページ完了のエラー torataro 2012/8/13 16:48
           Re: 会員登録での必須項目解除後、確認ページ完了のエラー MIYATA 2012/8/14 8:08
             Re: 会員登録での必須項目解除後、確認ページ完了のエラー torataro 2012/8/14 10:06
               Re: 会員登録での必須項目解除後、確認ページ完了のエラー MIYATA 2012/8/14 12:28
                 Re: 会員登録での必須項目解除後、確認ページ完了のエラー torataro 2012/8/14 15:31
                   Re: 会員登録での必須項目解除後、確認ページ完了のエラー MIYATA 2012/8/14 17:48
                     Re: 会員登録での必須項目解除後、確認ページ完了のエラー torataro 2012/8/14 18:34
                       Re: 会員登録での必須項目解除後、確認ページ完了のエラー MIYATA 2012/8/15 9:29

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は89,285名です
総投稿数は110,075件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1652
8
red
1570
9
mcontact
1302
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.