バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > 管理機能 > CSVダウンロードでシステムエラーが起こる

管理機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
maruo
投稿日時: 2013/2/1 17:38
対応状況: −−−
新米
登録日: 2012/12/20
居住地:
投稿: 10
CSVダウンロードでシステムエラーが起こる
お世話になっております。

表題の件ですが、商品一覧の「CSVダウンロード」を行うと、以下のようなエラーがでます。

なお、商品のフィールドを増やす、カスタマイズを行なっております。

どなたか、エラーログから対処法をご伝授お願い致します。


▼基本情報
EC-CUBE:2.12.2
サーバーOS:Linux 2.6.18-348.1.1.el5PAE
DBサーバー:MySQL 5.0.95
WEBサーバー:Apache



▼エラーログ
==========================================================
Fatal error(E_USER_ERROR): DB処理でエラーが発生しました。
SQL: [SELECT product_id, product_class_id, parent_classcategory_id, classcategory_id, parent_classcategory_name, classcategory_name, maker_id, (SELECT name as maker_name FROM dtb_maker WHERE prdcls.maker_id = dtb_maker.maker_id) as maker_name, name, status, comment1, comment2, comment3, comment4, comment5, comment6, note, main_list_comment, main_list_image, main_comment, bikou, parts, main_image, main_large_image, sub_title1, sub_comment1, sub_image1, sub_large_image1, sub_title2, sub_comment2, sub_image2, sub_large_image2, sub_title3, sub_comment3, sub_image3, sub_large_image3, sub_title4, sub_comment4, sub_image4, sub_large_image4, sub_title5, sub_comment5, sub_image5, sub_large_image5, sub_title6, sub_comment6, sub_image6, sub_large_image6, sub_title7, sub_comment7, sub_image7, sub_large_image7, sub_title8, sub_comment8, sub_image8, sub_large_image8, sub_title9, sub_comment9, sub_image9, sub_large_image9, sub_title10, sub_comment10, sub_image10, sub_large_image10, deliv_date_id, del_flg, product_type_id, product_code, stock, stock_unlimited, sale_limit, price01, price02, deliv_fee, point_rate, down_filename, down_realfilename, (SELECT recommend_product_id FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 0) AS recommend_product_id1, (SELECT comment FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 0) AS recommend_comment1, (SELECT recommend_product_id FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 1) AS recommend_product_id2, (SELECT comment FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 1) AS recommend_comment2, (SELECT recommend_product_id FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 2) AS recommend_product_id3, (SELECT comment FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 2) AS recommend_comment3, (SELECT recommend_product_id FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 3) AS recommend_product_id4, (SELECT comment FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 3) AS recommend_comment4, (SELECT recommend_product_id FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 4) AS recommend_product_id5, (SELECT comment FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 4) AS recommend_comment5, (SELECT recommend_product_id FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 5) AS recommend_product_id6, (SELECT comment FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 5) AS recommend_comment6, (SELECT GROUP_CONCAT(product_status_id SEPARATOR ',') FROM dtb_product_status WHERE dtb_product_status.product_id = prdcls.product_id and del_flg = 0 ORDER BY dtb_product_status.product_status_id) as product_statuses, (SELECT GROUP_CONCAT(name SEPARATOR ',') FROM dtb_product_status LEFT JOIN mtb_status ON dtb_product_status.product_status_id = mtb_status.id WHERE dtb_product_status.product_id = prdcls.product_id and del_flg = 0 ORDER BY dtb_product_status.product_status_id) as product_status_names, (SELECT GROUP_CONCAT(category_id SEPARATOR ',') FROM dtb_product_categories WHERE dtb_product_categories.product_id = prdcls.product_id ORDER BY dtb_product_categories.rank) as category_ids, (SELECT GROUP_CONCAT(category_name SEPARATOR ',') FROM dtb_product_categories LEFT JOIN dtb_category ON dtb_product_categories.category_id = dtb_category.category_id WHERE dtb_product_categories.product_id = prdcls.product_id ORDER BY dtb_product_categories.rank) as category_names FROM ( SELECT dtb_products.*, dtb_products_class.product_class_id, dtb_products_class.product_type_id, dtb_products_class.product_code, dtb_products_class.stock, dtb_products_class.stock_unlimited, dtb_products_class.sale_limit, dtb_products_class.price01, dtb_products_class.price02, dtb_products_class.deliv_fee, dtb_products_class.point_rate, dtb_products_class.down_filename, dtb_products_class.down_realfilename, dtb_products_class.classcategory_id1 AS classcategory_id, /* 削除 */ dtb_products_class.classcategory_id1, dtb_products_class.classcategory_id2 AS parent_classcategory_id, /* 削除 */ dtb_products_class.classcategory_id2, Tcc1.class_id as class_id, Tcc1.name as classcategory_name, Tcc2.class_id as parent_class_id, Tcc2.name as parent_classcategory_name ,dtb_products.sub_title7 ,dtb_products.sub_comment7 ,dtb_products.sub_image7 ,dtb_products.sub_large_image7 ,dtb_products.sub_title8 ,dtb_products.sub_comment8 ,dtb_products.sub_image8 ,dtb_products.sub_large_image8 ,dtb_products.sub_title9 ,dtb_products.sub_comment9 ,dtb_products.sub_image9 ,dtb_products.sub_large_image9 ,dtb_products.sub_title10 ,dtb_products.sub_comment10 ,dtb_products.sub_image10 ,dtb_products.sub_large_image10 FROM dtb_products LEFT JOIN dtb_products_class ON dtb_products.product_id = dtb_products_class.product_id LEFT JOIN dtb_classcategory as Tcc1 ON dtb_products_class.classcategory_id1 = Tcc1.classcategory_id LEFT JOIN dtb_classcategory as Tcc2 ON dtb_products_class.classcategory_id2 = Tcc2.classcategory_id WHERE dtb_products_class.del_flg = 0 ) as prdcls WHERE del_flg = 0 AND (status = ?) ORDER BY update_date DESC ]
MDB2 Error: already exists
_doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_64e3cfa2656a1f7acf0b7459b8dd00a6971caeae7 FROM 'SELECT product_id, product_class_id, parent_classcategory_id, classcategory_id, parent_classcategory_name, classcategory_name, maker_id, (SELECT name as maker_name FROM dtb_maker WHERE prdcls.maker_id = dtb_maker.maker_id) as maker_name, name, status, comment1, comment2, comment3, comment4, comment5, comment6, note, main_list_comment, main_list_image, main_comment, bikou, parts, main_image, main_large_image, sub_title1, sub_comment1, sub_image1, sub_large_image1, sub_title2, sub_comment2, sub_image2, sub_large_image2, sub_title3, sub_comment3, sub_image3, sub_large_image3, sub_title4, sub_comment4, sub_image4, sub_large_image4, sub_title5, sub_comment5, sub_image5, sub_large_image5, sub_title6, sub_comment6, sub_image6, sub_large_image6, sub_title7, sub_comment7, sub_image7, sub_large_image7, sub_title8, sub_comment8, sub_image8, sub_large_image8, sub_title9, sub_comment9, sub_image9, sub_large_image9, sub_title10, sub_comment10, sub_image10, sub_large_image10, deliv_date_id, del_flg, product_type_id, product_code, stock, stock_unlimited, sale_limit, price01, price02, deliv_fee, point_rate, down_filename, down_realfilename, (SELECT recommend_product_id FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 0) AS recommend_product_id1, (SELECT comment FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 0) AS recommend_comment1, (SELECT recommend_product_id FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 1) AS recommend_product_id2, (SELECT comment FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 1) AS recommend_comment2, (SELECT recommend_product_id FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 2) AS recommend_product_id3, (SELECT comment FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 2) AS recommend_comment3, (SELECT recommend_product_id FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 3) AS recommend_product_id4, (SELECT comment FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 3) AS recommend_comment4, (SELECT recommend_product_id FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 4) AS recommend_product_id5, (SELECT comment FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 4) AS recommend_comment5, (SELECT recommend_product_id FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 5) AS recommend_product_id6, (SELECT comment FROM dtb_recommend_products WHERE prdcls.product_id = dtb_recommend_products.product_id ORDER BY rank DESC, recommend_product_id DESC limit 1 offset 5) AS recommend_comment6, (SELECT GROUP_CONCAT(product_status_id SEPARATOR \',\') FROM dtb_product_status WHERE dtb_product_status.product_id = prdcls.product_id and del_flg = 0 ORDER BY dtb_product_status.product_status_id) as product_statuses, (SELECT GROUP_CONCAT(name SEPARATOR \',\') FROM dtb_product_status LEFT JOIN mtb_status ON dtb_product_status.product_status_id = mtb_status.id WHERE dtb_product_status.product_id = prdcls.product_id and del_flg = 0 ORDER BY dtb_product_status.product_status_id) as product_status_names, (SELECT GROUP_CONCAT(category_id SEPARATOR \',\') FROM dtb_product_categories WHERE dtb_product_categories.product_id = prdcls.product_id ORDER BY dtb_product_categories.rank) as category_ids, (SELECT GROUP_CONCAT(category_name SEPARATOR \',\') FROM dtb_product_categories LEFT JOIN dtb_category ON dtb_product_categories.category_id = dtb_category.category_id WHERE dtb_product_categories.product_id = prdcls.product_id ORDER BY dtb_product_categories.rank) as category_names FROM ( SELECT dtb_products.*, dtb_products_class.product_class_id, dtb_products_class.product_type_id, dtb_products_class.product_code, dtb_products_class.stock, dtb_products_class.stock_unlimited, dtb_products_class.sale_limit, dtb_products_class.price01, dtb_products_class.price02, dtb_products_class.deliv_fee, dtb_products_class.point_rate, dtb_products_class.down_filename, dtb_products_class.down_realfilename, dtb_products_class.classcategory_id1 AS classcategory_id, /* 削除 */ dtb_products_class.classcategory_id1, dtb_products_class.classcategory_id2 AS parent_classcategory_id, /* 削除 */ dtb_products_class.classcategory_id2, Tcc1.class_id as class_id, Tcc1.name as classcategory_name, Tcc2.class_id as parent_class_id, Tcc2.name as parent_classcategory_name ,dtb_products.sub_title7 ,dtb_products.sub_comment7 ,dtb_products.sub_image7 ,dtb_products.sub_large_image7 ,dtb_products.sub_title8 ,dtb_products.sub_comment8 ,dtb_products.sub_image8 ,dtb_products.sub_large_image8 ,dtb_products.sub_title9 ,dtb_products.sub_comment9 ,dtb_products.sub_image9 ,dtb_products.sub_large_image9 ,dtb_products.sub_title10 ,dtb_products.sub_comment10 ,dtb_products.sub_image10 ,dtb_products.sub_large_image10 FROM dtb_products LEFT JOIN dtb_products_class ON dtb_products.product_id = dtb_products_class.product_id LEFT JOIN dtb_classcategory as Tcc1 ON dtb_products_class.classcategory_id1 = Tcc1.classcategory_id LEFT JOIN dtb_classcategory as Tcc2 ON dtb_products_class.classcategory_id2 = Tcc2.classcategory_id WHERE dtb_products_class.del_flg = 0 ) as prdcls WHERE del_flg = 0 AND (status = ?) ORDER BY update_date DESC ']
[Native code: 1060]
[Native message: Duplicate column name 'sub_title7']
on [/data/class/SC_Query.php(1008)]
/html/admin/products/index.php(34): LC_Page_Admin_Products_Ex->process
/data/class_extends/page_extends/admin/products/LC_Page_Admin_Products_Ex.php(56): LC_Page_Admin_Products->process
/data/class/pages/admin/products/LC_Page_Admin_Products.php(81): LC_Page_Admin_Products->action
/data/class/pages/admin/products/LC_Page_Admin_Products.php(142): SC_Helper_CSV->sfDownloadCsv
/data/class/helper/SC_Helper_CSV.php(106): SC_Helper_CSV->sfDownloadCsvFromSql
/data/class/helper/SC_Helper_CSV.php(241): SC_Query->doCallbackAll
/data/class/SC_Query.php(247): SC_Query->prepare
/data/class/SC_Query.php(949): SC_Query->error
/data/class/SC_Query.php(1008): trigger_error
▲▲▲ デバッグ情報ここまで ▲▲▲
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
 » CSVダウンロードでシステムエラーが起こる maruo 2013/2/1 17:38
     Re: CSVダウンロードでシステムエラーが起こる shutta 2013/2/1 18:50
       Re: CSVダウンロードでシステムエラーが起こる maruo 2013/2/1 20:26
         Re: CSVダウンロードでシステムエラーが起こる karin 2013/2/1 21:02
           Re: CSVダウンロードでシステムエラーが起こる shutta 2013/2/1 23:11
             Re: CSVダウンロードでシステムエラーが起こる maruo 2013/2/2 0:18
               Re: CSVダウンロードでシステムエラーが起こる shutta 2013/2/4 10:39
                 Re: CSVダウンロードでシステムエラーが起こる maruo 2013/2/4 11:13
                   Re: CSVダウンロードでシステムエラーが起こる shutta 2013/2/4 19:53
                     Re: CSVダウンロードでシステムエラーが起こる maruo 2013/2/4 21:50
                       Re: CSVダウンロードでシステムエラーが起こる shutta 2013/2/5 11:23
                         Re: CSVダウンロードでシステムエラーが起こる maruo 2013/2/5 16:02
                       Re: CSVダウンロードでシステムエラーが起こる gabriella 2021/2/18 13:57

 



ログイン


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

統計情報

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

投稿数ランキング

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