バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > フロント機能 > [お支払方法・お届け時間等の指定]ページのカスタマイズ ver.2.13.1

フロント機能

新規スレッドを追加する

スレッド表示 | 古いものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
tenso
投稿日時: 2015/1/9 11:03
対応状況: −−−
一人前
登録日: 2014/3/17
居住地:
投稿: 74
Re: [お支払方法・お届け時間等の指定]ページのカスタマイズ ver.2.13.1
iwakiri 様

お蔭様で、問題が解決いたしました。ありがとうございます。
ほとんど諦めかけていたのですが、エラーが解決してスッキリしました。
本当に感謝・感謝です。

red 様
ご指摘頂いた「コメントアウト終了のコードが足りない」とのアドバイス内容を正しく理解できず、事がゴタゴタとなりまして、申し訳ありません。

その他、数々の貴重なご助言を頂いた方々にも感謝申し上げます。
本当にありがとう御座いました。
iwakiri
投稿日時: 2015/1/7 17:11
対応状況: −−−
半人前
登録日: 2014/11/4
居住地:
投稿: 13
Re: [お支払方法・お届け時間等の指定]ページのカスタマイズ ver.2.13.1
tensoさま

2014-12-24 12:42 投稿のコードを元に修正しました。

<!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
<!--{if false}--> ・・・・・・・・・・・・・・・・・・・・【ココにコメントアウト開始のコードを挿入】
<div class="pay_area02">
<h3>お届け時間の指定</h3>
<p class="select-msg">誠に恐れながら、海外発送につきましては時間指定をご利用いただけません。</p>
<p class="non-select-msg">まずはじめに、配送方法を選択ください。</p>
<!--{foreach item=shippingItem name=shippingItem from=$arrShipping}-->
<!--{assign var=index value=$shippingItem.shipping_id}-->
<div class="delivdate top">
<!--{if $is_multiple}-->
<span class="st">▼<!--{$shippingItem.shipping_name01}--><!--{$shippingItem.shipping_name02}-->
<!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01}--><!--{$shippingItem.shipping_addr02}--></span><br/>
<!--{/if}-->
<!--★お届け日★-->
<!--{assign var=key value="deliv_date`$index`"}-->
<span class="attention"><!--{$arrErr[$key]}--></span>
お届け日:
<!--{if !$arrDelivDate}-->
ご指定頂けません。
<!--{else}-->
<select name="<!--{$key}-->" id="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
<option value="" selected="">指定なし</option>
<!--{assign var=shipping_date_value value=$arrForm[$key].value|default:$shippingItem.shipping_date}-->
<!--{html_options options=$arrDelivDate selected=$shipping_date_value}-->
</select>&nbsp;
<!--{/if}-->
<!--★お届け時間★-->
<!--{assign var=key value="deliv_time_id`$index`"}-->
<span class="attention"><!--{$arrErr[$key]}--></span>
お届け時間:
<select name="<!--{$key}-->" id="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
<option value="" selected="">指定なし</option>
<!--{assign var=shipping_time_value value=$arrForm[$key].value|default:$shippingItem.time_id}-->
<!--{html_options options=$arrDelivTime selected=$shipping_time_value}-->
</select>
</div>
<!--{/foreach}-->
</div>
<!--{/if}--> ・・・・・・・・・・・・・・・・・・・・【ココにコメントアウト終了のコードを挿入】
<!--{/if}-->


上記、赤字の部分を追加すると正常に動作するかと思いますが、いかがでしょうか。
投稿された範囲は<!--{if false}-->からでしたが、その上に<!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->(青字の部分)がありませんか?
恐らく、<!--{/if}-->は末尾に既にあると判断されたのかと思いますが、こちらは青色でペアを表しているように、
<!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> の終了タグです。

red様のおっしゃる「コメントアウト終了のコードが足りない」というのはこのことかと思います。
参考になれば幸いです。
tenso
投稿日時: 2015/1/7 11:59
対応状況: −−−
一人前
登録日: 2014/3/17
居住地:
投稿: 74
Re: [お支払方法・お届け時間等の指定]ページのカスタマイズ ver.2.13.1
IPLOGIC 様

度々のご返信を頂きまして、誠にありがとうございます。
エラーログファイルから問題箇所を特定することが出来るのであれば助かります。

以下に、ご指摘頂いたエラーログファイルを添付致しました。

まず1つ目は、コメントアウトのカスタマイズを試みた時間帯です。

