バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > フロント機能 > ご利用規約ページでシステムエラー

フロント機能

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
karita
投稿日時: 2013/4/16 15:55
対応状況: 開発中
新米
登録日: 2013/4/16
居住地:
投稿: 5
ご利用規約ページでシステムエラー
お世話になります。

ただいま、ec-orangeにてサイトを構築中です。

テストアカウントでデザインのベースを作成してから、
本番アカウントへデザインを移動している最中なのですが、
ご利用規約ページにて、
テストでは上手くいっていたものが、
システムエラーにより、表示されなくなってしまいました。

エラー文としては

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

という一般的なものです。

思い当たる言葉でいくつか検索はかけてみたものの、
ご利用規約で、という事案がみつからず、困っております。

ファイルの中身はとくにエラーが発生するようなものでもなく、
管理画面からデザインを変更する前から起きていたようなので、
原因が分からず困っております。

管理画面からの指定のソースにつきましても、特異なタグ等は書き込んでおりません。

同じような現象を体験した方がいれば、
ご情報いただけますと幸いです。

宜しくお願いいたします
cohki
投稿日時: 2013/4/16 16:11
対応状況: −−−
一人前
登録日: 2013/4/15
居住地:
投稿: 133
Re: ご利用規約ページでシステムエラー
ご利用規約ページに遷移しようとしていることから、EC CUBE自体は動作しています。

恐らく何らかのエラーが

 ECCUBE_HOME/data/logs/error.log

に出力されているかと思います。
こちらを参照して頂ければ何かしらのヒントになるはずです。
よろしくお願い致します。
tokuhiro
投稿日時: 2013/4/16 16:44
対応状況: −−−
常連
登録日: 2012/4/18
居住地: 大阪
投稿: 53
Re: ご利用規約ページでシステムエラー
Smartyのタグを「間違って消してしまったり」して、エラーが発生してしまうということはありますね…

変更前のソースと変更後のソースを比較してみて、
必要なタグが削除されていないか確認されてみてはいかがでしょうか?
karita
投稿日時: 2013/4/16 18:34
対応状況: −−−
新米
登録日: 2013/4/16
居住地:
投稿: 5
Re: ご利用規約ページでシステムエラー
ありがとうございます。

ご指定いただいたエラーログを開いてみたのですが、
自分ではわからず、張り付けさせていただきます

(2012-05-31 18:59:54) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2012-06-05 14:29:09) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2012-06-30 10:48:05) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2012-07-30 18:36:48) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where LIMIT 1' at line 1] in EXECUTE("SELECT COUNT(*) FROM dtb_corporation WHERE where LIMIT 1")
(2012-08-11 18:19:59) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND shop_id = 17' at line 1] in EXECUTE("SELECT dtb_bookmarks FROM AND shop_id = 17 ")
(2012-08-11 18:20:53) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND shop_id = 17' at line 1] in EXECUTE("SELECT dtb_bookmarks FROM AND shop_id = 17 ")
(2012-08-11 18:22:15) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '5 AND shop_id = 17' at line 1] in EXECUTE("SELECT dtb_bookmarks FROM customer_id = 5 AND shop_id = 17 ")
(2012-08-12 18:08:09) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND customer_id = 11 LIMIT 1' at line 1] in EXECUTE("SELECT COUNT(*) FROM dtb_corporation_customer WHERE corporation_id = AND customer_id = 11 LIMIT 1")
(2012-08-12 18:17:18) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND customer_id = 11 LIMIT 1' at line 1] in EXECUTE("SELECT COUNT(*) FROM dtb_corporation_customer WHERE corporation_id = AND customer_id = 11 LIMIT 1")
(2012-08-12 18:28:36) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND customer_id = 11 LIMIT 1' at line 1] in EXECUTE("SELECT COUNT(*) FROM dtb_corporation_customer WHERE corporation_id = AND customer_id = 11 LIMIT 1")
(2012-08-12 18:36:23) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND customer_id = 12 LIMIT 1' at line 1] in EXECUTE("SELECT COUNT(*) FROM dtb_corporation_customer WHERE corporation_id = AND customer_id = 12 LIMIT 1")
(2012-08-12 18:44:13) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND customer_id = 12 LIMIT 1' at line 1] in EXECUTE("SELECT COUNT(*) FROM dtb_corporation_customer WHERE corporation_id = AND customer_id = 12 LIMIT 1")
(2012-08-12 18:49:36) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND customer_id = 12 LIMIT 1' at line 1] in EXECUTE("SELECT COUNT(*) FROM dtb_corporation_customer WHERE corporation_id = AND customer_id = 12 LIMIT 1")
(2012-08-12 18:51:00) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND customer_id = 12 LIMIT 1' at line 1] in EXECUTE("SELECT COUNT(*) FROM dtb_corporation_customer WHERE corporation_id = AND customer_id = 12 LIMIT 1")
(2012-08-12 18:56:44) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND customer_id = 12 LIMIT 1' at line 1] in EXECUTE("SELECT COUNT(*) FROM dtb_corporation_customer WHERE corporation_id = AND customer_id = 12 LIMIT 1")
(2012-08-12 19:00:26) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND customer_id = 12 LIMIT 1' at line 1] in EXECUTE("SELECT COUNT(*) FROM dtb_corporation_customer WHERE corporation_id = AND customer_id = 12 LIMIT 1")
(2012-08-19 13:18:41) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2012-08-19 22:13:31) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND del_flg = 0 AND news_id = 3' at line 1] in EXECUTE("SELECT * FROM dtb_news WHERE AND del_flg = 0 AND news_id = 3 ")
(2013-02-25 17:01:41) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2013-02-28 11:57:30) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2013-03-08 11:28:39) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2013-04-05 11:00:59) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2013-04-09 14:03:28) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND del_flg = 0 AND news_id = 1' at line 1] in EXECUTE("SELECT * FROM dtb_news WHERE AND del_flg = 0 AND news_id = 1 ")
(2013-04-16 14:55:03) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2013-04-16 14:55:18) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2013-04-16 14:55:24) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2013-04-16 14:56:20) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2013-04-16 15:26:21) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2013-04-16 15:28:31) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2013-04-16 15:29:24) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2013-04-16 15:34:54) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")
(2013-04-16 15:41:16) mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] in EXECUTE("SELECT business_status FROM dtb_shop WHERE shop_key= ")


