バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

バグ報告 > 管理機能 > 商品データー移行後、商品登録時にシステムエラーが出てしまう

管理機能

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
ecstore
投稿日時: 2013/5/15 20:51
対応状況: −−−
新米
登録日: 2013/5/15
居住地:
投稿: 2
商品データー移行後、商品登録時にシステムエラーが出てしまう
商品データの移行を行ってから、新規商品登録の際に、システムエラーが出てしまうようになってしまいました。

原因がわからず困り果てております。

聡明な皆様のお知恵をお借りしたいと思いまして、投稿させて頂きました。

エラーコードの表記は、下記のような感じです。

どうぞよろしくお願い致します。


Fatal error(E_USER_ERROR): DB処理でエラーが発生しました。
SQL: [PREPARE mdb2_statement_mysql_94b7e6af50b95e0a41cf8c103b97f3ddf4d8589cf FROM 'INSERT INTO dtb_products(name,status,main_list_comment,main_comment,comment1,comment2,comment3,comment4,comment5,comment6,deliv_date_id,maker_id,note,update_date,endsell_date,arrival_date,creator_id,map_url,youtube,noshi,pagetitle,author,description,keywords,main_list_image,main_image,main_large_image,sub_image1,sub_large_image1,sub_image2,sub_large_image2,sub_image3,sub_large_image3,sub_image4,sub_large_image4,sub_image5,sub_large_image5,sub_title1,sub_comment1,sub_title2,sub_comment2,sub_title3,sub_comment3,sub_title4,sub_comment4,sub_title5,sub_comment5,product_id,create_date) SELECT ?,?,?,?,?,?,?,?,?,?,?,?,?,CURRENT_TIMESTAMP,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,CURRENT_TIMESTAMP']
PlaceHolder: [array (
0 => 'テスト',
1 => '1',
2 => 'テスト',
3 => 'テスト',
4 => '',
5 => '',
6 => 'テスト',
7 => '',
8 => '',
9 => '',
10 => '',
11 => '',
12 => 'テスト',
13 => '',
14 => '',
15 => '2',
16 => '',
17 => '',
18 => '2',
19 => '',
20 => '',
21 => '',
22 => '',
23 => '05151821_51935382578a2.jpg',
24 => '05151821_519353824a1eb.jpg',
25 => '05151821_519353823af9a.jpg',
26 => '',
27 => '',
28 => '',
29 => '',
30 => '',
31 => '',
32 => '',
33 => '',
34 => '',
35 => '',
36 => '',
37 => '',
38 => '',
39 => '',
40 => '',
41 => '',
42 => '',
43 => '',
44 => '',
45 => '',
46 => 13,
)]
MDB2 Error: constraint violation
_doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE mdb2_statement_mysql_94b7e6af50b95e0a41cf8c103b97f3ddf4d8589cf USING @0, @1, @2, @3, @4, @5, @6, @7, @8, @9, @10, @11, @12, @13, @14, @15, @16, @17, @18, @19, @20, @21, @22, @23, @24, @25, @26, @27, @28, @29, @30, @31, @32, @33, @34, @35, @36, @37, @38, @39, @40, @41, @42, @43, @44, @45, @46]
[Native code: 1062]
[Native message: Duplicate entry '13' for key 'PRIMARY']
on [/home/users/0/lolipop.jp-5254da93451d516f/web/dataoutdoor/class/SC_Query.php(1007)] from 106.172.123.34
login_id = outdoorfellow(0)[ec88271ef6ae360ace719a0aff9e4851]
/home/users/0/lolipop.jp-5254da93451d516f/web/shopoutdoor/admin/products/product.php(34): LC_Page_Admin_Products_Product_Ex->process
/home/users/0/lolipop.jp-5254da93451d516f/web/dataoutdoor/class_extends/page_extends/admin/products/LC_Page_Admin_Products_Product_Ex.php(56): LC_Page_Admin_Products_Product->process
/home/users/0/lolipop.jp-5254da93451d516f/web/dataoutdoor/class/pages/admin/products/LC_Page_Admin_Products_Product.php(69): LC_Page_Admin_Products_Product->action
/home/users/0/lolipop.jp-5254da93451d516f/web/dataoutdoor/class/pages/admin/products/LC_Page_Admin_Products_Product.php(172): LC_Page_Admin_Products_Product->lfRegistProduct
/home/users/0/lolipop.jp-5254da93451d516f/web/dataoutdoor/class/pages/admin/products/LC_Page_Admin_Products_Product.php(1098): SC_Query->insert
/home/users/0/lolipop.jp-5254da93451d516f/web/dataoutdoor/class/SC_Query.php(530): SC_Query->query
/home/users/0/lolipop.jp-5254da93451d516f/web/dataoutdoor/class/SC_Query.php(814): SC_Query->execute
/home/users/0/lolipop.jp-5254da93451d516f/web/dataoutdoor/class/SC_Query.php(970): SC_Query->error
/home/users/0/lolipop.jp-5254da93451d516f/web/dataoutdoor/class/SC_Query.php(1007): trigger_error
namahage
投稿日時: 2013/5/15 21:27
対応状況: −−−
長老
登録日: 2013/2/28
居住地: 大阪
投稿: 198
Re: 商品データー移行後、商品登録時にシステムエラーが出てしまう
はじめまして〜

Duplicate entry '13' for key 'PRIMARY'ってでてるので、おそらく下記の問題と現象は違えど、原因は同じだと言えます。

dtb_products_product_id_seqにある番号がすでに、dtb_productsのproduct_idで使用されているので同じ番号はつかえないよ〜てきなエラーがでています。

http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=12499&forum=10&post_id=57544#forumpost57544

参考になれば幸いです。
ecstore
投稿日時: 2013/5/16 12:38
対応状況: −−−
新米
登録日: 2013/5/15
居住地:
投稿: 2
Re: 商品データー移行後、商品登録時にシステムエラーが出てしまう
アドバイス頂きありがとうございます。

商品IDが干渉している可能性があるのではと思っております。

そのあたりをもう少し調べてみようと思います。

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


 



ログイン


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

統計情報

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

投稿数ランキング

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.