バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

バグ報告 > 管理機能 > SSL利用時に受注履歴編集の問題?

管理機能

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
bkmrk2009
投稿日時: 2009/11/13 20:54
対応状況: −−−
常連
登録日: 2009/7/26
居住地:
投稿: 67
SSL利用時に受注履歴編集の問題?
いつもお世話になっています。
eccube 2.4.1を利用しています。
管理機能をSSLで利用した場合に、受注履歴編集機能の「追加」「変更」が正常に動作しないように思われます。

「変更」の場合を例にとると

<input type="button" name="change" value="変更" onclick="win03('<!--{$smarty.const.SITE_URL}-->admin/order/product_select.php?no=<!--{$key}-->.....

でリンク先がhttps://ではなくて、http://となり、開いた小ウィンドウから操作結果を送信する際に、permission異常が発生すると考えます。

既に報告済み、又は、検討違いでしたらスイマセン
また管理画面をSSLで利用するのは、仕様外なのでしょうか?
bkmrk2009
投稿日時: 2009/11/14 0:16
対応状況: −−−
常連
登録日: 2009/7/26
居住地:
投稿: 67
Re: SSL利用時に受注履歴編集の問題?
自己レスします。
とりあえず、相対パスにして対策としました。

<input type="button" name="change" value="変更" onclick="win03('product_select.php?no=<!--{$key}-->.....

nachu
投稿日時: 2010/1/18 15:35
対応状況: −−−
半人前
登録日: 2008/9/13
居住地:
投稿: 25
Re: SSL利用時に受注履歴編集の問題?
管理機能でhttpsで運用していると、他にも
----
セキュリティーで保護されたWEBページコンテンツのみを表示しますか?
このページには、安全なHTTPS接続を使用しないで配信されるコンテンツが含まれており
WEBページ全体のセキュリティーを損なうおそれが ...
----

という警告文が表示されるぺーじがあります。

「<img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=〜」
という表記のあるTPLファイルです。

「<!--{$smarty.const.SITE_URL}-->」の部分が、http://サイトURL になってしまうため警告が出てしまいます。

「<!--{$smarty.const.URL_DIR}-->」と変更すれば、問題なく表示されます。
nachu
投稿日時: 2010/1/18 15:47
対応状況: −−−
半人前
登録日: 2008/9/13
居住地:
投稿: 25
Re: SSL利用時に受注履歴編集の問題?
追記

grepで「<!--{$smarty.const.SITE_URL}-->」を検索しましたら、25箇所出てきました。

管理画面だけでなく、サイトの方もhttpsで運用していると、画像が表示されないケースが(リンクやformタグも問題がある場合も)出てくると思います。


