バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

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

フロント機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
mamano
投稿日時: 2011/11/21 14:10
対応状況: −−−
一人前
登録日: 2011/6/28
居住地:
投稿: 83
エラー Call to a member function
大変お世話になります。

既存の室質問スレッド
「ポイント割引を考慮した送料無料の設定」に記入の通り、
カスタマイズを施しておる最中ですが、以下のようなエラーが出るようになってしまいました。

Fatal error: Call to a member function isLoginSuccess() on a non-object in /var/www/vhosts/***/app/data/class/helper/SC_Helper_Purchase.php on line 397


これは、LC_Page_Shopping_Deliv.phpに以下コードをコピー&ペーストした結果、
カート→配送先の指定→の順で表示されるエラーです。
$objCustomer->isLoginSuccess
と記述してある通り、SC_Customer_Exからコールしているものと認識しておりますが、
エラーでは、SC_Helper_Purchaseからコールしてしようとしているようです。
※認識間違っていたら申し訳ありません。

どのようにすればエラー回避ができるのか、ご教授いただけますようお願い申し上げます。

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);

// 会員情報の取得
if ($objCustomer->isLoginSuccess(true)) {
$this->tpl_login = '1';
$this->tpl_user_point = $objCustomer->getValue('point');
$this->name01 = $objCustomer->getValue('name01');
$this->name02 = $objCustomer->getValue('name02');


---------------------------------
[EC-CUBE]2.11.1
[レンタルサーバ]GMO VPS
[OS]CentOS release 5.3
[PHP]5.1.6-23.9v1
[データベース]MySQL 5.0.77
[WEBサーバ]apache2

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


題名 投稿者 日時
 » エラー 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プラグイン

統計情報

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

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1651
8
red
1570
9
mcontact
1299
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.