===================
2014/12/26 12:54:03 [/shopping/load_payment_module.php] Warning(E_USER_WARNING): ページ情報を取得できませんでした。 on [/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/helper/SC_Helper_PageLayout.php(59)] from 220.255.1.62
2014/12/26 12:54:03 [/shopping/load_payment_module.php] Warning(E_USER_WARNING): メイン部のテンプレートが存在しません。[/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates/default/.tpl] on [/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/helper/SC_Helper_PageLayout.php(66)] from 220.255.1.62
2014/12/26 13:16:23 [/shopping/payment.php] Fatal error(E_USER_ERROR): Smarty error: [in /home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates/default/shopping/payment.tpl line 239]: syntax error: mismatched tag {/foreach}. expected {/if} (opened line 228). (Smarty_Compiler.class.php, line 2338) on [/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1094)] from 180.26.54.47
customer_id = 1025
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/shopping/payment.php(29): LC_Page_Shopping_Payment_Ex->process
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class_extends/page_extends/shopping/LC_Page_Shopping_Payment_Ex.php(54): LC_Page_Shopping_Payment->process
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/pages/shopping/LC_Page_Shopping_Payment.php(64): LC_Page->sendResponse
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/pages/LC_Page.php(152): SC_Display->prepare
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/SC_Display.php(80): SC_View->getResponse
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/SC_View.php(101): Smarty->fetch
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1264): include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates_c/default/%%F1^F15^F158E3F4%%site_frame.tpl.php(94): Smarty->_smarty_include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1870): include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates_c/default/%%58^587^5876E692%%site_main.tpl.php(39): Smarty->_smarty_include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1868): Smarty->_compile_resource
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1423): Smarty->_compile_source
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1490): Smarty_Compiler->_compile_file
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty_Compiler.class.php(312): Smarty_Compiler->_compile_tag
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty_Compiler.class.php(533): Smarty_Compiler->_pop_tag
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty_Compiler.class.php(2338): Smarty_Compiler->_syntax_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty_Compiler.class.php(2256): Smarty->_trigger_fatal_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1816): Smarty->trigger_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1094): trigger_error
2014/12/26 13:19:07 [/shopping/payment.php] Fatal error(E_USER_ERROR): Smarty error: [in /home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates/default/shopping/payment.tpl line 286]: syntax error: unclosed tag \{if} (opened line 201). (Smarty_Compiler.class.php, line 317) on [/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1094)] from 180.26.54.47
customer_id = 1025
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/shopping/payment.php(29): LC_Page_Shopping_Payment_Ex->process
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class_extends/page_extends/shopping/LC_Page_Shopping_Payment_Ex.php(54): LC_Page_Shopping_Payment->process
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/pages/shopping/LC_Page_Shopping_Payment.php(64): LC_Page->sendResponse
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/pages/LC_Page.php(152): SC_Display->prepare
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/SC_Display.php(80): SC_View->getResponse
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/SC_View.php(101): Smarty->fetch
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1264): include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates_c/default/%%F1^F15^F158E3F4%%site_frame.tpl.php(94): Smarty->_smarty_include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1870): include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates_c/default/%%58^587^5876E692%%site_main.tpl.php(39): Smarty->_smarty_include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1868): Smarty->_compile_resource
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1423): Smarty->_compile_source
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1490): Smarty_Compiler->_compile_file
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty_Compiler.class.php(317): Smarty_Compiler->_syntax_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty_Compiler.class.php(2256): Smarty->_trigger_fatal_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1816): Smarty->trigger_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1094): trigger_error
2014/12/26 13:50:30 [/entry/index.php] Warning(E_WARNING): Missing argument 2 for SC_CheckError::doFunc(), called in /home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/helper/SC_Helper_Customer.php on line 534 and defined on [/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/SC_CheckError.php(45)] from 66.75.233.246
2014/12/26 13:50:30 [/entry/index.php] Warning(E_WARNING): Invalid argument supplied for foreach() on [/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/SC_CheckError.php(47)] from 66.75.233.246
2014/12/26 15:10:16 [/shopping/load_payment_module.php] Warning(E_USER_WARNING): ページ情報を取得できませんでした。 on [/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/helper/SC_Helper_PageLayout.php(59)] from 66.249.82.133
2014/12/26 15:10:16 [/shopping/load_payment_module.php] Warning(E_USER_WARNING): メイン部のテンプレートが存在しません。[/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates/default/.tpl] on [/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/helper/SC_Helper_PageLayout.php(66)] from 66.249.82.133

