If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Admin Tools / Database I/O Manager (DbIo) Plugin [Support Thread]

Database I/O Manager (DbIo) Plugin [Support Thread]

Started by lat9 on 1 Jul 2016, 6:09 PM · Views: 104,847

Results 221 to 240 of 628
17 Apr 2019, 4:35 PM
#221
oopsibrickedit avatar

oopsibrickedit

Zen Follower

Join Date:
Mar 2012
Posts:
132
Plugin Contributions:
0

Post #221 by oopsibrickedit

lat9:

It sounds like (from the first referenced post) that you're importing those products. You'll need to add a column named v_dbio_command and fill each column with the DbIo command **ADD **to force the import of those products.

For the second referenced post, you've run into the same issue as @lynbor; see post #213 for the correction.

I installed the github upgrade but I still have import problems. Now I get:```
dbio.Products.test24_1_500.csv" was completed with 0 errors and 1071 warnings. 0 records were inserted or updated.


So are also warnings preventing the upgrade?
17 Apr 2019, 5:05 PM
#222
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #222 by lat9

Apparently! What were the warnings?

17 Apr 2019, 6:16 PM
#223
oopsibrickedit avatar

oopsibrickedit

Zen Follower

Join Date:
Mar 2012
Posts:
132
Plugin Contributions:
0

Post #223 by oopsibrickedit

lat9:

Apparently! What were the warnings?

Here, I have made the subcategories like :: Vanteet :: 19 tuumaa but I still get this:
Attachment 18415

17 Apr 2019, 6:19 PM
#224
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #224 by lat9

Would you post (between CODE tags) one line of that import CSV?

17 Apr 2019, 6:36 PM
#225
oopsibrickedit avatar

oopsibrickedit

Zen Follower

Join Date:
Mar 2012
Posts:
132
Plugin Contributions:
0

Post #225 by oopsibrickedit

Here is first part of it:```
v_products_id;v_products_type;v_products_quantity;v_products_model;v_products_image;v_products_price;v_products_virtual;v_products_date_added;v_products_last_modified;v_products_date_available;v_products_weight;v_products_status;v_products_ordered;v_products_quantity_order_min;v_products_quantity_order_units;v_products_priced_by_attribute;v_product_is_free;v_product_is_call;v_products_quantity_mixed;v_product_is_always_free_shipping;v_products_qty_box_status;v_products_quantity_order_max;v_products_sort_order;v_products_discount_type;v_products_discount_type_from;v_products_price_sorter;v_products_mixed_discount_quantity;v_metatags_title_status;v_metatags_products_name_status;v_metatags_model_status;v_metatags_price_status;v_metatags_title_tagline_status;v_products_name_fi;v_products_description_fi;v_products_short_desc_fi;v_products_url_fi;v_products_viewed_fi;v_manufacturers_name;v_tax_class_title;v_categories_name;v_dbio_command
0;1;0;RHPRO295947R/MGM/3000(1169);art_1011159.jpg;553.9;0;12.4.2019 22:56;12.4.2019 22:58;;10;1;0;1;1;0;0;0;1;0;1;0;0;0;0;553.9;1;0;1;1;1;0;BARRACUDA PROJECT 2.0 Mattgunmetal/ undercut Colour Trim punaine;BARRACUDA PROJECT 2.0 Mattgunmetal/ undercut Colour Trim punainen Vanne 9.5x19 - 19 tuumaa 5x112 Pulttijako;;;0;;;:: Vanteet ::^Barracuda^19 tuumaa^5x112;ADD
0;1;0;RHPRO285945R/MGM220293000(1173);art_1011157.jpg;569.65;0;12.4.2019 22:56;12.4.2019 22:58;;10;1;0;1;1;0;0;0;1;0;1;0;0;0;0;569.65;1;0;1;1;1;0;BARRACUDA PROJECT 2.0 Mattgunmetal/ undercut Colour Trim punaine;BARRACUDA PROJECT 2.0 Mattgunmetal/ undercut Colour Trim punainen Vanne 8.5x19 - 19 tuumaa 5x112 Pulttijako;;;0;;;:: Vanteet ::^Barracuda^19 tuumaa^5x112;ADD
0;1;0;RHPRO295947R/MGM220283000(1171);art_1011137.jpg;588.55;0;12.4.2019 22:56;12.4.2019 22:58;;10;1;0;1;1;0;0;0;1;0;1;0;0;0;0;588.55;1;0;1;1;1;0;BARRACUDA PROJECT 2.0 Mattgunmetal/ undercut Colour Trim punaine;BARRACUDA PROJECT 2.0 Mattgunmetal/ undercut Colour Trim punainen Vanne 9.5x19 - 19 tuumaa 5x112 Pulttijako;;;0;;;:: Vanteet ::^Barracuda^19 tuumaa^5x112;ADD
0;1;0;RHPRO285945R/MGM/3000(1151);art_1011072.jpg;532.9;0;12.4.2019 22:56;12.4.2019 22:58;;10;1;0;1;1;0;0;0;1;0;1;0;0;0;0;532.9;1;0;1;1;1;0;BARRACUDA PROJECT 2.0 Mattgunmetal/ undercut Colour Trim punaine;BARRACUDA PROJECT 2.0 Mattgunmetal/ undercut Colour Trim punainen Vanne 8.5x19 - 19 tuumaa 5x112 Pulttijako;;;0;;;:: Vanteet ::^Barracuda^19 tuumaa^5x112;ADD
0;1;0;RHPRO285945R/MGM22029(1086);art_1011075.jpg;539.2;0;12.4.2019 22:56;12.4.2019 22:58;;10;1;0;1;1;0;0;0;1;0;1;0;0;0;0;539.2;1;0;1;1;1;0;BARRACUDA PROJECT 2.0 Mattgunmetal vanne 8.5x19 - 19 tuumaa 5x11;BARRACUDA PROJECT 2.0 Mattgunmetal Vanne 8.5x19 - 19 tuumaa 5x112 Pulttijako;;;0;;;:: Vanteet ::^Barracuda^19 tuumaa^5x112;ADD
0;1;0;RHPRO290035T/MGM12124(1089);art_1011121.jpg;640;0;12.4.2019 22:56;12.4.2019 22:58;;10;1;0;1;1;0;0;0;1;0;1;0;0;0;0;640;1;0;1;1;1;0;BARRACUDA PROJECT 2.0 Mattgunmetal vanne 9x20 - 20 tuumaa 5x120;BARRACUDA PROJECT 2.0 Mattgunmetal Vanne 9x20 - 20 tuumaa 5x120 Pulttijako;;;0;;;:: Vanteet ::^Barracuda^20 tuumaa^5x120;ADD

