New Zenner
- Join Date:
- Feb 2011
- Posts:
- 21
- Plugin Contributions:
- 0
Post #81 by boomy
Double post ..sorry
Started by lat9 on 1 Jul 2016, 6:09 PM · Views: 104,845
New Zenner
Double post ..sorry
New Zenner
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)
Totally Zenned
Administrator
@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.
Administrator
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.
Administrator
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.
New Zenner
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.
Administrator
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.
New Zenner
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
Administrator
I don't know what you attached, but the forum software found it "unacceptable". Please give it another try.
New Zenner
New Zenner
Administrator
Thanks for that; I've replicated the issue on a local testbed and should have a solution in a couple of days.
New Zenner
lat9:
Thanks for that; I've replicated the issue on a local testbed and should have a solution in a couple of days.
Thanks!
Zen Follower
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?
Administrator
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!
Zen Follower
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 :)
Zen Follower
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..
Totally Zenned
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..
>
>
I suspect you need to add a value for "v_products_model" to your products
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
Zen Follower
Hi design75. I have tried to add 0, but it didn't worked..
Tell staff why this post should be reviewed.