======================


以下は、コメントアウトではなく、非表示にしたい箇所のコードをまるまる削除試みた際のものです。

======================

2015/01/06 10:55:55 [/shopping/payment.php] Fatal error(E_USER_ERROR): Smarty error: [in /home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates/default/shopping/payment.tpl line 271]: syntax error: unclosed tag \{if} (opened line 201). (Smarty_Compiler.class.php, line 317) on [/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1094)] from 180.26.54.47
customer_id = 1025
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/shopping/payment.php(29): LC_Page_Shopping_Payment_Ex->process
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class_extends/page_extends/shopping/LC_Page_Shopping_Payment_Ex.php(54): LC_Page_Shopping_Payment->process
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/pages/shopping/LC_Page_Shopping_Payment.php(64): LC_Page->sendResponse
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/pages/LC_Page.php(152): SC_Display->prepare
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/SC_Display.php(80): SC_View->getResponse
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/SC_View.php(101): Smarty->fetch
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1264): include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates_c/default/%%F1^F15^F158E3F4%%site_frame.tpl.php(94): Smarty->_smarty_include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1870): include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates_c/default/%%58^587^5876E692%%site_main.tpl.php(39): Smarty->_smarty_include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1868): Smarty->_compile_resource
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1423): Smarty->_compile_source
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1490): Smarty_Compiler->_compile_file
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty_Compiler.class.php(317): Smarty_Compiler->_syntax_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty_Compiler.class.php(2256): Smarty->_trigger_fatal_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1816): Smarty->trigger_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1094): trigger_error
2015/01/06 10:58:44 [/shopping/payment.php] Fatal error(E_USER_ERROR): Smarty error: [in /home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates/default/shopping/payment.tpl line 275]: syntax error: unclosed tag \{if} (opened line 201). (Smarty_Compiler.class.php, line 317) on [/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1094)] from 180.26.54.47
customer_id = 1025
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/shopping/payment.php(29): LC_Page_Shopping_Payment_Ex->process
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class_extends/page_extends/shopping/LC_Page_Shopping_Payment_Ex.php(54): LC_Page_Shopping_Payment->process
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/pages/shopping/LC_Page_Shopping_Payment.php(64): LC_Page->sendResponse
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/pages/LC_Page.php(152): SC_Display->prepare
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/SC_Display.php(80): SC_View->getResponse
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/SC_View.php(101): Smarty->fetch
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1264): include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates_c/default/%%F1^F15^F158E3F4%%site_frame.tpl.php(94): Smarty->_smarty_include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1870): include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates_c/default/%%58^587^5876E692%%site_main.tpl.php(39): Smarty->_smarty_include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1868): Smarty->_compile_resource
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1423): Smarty->_compile_source
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1490): Smarty_Compiler->_compile_file
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty_Compiler.class.php(317): Smarty_Compiler->_syntax_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty_Compiler.class.php(2256): Smarty->_trigger_fatal_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1816): Smarty->trigger_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1094): trigger_error
2015/01/06 11:02:15 [/shopping/payment.php] Fatal error(E_USER_ERROR): Smarty error: [in /home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates/default/shopping/payment.tpl line 278]: syntax error: unclosed tag \{if} (opened line 201). (Smarty_Compiler.class.php, line 317) on [/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1094)] from 180.26.54.47
customer_id = 1025
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/shopping/payment.php(29): LC_Page_Shopping_Payment_Ex->process
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class_extends/page_extends/shopping/LC_Page_Shopping_Payment_Ex.php(54): LC_Page_Shopping_Payment->process
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/pages/shopping/LC_Page_Shopping_Payment.php(64): LC_Page->sendResponse
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/pages/LC_Page.php(152): SC_Display->prepare
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/SC_Display.php(80): SC_View->getResponse
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/SC_View.php(101): Smarty->fetch
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1264): include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates_c/default/%%F1^F15^F158E3F4%%site_frame.tpl.php(94): Smarty->_smarty_include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1870): include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates_c/default/%%58^587^5876E692%%site_main.tpl.php(39): Smarty->_smarty_include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1868): Smarty->_compile_resource
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1423): Smarty->_compile_source
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1490): Smarty_Compiler->_compile_file
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty_Compiler.class.php(317): Smarty_Compiler->_syntax_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty_Compiler.class.php(2256): Smarty->_trigger_fatal_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1816): Smarty->trigger_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1094): trigger_error
2015/01/06 11:21:34 [/shopping/payment.php] Fatal error(E_USER_ERROR): Smarty error: [in /home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates/default/shopping/payment.tpl line 209]: syntax error: unclosed tag \{if} (opened line 201). (Smarty_Compiler.class.php, line 317) on [/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1094)] from 180.26.54.47
customer_id = 1025
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/shopping/payment.php(29): LC_Page_Shopping_Payment_Ex->process
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class_extends/page_extends/shopping/LC_Page_Shopping_Payment_Ex.php(54): LC_Page_Shopping_Payment->process
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/pages/shopping/LC_Page_Shopping_Payment.php(64): LC_Page->sendResponse
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/pages/LC_Page.php(152): SC_Display->prepare
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/SC_Display.php(80): SC_View->getResponse
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/class/SC_View.php(101): Smarty->fetch
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1264): include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates_c/default/%%F1^F15^F158E3F4%%site_frame.tpl.php(94): Smarty->_smarty_include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1870): include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/Smarty/templates_c/default/%%58^587^5876E692%%site_main.tpl.php(39): Smarty->_smarty_include
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1868): Smarty->_compile_resource
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1423): Smarty->_compile_source
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1490): Smarty_Compiler->_compile_file
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty_Compiler.class.php(317): Smarty_Compiler->_syntax_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty_Compiler.class.php(2256): Smarty->_trigger_fatal_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1816): Smarty->trigger_error
/home/users/1/lolipop.jp-24052f48b46864a6/web/ec_cube/data/module/Smarty/libs/Smarty.class.php(1094): trigger_error

