Welcome, Guest. Please login or register.
Login with username, password and session length


It's a release candidate! VirtueMart 2.0 RC - the next generation VirtueMart - is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: Problem on CSV  (Read 3558 times)
ivan
Newbie
*
Posts: 25



« on: July 21, 2007, 02:19:52 AM »

When I try to import files with VM CVS it gives me
Code:
Warning: fgetcsv() [function.fgetcsv]: enclosure must be a character in /home/vegabg/public_html/administrator/components/com_virtuemart/classes/ps_csv.php on line 314

Warning: Invalid argument supplied for foreach() in /home/vegabg/public_html/administrator/components/com_virtuemart/classes/ps_csv.php on line 258

Warning: fgetcsv() [function.fgetcsv]: enclosure must be a character in /home/vegabg/public_html/administrator/components/com_virtuemart/classes/ps_csv.php on line 324

When i try to import with com_csvimproved it give me
Code:
Incorrect
Incorrect column count
Configration: 4 fields
File: 6 fields

Unsupported
picture_url
categiry_path

Please Help   Embarrassed
Logged
Joseph Kwan
Advanced
Hero Member
*****
Posts: 2115


« Reply #1 on: July 22, 2007, 02:13:27 AM »

column name of the fields you use must corresponds to that in the database. picture_url is not a supported field. Probably you mean product_full_image. categiry_path should be category_path.
You may try the XLS product upload hack I developed, the link of which can be found in my signature. You can use the hack to upload excel file instead of csv file.
Logged

Pay service to make VM work according to your needs. Your Joomla/VM solutions are just a PM away
Joseph Kwan

VM Themes and Templates explained in detail

Projects contributed:
  Excel Product Upload
  Two Product Thumbs
  Bulk Update of Order Status
and many more.
ivan
Newbie
*
Posts: 25



« Reply #2 on: July 23, 2007, 02:10:20 AM »

column name of the fields you use must corresponds to that in the database. picture_url is not a supported field. Probably you mean product_full_image. categiry_path should be category_path.
You may try the XLS product upload hack I developed, the link of which can be found in my signature. You can use the hack to upload excel file instead of csv file.
thx man i search this file, i do it it have some errors in my db

big MERSI
Logged
Pages: [1]   Go Up
Print
Jump to: