バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > フロント機能 > エラー Call to a member function

フロント機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
mamano
投稿日時: 2011/11/21 14:26
対応状況: −−−
一人前
登録日: 2011/6/28
居住地:
投稿: 83
Re: エラー Call to a member function
ご返信ありがとうございます。


>$objCustomer->isLoginSuccessが
>呼ばれる前に、
>$objCustomer = new SC_Customer_Ex();
>のコードはありますか。
はい、
function action() {
$objSiteSess = new SC_SiteSession_Ex();
$objCartSess = new SC_CartSession_Ex();
$objCustomer = new SC_Customer_Ex();
$objPurchase = new SC_Helper_Purchase_Ex();
$objFormParam = new SC_FormParam_Ex();
$objCookie = new SC_Cookie_Ex(COOKIE_EXPIRE);

上記のように記述してあります。

>また、$objCustomer->isLoginSuccessを
>呼び出す前に、var_dump($objCustomer);
>などして、オブジェクトが正しく設定されているか
>調べたほうがいいと思います。
var_dump($objCustomer); で調べたところ
object(SC_Customer_Ex)#15 (1) { ["customer_data"]=> NULL }
となりました。
正しく設定されていない、ということでしょうか。。。



フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   エラー Call to a member function mamano 2011/11/21 14:10
     Re: エラー Call to a member function seasoft 2011/11/21 14:15
       Re: エラー Call to a member function seasoft 2011/11/21 14:39
         Re: エラー Call to a member function mamano 2011/11/21 14:52
           Re: エラー Call to a member function seasoft 2011/11/21 14:57
             Re: エラー Call to a member function mamano 2011/11/21 15:21
               Re: エラー Call to a member function eoogle 2011/11/21 15:26
                 Re: エラー Call to a member function mamano 2011/11/21 16:06
               Re: エラー Call to a member function seasoft 2011/11/21 15:27
                 Re: エラー Call to a member function mamano 2011/11/21 16:01
                   Re: エラー Call to a member function seasoft 2011/11/21 16:12
                     Re: エラー Call to a member function mamano 2011/11/21 17:18
                       Re: エラー Call to a member function seasoft 2011/11/22 0:11
                         Re: エラー Call to a member function mamano 2011/11/22 5:33
                           Re: エラー Call to a member function seasoft 2011/11/22 9:01
     Re: エラー Call to a member function eoogle 2011/11/21 14:15
     » Re: エラー Call to a member function mamano 2011/11/21 14:26
         Re: エラー Call to a member function eoogle 2011/11/21 14:35
           Re: エラー Call to a member function mamano 2011/11/21 14:46
             Re: エラー Call to a member function mamano 2011/11/22 18:18
               Re: エラー Call to a member function eoogle 2011/11/22 18:28

 



ログイン


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

統計情報

総メンバー数は107,812名です
総投稿数は112,697件です

投稿数ランキング

1
seasoft
7369
2
468
3217
3
AMUAMU
2712
4
nanasess
2334
5
umebius
2085
6
h_tanaka
2017
7
yuh
1900
8
mcontact
1731
9
red
1582
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
805
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
balisys
502


ネットショップの壺

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

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