=====================

以上です。
何卒、宜しくお願い致します。
IPLOGIC
投稿日時: 2015/1/6 19:53
対応状況: −−−
一人前
登録日: 2014/12/8
居住地: 東京都
投稿: 96
Re: [お支払方法・お届け時間等の指定]ページのカスタマイズ ver.2.13.1
画面のエラーメッセージだけでは原因がわかりませんので、エラーログファイルの内容を貼り付けて頂けますか。
エラーログファイルはdata/logs/error.logです。
画面にエラーメッセージを出した時間帯のファイル内容を貼り付けてください。


----------------
アイピーロジック株式会社
EC-CUBE専用メール配信サービス「PostCarrier for EC-CUBE」
[url=http://www.rakusite.net/]EC-CUBE専用サイト保守監視サービス「らくらくサイト保守

tenso
投稿日時: 2015/1/6 11:30
対応状況: −−−
一人前
登録日: 2014/3/17
居住地:
投稿: 74
Re: [お支払方法・お届け時間等の指定]ページのカスタマイズ ver.2.13.1
TING 様

お返事頂きまして、誠にありがとうございます。

コメントアウトのコード入力を色々試しましたが、どれもエラー画面表示でありまして、

また、ご指摘の通りバックアップを取って、その部分を消すという手法も、削除箇所を色々と試しましたが、
どれもやはり駄目で、完全に諦め気味です。

単純に、削除やコメントアウトだけでは問題が解決できない、別の部分に今回のトラブル原因があるかもしれません。

たくさんの方々に何度もご助言頂いたにも関わらず、問題を解決出来ず、とても残念です。
TING
投稿日時: 2014/12/26 14:00
対応状況: −−−
新米
登録日: 2013/5/30
居住地:
投稿: 9
Re: [お支払方法・お届け時間等の指定]ページのカスタマイズ ver.2.13.1
こんにちは。

コメントアウトが難しいのであれば、
どこかにバックアップを取って、その部分を消すという手もありますが、いかがでしょうか?
tenso
投稿日時: 2014/12/26 13:46
対応状況: −−−
一人前
登録日: 2014/3/17
居住地:
投稿: 74
Re: [お支払方法・お届け時間等の指定]ページのカスタマイズ ver.2.13.1
red 様

度々のご返答、誠にありがとうございます。

何度も、ご指摘頂いた"コメントアウト終了のコードが足りないことが原因"
を基にコメントアウト終了のコードを色々追加試みたのですが、
やはり解決できません。。。困りました。

以下の状況ではエラー表示となってしまうのですが、
すみません、どの部分にコメントアウト終了のコードが足りないのかご指摘頂けないでしょうか。

=======================

<!--{if false}--> ・・・・・・・・・・・・・・・・・・・・【ココにコメントアウト開始のコードを挿入】
<div class="pay_area02">
<h3>その他お問い合わせ</h3>
<p>その他お問い合わせ事項がございましたら、こちらにご入力ください。</p>
<div>
<!--★その他お問い合わせ事項★-->
<!--{assign var=key value="message"}-->
<span class="attention"><!--{$arrErr[$key]}--></span>
<textarea name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" cols="70" rows="8" class="txtarea" wrap="hard"><!--{"\n"}--><!--{$arrForm[$key].value|h}--></textarea>
<p class="attention"> (<!--{$smarty.const.LTEXT_LEN}-->文字まで)</p>
</div>
</div>
<!--{/if}-->  ・・・・・・・・・・・・・・・・・・・・【ココにコメントアウト終了のコードを挿入】

==============

何卒、宜しくお願い致します。
red
投稿日時: 2014/12/24 13:31
対応状況: −−−
登録日: 2010/2/15
居住地: 東京都
投稿: 1570
Re: [お支払方法・お届け時間等の指定]ページのカスタマイズ ver.2.13.1
コメントアウト終了のコードが足りないことが原因です
必ず開始終了はペアで使ってください


----------------
EC-CUBEのカスタマイズ、トラブル解決承ります
お気軽にお問い合わせ下さい
https://www.ec-cube.net/integrate/partner/partner.php?partner_id=690

tenso
投稿日時: 2014/12/24 12:42
対応状況: −−−
一人前
登録日: 2014/3/17
居住地:
投稿: 74
Re: [お支払方法・お届け時間等の指定]ページのカスタマイズ ver.2.13.1
IPLOGIC 様

ご連絡ありがとう御座います。
ご返信が遅くなりまして、すみません。

エラー表示は、以下の画像の通りです。
(この掲示板に画像アップする方法が判らず、下記URLに表示するようにしました)

https://jpbooks01.files.wordpress.com/2014/12/coment_out001.gif

カート機能の表示が完全に消え、以下のメッセージだけが表示されます。

=============

システムエラーが発生しました。
大変お手数ですが、サイト管理者までご連絡下さい。

=============

尚、参考までにエラー表示となってしまったカスタマイズの仕様を以下に記載させて頂きます。

218行目に、コメントアウト開始のコードを挿入し、
300行目にも、コメントアウト開始のコードを挿入し、
313行目に、コメントアウト終了のコードを挿入しました。

※ポイントの使用は利用不可としていますので、当初からポイント使用の部分は表示されていません。

===================
<!--{if false}--> ・・・・・・・・・・・・・・・・・・・・【ココにコメントアウト開始のコードを挿入】
<div class="pay_area02">
<h3>お届け時間の指定</h3>
<p class="select-msg">誠に恐れながら、海外発送につきましては時間指定をご利用いただけません。</p>
<p class="non-select-msg">まずはじめに、配送方法を選択ください。</p>
<!--{foreach item=shippingItem name=shippingItem from=$arrShipping}-->
<!--{assign var=index value=$shippingItem.shipping_id}-->
<div class="delivdate top">
<!--{if $is_multiple}-->
<span class="st">▼<!--{$shippingItem.shipping_name01}--><!--{$shippingItem.shipping_name02}-->
<!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01}--><!--{$shippingItem.shipping_addr02}--></span><br/>
<!--{/if}-->
<!--★お届け日★-->
<!--{assign var=key value="deliv_date`$index`"}-->
<span class="attention"><!--{$arrErr[$key]}--></span>
お届け日:
<!--{if !$arrDelivDate}-->
ご指定頂けません。
<!--{else}-->
<select name="<!--{$key}-->" id="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
<option value="" selected="">指定なし</option>
<!--{assign var=shipping_date_value value=$arrForm[$key].value|default:$shippingItem.shipping_date}-->
<!--{html_options options=$arrDelivDate selected=$shipping_date_value}-->
</select>&nbsp;
<!--{/if}-->
<!--★お届け時間★-->
<!--{assign var=key value="deliv_time_id`$index`"}-->
<span class="attention"><!--{$arrErr[$key]}--></span>
お届け時間:
<select name="<!--{$key}-->" id="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
<option value="" selected="">指定なし</option>
<!--{assign var=shipping_time_value value=$arrForm[$key].value|default:$shippingItem.time_id}-->
<!--{html_options options=$arrDelivTime selected=$shipping_time_value}-->
</select>
</div>
<!--{/foreach}-->
</div>
<!--{/if}-->