こちらの中で、規約ページに関する表記はあるでしょうか?
他力本願で申し訳ございませんがよろしくお願いいたします。
karita
投稿日時: 2013/4/16 18:35
対応状況: −−−
新米
登録日: 2013/4/16
居住地:
投稿: 5
Re: ご利用規約ページでシステムエラー
コピー&ペーストで張り付けているため、
おそらくsmartyタグなどの件ではなさそうです。

一度tpl、phpを見直してみます。ありがとうございます。
cohki
投稿日時: 2013/4/16 19:27
対応状況: −−−
一人前
登録日: 2013/4/15
居住地:
投稿: 133
Re: ご利用規約ページでシステムエラー
ご質問のエラーは今日、発覚したものでしょうか?
そうなると下から9件分のエラーのみが該当しますが。。

エラー自体は、DBからデータを取得する際の構文エラー(文法ミス)になっています。

この構文に使われている変数に関する何らかの変更を加えたか、
DBのバージョンを変更したり、といった修正は加えていませんでしょうか?

また、ECCUBEのバージョン等公開するとよりヒントが増えるかもしれません。
karita
投稿日時: 2013/4/17 16:05
対応状況: −−−
新米
登録日: 2013/4/16
居住地:
投稿: 5
Re: ご利用規約ページでシステムエラー
折角ご返答いただいておりますのに、
返信が遅くて大変申し訳ございません。

エラーにつきましては、発覚自体は昨日(文章中では本日)です。

DBからの構文エラーですか・・・。
同じDBを使用している、同じ内容のページではエラーが発生していないのですが、
確認させていただきます。

どうもありがとうございます。
red
投稿日時: 2013/4/17 17:26
対応状況: −−−
登録日: 2010/2/15
居住地: 東京都
投稿: 1570
Re: ご利用規約ページでシステムエラー
ec-orangeとEC-CUBEは細かいところで大きく違うので本家に聞かれたほうがよいと思いますよ
エラー内容がec-orange固有の問題なので、この情報だけだと原因を特定するのは難しいです


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

namahage
投稿日時: 2013/4/17 17:41
対応状況: −−−
長老
登録日: 2013/2/28
居住地: 大阪
投稿: 198
Re: ご利用規約ページでシステムエラー
SELECT business_status FROM dtb_shop WHERE shop_key= "
というSQLが正しくないよってエラーがでてます。
本来SQLは
SELECT business_status FROM dtb_shop WHERE shop_key= "Shop_keyの値";(Shop_keyの値はおそらくmasterとかかな)
という形にならないといけません。一つ目のダブルクォーテーション以降のSQL分が何らかの原因で途切れてしまっているためこういうエラーが発生しています。

おそらくご利用規約に記述されているショップ情報を取得しようとしている箇所で、shop_keyがなんらかの原因で取得できていないため、ショップの情報を取得しようとしているSQLでエラーが発生している可能性が高いですね。

tplにデザインを映す時にhiddenとかshop_keyという値を削除してしまっていませんか?ショップの情報を取得している所を怪しんでみてください。
昨日さわったソースにも原因があるかもしれません。


すべて憶測で解決方法ではないですが参考になれば幸いです。
karita
投稿日時: 2013/5/23 16:38
対応状況: 解決済
新米
登録日: 2013/4/16
居住地:
投稿: 5
Re: ご利用規約ページでシステムエラー
皆様ご返答ありがとうございました。

原因として、後から付け足したページになっていたために、
tplとphpの繋ぎがおかしくなっていたことが原因でした。

引き継ぎ案件だったため詳細がわからず、
ご返答いただいた皆様にはご迷惑をおかけいたしまして
申し訳ございませんでした。

本当にありがとうございます
スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

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

投稿数ランキング

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
1294
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.