\data\Smarty\templates\default\detail.tpl(328,21) [UTF-8]: <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /></a>
\data\Smarty\templates\default\detail.tpl(357,21) [UTF-8]: <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /></a>
\data\Smarty\templates\default\header.tpl(25,14) [UTF-8]: <a href="<!--{$smarty.const.SITE_URL}-->">
\data\Smarty\templates\default\site_frame.tpl(29,68) [UTF-8]: <link rel="alternate" type="application/rss+xml" title="RSS" href="<!--{$smarty.const.SITE_URL}-->rss/index.php" />
\data\Smarty\templates\default\admin\main_frame.tpl(82,38) [UTF-8]: <td><a href="<!--{$smarty.const.SITE_URL}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/header/sitecheck_on.gif','sitecheck');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/header/sitecheck.gif','sitecheck');" target="_blank"><img src="<!--{$TPL_DIR}-->img/header/sitecheck.gif" width="69" height="17" alt="SITE CHECK" border="0" name="sitecheck" id="sitecheck"></a></td>
\data\Smarty\templates\default\admin\contents\campaign.tpl(154,33) [UTF-8]: <span class="fs10">※<!--{$smarty.const.SITE_URL}--><!--{$smarty.const.CAMPAIGN_DIR}-->入力したディレクリ名/ でアクセス出来るようになります。</span>
\data\Smarty\templates\default\admin\contents\campaign_create_tag.tpl(131,14) [UTF-8]: <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|escape}-->">
\data\Smarty\templates\default\admin\contents\inquiry.tpl(243,37) [UTF-8]: <td align="center"><a href="<!--{$smarty.const.SITE_URL}-->inquiry/index.php?question_id=<!--{$list_data[data].question_id}-->" target="_blank">参照</a></td>
\data\Smarty\templates\default\admin\contents\recomend_search.tpl(120,14) [UTF-8]: <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path}-->&width=65&height=65" alt="">
\data\Smarty\templates\default\admin\design\main_edit.tpl(118,12) [UTF-8]: <!--{$smarty.const.SITE_URL}--><!--{$arrPageData.url|escape}-->
\data\Smarty\templates\default\admin\order\edit.tpl(197,137) [UTF-8]: &nbsp;&nbsp;&nbsp;<input type="button" name="address_input" value="顧客検索" onclick="fnOpenWindow('<!--{$smarty.const.SITE_URL}-->admin/customer/search_customer.php','search','500','650'); return false;" />
\data\Smarty\templates\default\admin\order\edit.tpl(407,108) [UTF-8]: <input type="button" name="add_product" value="商品の追加" onclick="win03('<!--{$smarty.const.SITE_URL}-->admin/order/product_select.php<!--{if $tpl_order_id}-->?order_id=<!--{$tpl_order_id}--><!--{/if}-->', 'search', '500', '500'); " />
\data\Smarty\templates\default\admin\order\edit.tpl(437,101) [UTF-8]: <input type="button" name="change" value="変更" onclick="win03('<!--{$smarty.const.SITE_URL}-->admin/order/product_select.php?no=<!--{$key}--><!--{if $tpl_order_id}-->&order_id=<!--{$tpl_order_id}--><!--{/if}-->', 'search', '500', '500'); " >
\data\Smarty\templates\default\admin\order\product_select.tpl(202,23) [UTF-8]: <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|escape}-->">
\data\Smarty\templates\default\admin\products\confirm.tpl(270,47) [UTF-8]: <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|escape}-->">
\data\Smarty\templates\default\admin\products\index.tpl(317,18) [UTF-8]: <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65">
\data\Smarty\templates\default\admin\products\product_rank.tpl(147,22) [UTF-8]: <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrProducts[cnt].name|escape}-->">
\data\Smarty\templates\default\admin\products\product_select.tpl(122,14) [UTF-8]: <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|escape}-->">
\data\Smarty\templates\default\bloc\best5.tpl(38,19) [UTF-8]: <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=48&height=48" alt="<!--{$arrBestProducts[cnt].name|escape}-->" /></a>
\data\Smarty\templates\default\bloc\best5.tpl(67,19) [UTF-8]: <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=48&height=48" alt="<!--{$arrBestProducts[$cnt2].name|escape}-->" /></a>
\data\Smarty\templates\default\mypage\favorite.tpl(47,57) [UTF-8]: <form name="form1" id="form1" method="post" action="<!--{$smarty.const.SITE_URL}-->products/detail.php">
\data\Smarty\templates\default\rss\index.tpl(28,8) [UTF-8]: <link> <!--{$smarty.const.SITE_URL}--> </link>
\data\Smarty\templates\default\rss\index.tpl(43,12) [UTF-8]: <link> <!--{$smarty.const.SITE_URL}--> </link>
\data\Smarty\templates\default\rss\product.tpl(30,11) [UTF-8]: <site_url><!--{$smarty.const.SITE_URL}--></site_url>
\data\Smarty\templates\default\rss\product.tpl(37,9) [UTF-8]: <link><!--{$smarty.const.SITE_URL}-->rss/product.php?product_id=<!--{$arrProduct[cnt].product_id}--></link>
seasoft
投稿日時: 2010/1/18 16:23
対応状況: −−−
登録日: 2008/6/4
居住地:
投稿: 7365
Re: SSL利用時に受注履歴編集の問題?
引用:

「<img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=〜」
という表記のあるTPLファイルです。


正しくは、下記でしょうか?

引用:

「<img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=〜」
という表記のあるTPLファイルです。



修正したほうが良さそうですね。


----------------
Seasoft
こちらでの投稿は、アイディア程度に留めさせていただいております。
個別案件の作業は有償で承っております。お気軽にご相談ください。

seasoft
投稿日時: 2010/1/18 16:26
対応状況: −−−
登録日: 2008/6/4
居住地:
投稿: 7365
Re: SSL利用時に受注履歴編集の問題?
EC-CUBEコミュニティ(eccube-comu)では、正式版よりは少ないですが、それでも、12箇所ありますね ^^;


----------------
Seasoft
こちらでの投稿は、アイディア程度に留めさせていただいております。
個別案件の作業は有償で承っております。お気軽にご相談ください。

nachu
投稿日時: 2010/1/19 12:52
対応状況: −−−
半人前
登録日: 2008/9/13
居住地:
投稿: 25
Re: SSL利用時に受注履歴編集の問題?
引用:

正しくは、下記でしょうか?

引用:

「<img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=〜」
という表記のあるTPLファイルです。



すいません、その通りです。
seasoft
投稿日時: 2010/1/19 14:32
対応状況: −−−
登録日: 2008/6/4
居住地:
投稿: 7365
Re: SSL利用時に受注履歴編集の問題?
EC-CUBEコミュニティ(eccube-comu) では改修をコミットしました。
http://svn.ec-cube.net/open_trac/changeset/18499

本日深夜(明日未明?)のナイトリービルド版から反映される見込みです。


----------------
Seasoft
こちらでの投稿は、アイディア程度に留めさせていただいております。
個別案件の作業は有償で承っております。お気軽にご相談ください。

スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

総メンバー数は88,290名です
総投稿数は109,690件です

投稿数ランキング

1
seasoft
7365
2
468
3217
3
AMUAMU
2712
4
nanasess
2303
5
umebius
2085
6
yuh
1818
7
h_tanaka
1610
8
red
1568
9
mcontact
1240
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
796
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.