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,845

Results 81 to 100 of 628
8 Jul 2017, 2:49 AM
#81
boomy avatar

boomy

New Zenner

Join Date:
Feb 2011
Posts:
21
Plugin Contributions:
0

Post #81 by boomy

Double post ..sorry

8 Jul 2017, 3:12 AM
#82
boomy avatar

boomy

New Zenner

Join Date:
Feb 2011
Posts:
21
Plugin Contributions:
0

Post #82 by boomy

The following warnings/errors were generated by the above action:

Data record at line #2 not imported. Column count (42) less than header column count (43)

8 Jul 2017, 4:00 AM
#83
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Post #83 by lankeeyankee

That means your database tables don't match. One has 42 columns and the other has 43. So you need to compare the tables to see what the missing column is. I believe your new database has the extra column based on the message.


Zen Cart and it's community are the best!!

8 Jul 2017, 12:55 PM
#84
lat9 avatar

lat9

Administrator

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

Post #84 by lat9

@boomy, you don't mention your PHP or DbIo version, but ...

... after an import is completed, there's a dbio log file generated with the same name as your input csv; that .log file (also accessible from the DbIo console) will identify what were considered errors.

10 Jul 2017, 3:48 PM
#85
lat9 avatar

lat9

Administrator

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

Post #85 by lat9

boomy:

The following warnings/errors were generated by the above action:

Data record at line #2 not imported. Column count (42) less than header column count (43)
That message implies that your import-CSV file identifies 43 columns in the header row (the first row) but only 42 rows in data.

10 Jul 2017, 5:55 PM
#86
lat9 avatar

lat9

Administrator

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

Post #86 by lat9

frank18:

And yet another great plugin by lat9 :cheers: !!

Found one little snag when testing on a local dev install (1.5.5e): I omitted to make the YOUR_ADMIN/dbio folder writable and of course my test export file was not created.

In case the YOUR_ADMIN/dbio folder is not writable then DbIo should give a warning in the admin when attempting to export to that folder, would avoid some raising of the eyebrows.

I guess that test could be done during the install process of DbIo.
I've got the change for this issue staged on the plugin's GitHub repository; it will be included in the plugin's 1.3.1 release.

14 Sep 2017, 5:10 AM
#87
johnies avatar

johnies

New Zenner

Join Date:
Jun 2015
Posts:
9
Plugin Contributions:
0

Post #87 by johnies

1.5.5e / 1.3.0 - "Products: Auto-Create Categories on Import?" option set to "true". I created a custom product template to match the fields in an Easy Populate CSV from an old OSCommerce site I'm updating. I tested it by exporting the sample data and found a couple of problems.

Under the "v_categories_name" heading, all that's listed is a '1' for each product. However; under the v_products_status heading, instead of the expected "Active" or "Inactive", it has the category hierarchy for each product, separated by a caret --> Women^Bottoms^Jeans^Image Gallery.

Template creation is pretty straight forward so it's likely a bug but if there's a way to resolve it I'd appreciate the help.

14 Sep 2017, 10:29 AM
#88
lat9 avatar

lat9

Administrator

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

Post #88 by lat9

Johnies:

1.5.5e / 1.3.0 - "Products: Auto-Create Categories on Import?" option set to "true". I created a custom product template to match the fields in an Easy Populate CSV from an old OSCommerce site I'm updating. I tested it by exporting the sample data and found a couple of problems.

Under the "v_categories_name" heading, all that's listed is a '1' for each product. However; under the v_products_status heading, instead of the expected "Active" or "Inactive", it has the category hierarchy for each product, separated by a caret --> Women^Bottoms^Jeans^Image Gallery.

Template creation is pretty straight forward so it's likely a bug but if there's a way to resolve it I'd appreciate the help.
Hmm, it sounds like (somehow) the v_categories_name data and the v_products_status data got reversed (note that the products_status will show either 0 or 1, not "Inactive" or "Active") in the export.

Would you share, via image, the configuration of the template that you've set up ... that might help me to reproduce the issue.

14 Sep 2017, 4:37 PM
#89
johnies avatar

johnies

New Zenner

Join Date:
Jun 2015
Posts:
9
Plugin Contributions:
0

Post #89 by johnies

lat9:

Hmm, it sounds like (somehow) the v_categories_name data and the v_products_status data got reversed (note that the products_status will show either 0 or 1, not "Inactive" or "Active") in the export.

