バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

バグ報告 > フロント機能 > Call-time pass-by-reference のエラー

フロント機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
shiro2007
投稿日時: 2008/11/13 14:13
対応状況: −−−
常連
登録日: 2008/9/10
居住地:
投稿: 52
Call-time pass-by-reference のエラー
(バグというものではないのですが)
環境は、
EC-CUBEバージョン 2.3.1
PHPバージョン PHP 5.2.5

allow_call_time_pass_reference = Off の環境でのみ起こると思いますが、
「管理者画面」→「コンテンツ管理」→「キャンペーン管理」で
以下のようなエラーがでます。

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /パス/data/class/pages/admin/contents/LC_Page_Admin_Contents_Campaign.php on line 105

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /パス/data/class/pages/admin/contents/LC_Page_Admin_Contents_Campaign.php on line 111

php.iniで、
allow_call_time_pass_reference = on
にするか、.htaccess で、
php_flag allow_call_time_pass_reference on
で直ると思います。

1月にも質問している方がいるようですが、
http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=1637&forum=2&post_id=5521#forumpost5521
本体で直しておいた方がいいかと思います。

105行目
$this->lfGetCampaign($campaign_id, &$objQuery);

$this->lfGetCampaign($campaign_id, $objQuery);

111行目
$this->lfDeleteCampaign($campaign_id, &$objQuery);

$this->lfDeleteCampaign($campaign_id, $objQuery);

& をカット。

よろしくお願いします。
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
 » Call-time pass-by-reference のエラー shiro2007 2008/11/13 14:13
     Re: Call-time pass-by-reference のエラー shiro2007 2008/11/13 14:18
       Re: Call-time pass-by-reference のエラー seasoft 2008/11/13 15:42
         Re: Call-time pass-by-reference のエラー shiro2007 2008/11/13 17:49
           Re: Call-time pass-by-reference のエラー seasoft 2008/11/13 22:01

 



ログイン


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

統計情報

総メンバー数は90,192名です
総投稿数は110,326件です

投稿数ランキング

1
seasoft
7369
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1682
8
red
1571
9
mcontact
1352
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.