18 Apr 2019, 11:33 AM
#226
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #226 by lat9

Is Finnish the default language for your store? I've taken the CSV sample that you provided (changing the language-based fields from _fi to _en), creating the associated categories and had no issue with the import.

18 Apr 2019, 2:40 PM
#227
oopsibrickedit avatar

oopsibrickedit

Zen Follower

Join Date:
Mar 2012
Posts:
132
Plugin Contributions:
0

Post #227 by oopsibrickedit

Hi,

yes finnish is the default language and old shop does not seem to have even an option to change language. I just started working with this shop. I will try to change to _en

18 Apr 2019, 2:53 PM
#228
oopsibrickedit avatar

oopsibrickedit

Zen Follower

Join Date:
Mar 2012
Posts:
132
Plugin Contributions:
0

Post #228 by oopsibrickedit

lat9:

Is Finnish the default language for your store? I've taken the CSV sample that you provided (changing the language-based fields from _fi to _en), creating the associated categories and had no issue with the import.

If I remember right I had to copy some files to english side to finnish side when installing to get the GUI visible & working. It could be perhaps something related to that.

I tried changing language related categories to _en and I got same results aka warning can not insert to subgategories because they don't exists.

18 Apr 2019, 9:57 PM
#229
iatia avatar

iatia

Zen Follower

Join Date:
Nov 2009
Location:
Aransas Pass, TX
Posts:
102
Plugin Contributions:
1

Post #229 by iatia

lat9:

Correction found for the issue reported by @lynbor; see https://github.com/lat9/dbio/commit/cd61b97ef1377e489f44a111fb7bb295aebedbea for details.Seems to have fixed it for me. Just tried importing yesterday and got 3 zillion integer errors. Added the GitHub fixes and all seems good now. Fixing to install and fire up a fresh copy of zencart and try again.

19 Apr 2019, 9:41 AM
#230
oopsibrickedit avatar

oopsibrickedit

Zen Follower

Join Date:
Mar 2012
Posts:
132
Plugin Contributions:
0

Post #230 by oopsibrickedit

Thank you Lat9. I also installed latest Github version and got rid of Integer errors.

Main reason I could not make exports to subcategories was that I had 2 same named categories the old one without subcategories was BARRACUDA and the new which had right subcategories was named Barracuda. The db-connection query does not see any difference between them and because I had "make categories from csv" turned off it could not make categories to old BARRACUDA folder either. Lat9 spotted that. Thank you to her very much! I have now bulk imported over 1500 products to ZC with DbIo without any problems.

19 Apr 2019, 11:09 AM
#231
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #231 by lat9

