バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

質問 > 管理機能 > 商品CSVダウンロードでエラー

管理機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
sssdj1123
投稿日時: 2016/1/6 14:33
対応状況: −−−
新米
登録日: 2013/10/11
居住地:
投稿: 2
商品CSVダウンロードでエラー
お世話になります。
Ver.2.13.3で商品マスターより商品のCSVデータをダウンロードするとエラーがでます。
商品は項目に1項目追加してます。

デバッグ情報は下記のようにでます。
どなたかアドバイスを頂けますと幸いです。


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, 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, 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, best_time 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.best_time, 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 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 ORDER BY update_date DESC ]
MDB2 Error: no such field
_doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_7aa499f9c680dfab9bb25eca50ab60686ce917f50 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, 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, 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, best_time 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.best_time, 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 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 ORDER BY update_date DESC ']
[Native code: 1054]
[Native message: Unknown column 'dtb_products_class.best_time' in 'field list']
on [/data/class/SC_Query.php(1095)]
/admin/products/index.php(29): LC_Page_Admin_Products_Ex->process
/data/class_extends/page_extends/admin/products/LC_Page_Admin_Products_Ex.php(54): LC_Page_Admin_Products->process
/data/class/pages/admin/products/LC_Page_Admin_Products.php(78): LC_Page_Admin_Products->action
/data/class/pages/admin/products/LC_Page_Admin_Products.php(139): SC_Helper_CSV->sfDownloadCsv
/data/class/helper/SC_Helper_CSV.php(102): SC_Helper_CSV->sfDownloadCsvFromSql
/data/class/helper/SC_Helper_CSV.php(249): SC_Query->doCallbackAll
/data/class/SC_Query.php(271): SC_Query->prepare
/data/class/SC_Query.php(1024): SC_Query->error
/data/class/SC_Query.php(1095): trigger_error
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
 » 商品CSVダウンロードでエラー sssdj1123 2016/1/6 14:33
     Re: 商品CSVダウンロードでエラー red 2016/1/6 15:03
       Re: 商品CSVダウンロードでエラー sssdj1123 2016/1/6 20:38
         Re: 商品CSVダウンロードでエラー red 2016/1/6 21:32

 



ログイン


EC-CUBEペイメント

公式ストアEC-CUBE4系デザインテンプレート続々リリース中

統計情報

総メンバー数は65,931名です
総投稿数は98,063件です

投稿数ランキング

1
seasoft
7332
2
AMUAMU
2712
3
468
2601
4
nanasess
2101
5
umebius
1717
6
yuh
1612
7
red
1423
8
h_tanaka
1038
9
fukap
907
10
tsuji
863
11
shutta
835
12
tao_s
792
13 ramrun 789
14 karin 657
15 sumida 641
16
homan
633
17 DELIGHT 571
18
patapata
502
19
flealog
485
20 tonton 437


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.