<!-- ▼ポイント使用 -->
<!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
<div class="point_area">
<h3>ポイント使用の指定</h3>
<p><span class="attention">1ポイントを<!--{$smarty.const.POINT_VALUE|number_format}-->円</span>として使用する事ができます。<br />
使用する場合は、「ポイントを使用する」にチェックを入れた後、使用するポイントをご記入ください。
</p>
<div class="point_announce">
<p><span class="user_name"><!--{$name01|h}--> <!--{$name02|h}-->様</span>の、現在の所持ポイントは「<span class="point"><!--{$tpl_user_point|default:0|number_format}-->Pt</span>」です。<br />
今回ご購入合計金額:<span class="price"><!--{$arrPrices.subtotal|number_format}-->円</span> <span class="attention">(送料、手数料を含みません。)</span>
</p>
<ul>
<li>
<input type="radio" id="point_on" name="point_check" value="1" <!--{$arrForm.point_check.value|sfGetChecked:1}--> onclick="eccube.togglePointForm();" /><label for="point_on">ポイントを使用する</label>
<!--{assign var=key value="use_point"}--><br />
今回のお買い物で、<input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|default:$tpl_user_point}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box60" />&nbsp;Ptを使用する。<span class="attention"><!--{$arrErr[$key]}--></span>
</li>
<li><input type="radio" id="point_off" name="point_check" value="2" <!--{$arrForm.point_check.value|sfGetChecked:2}--> onclick="eccube.togglePointForm();" /><label for="point_off">ポイントを使用しない</label></li>
</ul>
</div>
</div>
<!--{/if}-->
<!-- ▲ポイント使用 -->
<!--{if false}--> ・・・・・・・・・・・・・・・・・・・・【ココにコメントアウト開始のコードを挿入】
<div class="pay_area02">
<h3>その他お問い合わせ</h3>
<p>その他お問い合わせ事項がございましたら、こちらにご入力ください。</p>
<div>
<!--★その他お問い合わせ事項★-->
<!--{assign var=key value="message"}-->
<span class="attention"><!--{$arrErr[$key]}--></span>
<textarea name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" cols="70" rows="8" class="txtarea" wrap="hard"><!--{"\n"}--><!--{$arrForm[$key].value|h}--></textarea>
<p class="attention"> (<!--{$smarty.const.LTEXT_LEN}-->文字まで)</p>
</div>
</div>
<!--{/if}-->  ・・・・・・・・・・・・・・・・・・・・【ココにコメントアウト終了のコードを挿入】
<div class="btn_area">
<ul>
<li>
<a href="?mode=return">
<img class="hover_change_image" src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" border="0" name="back03" id="back03" /></a>
</li>
<li>
<input type="image" class="hover_change_image" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="次へ" name="next" id="next" />
</li>
</ul>
</div>
</form>
</div>
</div>
===================