You're welcome, @OopsIbrickedIT, I'm glad to have helped.

22 Apr 2019, 4:18 PM
#232
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #232 by lat9

I've just submitted v1.5.3 of the DbIo Manager to the Zen Cart plugins for review and will post back here when it's available for download (https://www.zen-cart.com/downloads.php?do=file&id=2091).

 This release contains corrections for the following GitHub issues:

#127: Auto-create categories error on more recent/strict versions of MySQL.
#128: Fatal error adding a product
#129: Incorrect detection of invalid integer fields.
#130: Unwanted PHP Notice when creating a product.

26 Apr 2019, 9:10 PM
#233
howb avatar

howb

New Zenner

Join Date:
Jun 2008
Location:
Warrenpoint, United Kingdom
Posts:
43
Plugin Contributions:
0

Post #233 by howb

Great plugin and will be very useful, but I'm not sure if there is a problem with plugin or my DB. Maybe I'm doing something wrong, but when I am trying to add new items to ProductOption, I make all new options have "v_products_options_id" equal to "0". I upload CSV and it says import is successful but when I check the Option Name Manager, none are entered except for the last entry, which in Option Name Manager has ID = 0.

Winemax.ie
Check out my short film The Pigman - Short Irish Fable

27 Apr 2019, 12:10 PM
#234
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #234 by lat9

lat9:

I've just submitted v1.5.3 of the DbIo Manager to the Zen Cart plugins for review and will post back here when it's available for download (https://www.zen-cart.com/downloads.php?do=file&id=2091).

 This release contains corrections for the following GitHub issues:

#127: Auto-create categories error on more recent/strict versions of MySQL.
#128: Fatal error adding a product
#129: Incorrect detection of invalid integer fields.
#130: Unwanted PHP Notice when creating a product.
Now available for download.

27 Apr 2019, 12:52 PM
#235
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #235 by lat9

howb:

Great plugin and will be very useful, but I'm not sure if there is a problem with plugin or my DB. Maybe I'm doing something wrong, but when I am trying to add new items to ProductOption, I make all new options have "v_products_options_id" equal to "0". I upload CSV and it says import is successful but when I check the Option Name Manager, none are entered except for the last entry, which in Option Name Manager has ID = 0.
I've created this issue (https://github.com/lat9/dbio/issues/131) to track the change required.

27 Apr 2019, 2:27 PM
#236
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #236 by lat9

lat9:

I've created this issue (https://github.com/lat9/dbio/issues/131) to track the change required.
Noting that a similar issue is associated with the ***ProductsOptionsValues ***import. Part of the underlying cause was a subtle coding change introduced in zc156 where a default (id = 0) entry was added to each of the products_options and products_options_values tables.

30 Apr 2019, 4:50 PM
#237
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #237 by lat9

I've just submitted v1.5.4 for review by the plugin moderators. This release contains the changes associated with the following GitHub issues:

#122: Update ProductsAttribsRaw to support a "REMOVE" command.
#131: ProductsOptions/ProductsOptionsValues: Insert error.
#132: Correct various PHP "Notice" issues.
#133: ProductsAttribsRaw throws error for strict MySQL installations.
#134: ProductsDiscountQuantity throws error for strict MySQL installations.

I'll post back once it's available for download.

30 Apr 2019, 7:13 PM
#238
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #238 by lat9

lat9:

I've just submitted v1.5.4 for review by the plugin moderators. This release contains the changes associated with the following GitHub issues:

#122: Update ProductsAttribsRaw to support a "REMOVE" command.
#131: ProductsOptions/ProductsOptionsValues: Insert error.
#132: Correct various PHP "Notice" issues.
#133: ProductsAttribsRaw throws error for strict MySQL installations.
#134: ProductsDiscountQuantity throws error for strict MySQL installations.

I'll post back once it's available for download.
That was lightning fast! Now available for download.

1 May 2019, 10:43 AM
#239
howb avatar

howb

New Zenner

Join Date:
Jun 2008
Location:
Warrenpoint, United Kingdom
Posts:
43
Plugin Contributions:
0

Post #239 by howb

lat9:

That was lightning fast! Now available for download.

Thanks for fixing the issues! ProductOptions working well now. It's a great replacement for Apsona.

I'm trying to change a products Master category? Is this possible? When I change category in Products Handler it makes it a linked product?

Thanks again for all your help

Winemax.ie
Check out my short film The Pigman - Short Irish Fable

1 May 2019, 11:08 AM
#240
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #240 by lat9

@howb, I've created this issue (https://github.com/lat9/dbio/issues/135) on the DbIo GitHub repository to track the associated change.