Would you share, via image, the configuration of the template that you've set up ... that might help me to reproduce the issue.

Thanks for the info. Shows how observant I am ...I forgot that zen cart used 1's and 0's for active/inactive. Here's an image of the template.

[Attachment no longer available]

No clue what would cause the category and status details to swap so I appreciate any help you can offer. ~Johnie

14 Sep 2017, 6:06 PM
#90
lat9 avatar

lat9

Administrator

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

Post #90 by lat9

I don't know what you attached, but the forum software found it "unacceptable". Please give it another try.

14 Sep 2017, 7:35 PM
#91
johnies avatar

johnies

New Zenner

Join Date:
Jun 2015
Posts:
9
Plugin Contributions:
0

Post #91 by johnies

lat9:

I don't know what you attached, but the forum software found it "unacceptable". Please give it another try.

Sorry about that. It's just a JPEG using the default image importer. Attachment 17311

14 Sep 2017, 7:37 PM
#92
johnies avatar

johnies

New Zenner

Join Date:
Jun 2015
Posts:
9
Plugin Contributions:
0

Post #92 by johnies

misfire

14 Sep 2017, 8:28 PM
#93
lat9 avatar

lat9

Administrator

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

Post #93 by lat9

Thanks for that; I've replicated the issue on a local testbed and should have a solution in a couple of days.

14 Sep 2017, 9:37 PM
#94
johnies avatar

johnies

New Zenner

Join Date:
Jun 2015
Posts:
9
Plugin Contributions:
0

Post #94 by johnies

lat9:

Thanks for that; I've replicated the issue on a local testbed and should have a solution in a couple of days.

Thanks!

23 Sep 2017, 5:02 PM
#95
ladyofthecave avatar

ladyofthecave

Zen Follower

Join Date:
Jan 2016
Location:
Netherlands
Posts:
150
Plugin Contributions:
0

Post #95 by ladyofthecave

Goodevening all,

I have a question, is it also possible to add new products (in a csv-file list) through dbio manager to the webstore?

23 Sep 2017, 5:44 PM
#96
lat9 avatar

lat9

Administrator

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

Post #96 by lat9

LadyoftheCave:

Goodevening all,

I have a question, is it also possible to add new products (in a csv-file list) through dbio manager to the webstore?
Yes, it's quite possible. I suggest that you export (to see the column headings) and go from there.

Be sure to make a database backup!

23 Sep 2017, 6:00 PM
#97
ladyofthecave avatar

ladyofthecave

Zen Follower

Join Date:
Jan 2016
Location:
Netherlands
Posts:
150
Plugin Contributions:
0

Post #97 by ladyofthecave

That is great news, I was busy installing easy populate for it, but then I realized that it was maybe also possible with db i/o manager :)

24 Sep 2017, 10:10 AM
#98
ladyofthecave avatar

ladyofthecave

Zen Follower

Join Date:
Jan 2016
Location:
Netherlands
Posts:
150
Plugin Contributions:
0

Post #98 by ladyofthecave

Goodmorning all,

I have a question about importing csv-files with new products. I have downloaded a product-csv file with the dbio manager, and then I changed the products and I have uploaded it to the webstore throught the dbio manager, but then I received the following message:

Foutmelding The current import-file is missing these (v_products_id, v_products_model) required columns; the import is disallowed.

But when I check the file on the missing columns, they are just there into the file..

Attachment 17326

24 Sep 2017, 10:28 AM
#99
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Heerenveen, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Post #99 by design75

LadyoftheCave:

Goodmorning all,

I have a question about importing csv-files with new products. I have downloaded a product-csv file with the dbio manager, and then I changed the products and I have uploaded it to the webstore throught the dbio manager, but then I received the following message:

Foutmelding The current import-file is missing these (v_products_id, v_products_model) required columns; the import is disallowed.

> 
> But when I check the file on the missing columns, they are just there into the file..
> 
> Attachment 17326
I suspect you need to add a value for "v_products_model" to your products
24 Sep 2017, 10:31 AM
#100
ladyofthecave avatar

ladyofthecave

Zen Follower

Join Date:
Jan 2016
Location:
Netherlands
Posts:
150
Plugin Contributions:
0

Post #100 by ladyofthecave

Hi design75. I have tried to add 0, but it didn't worked..