尚、300行目のコメントアウト開始のコードを削除しますと、エラー表示問題は起こりませんが、
当然ながら、[その他お問い合わせ]の項目は表示されてしまいます。

現状では、[お届け時間の指定]の項目は非表示でOKですが、
[その他お問い合わせ]の項目を非表示とすることが出来ず、困っております。

長々とした文面になってしまいましたが、何卒、ご教授頂けますよう、宜しくお願い致します。
IPLOGIC
投稿日時: 2014/12/19 19:32
対応状況: −−−
一人前
登録日: 2014/12/8
居住地: 東京都
投稿: 96
Re: [お支払方法・お届け時間等の指定]ページのカスタマイズ ver.2.13.1
tenso 様

ご提示いただいたソースを弊社環境で貼り付けて試しましたが、特にエラーは出ませんでした。
今回のコメントアウトとは別の原因でエラーが出ている可能性がありますので、エラー内容(できればエラー画面のスクリーンショット)をご提示いただけますか。


----------------
アイピーロジック株式会社
EC-CUBE専用メール配信サービス「PostCarrier for EC-CUBE」
[url=http://www.rakusite.net/]EC-CUBE専用サイト保守監視サービス「らくらくサイト保守

(1) 2 »
スレッド表示 | 古いものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

総メンバー数は88,886名です
総投稿数は110,000件です

投稿数ランキング

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