kierantravel
Advanced Member
United Kingdom
110 Posts Pre-sales questions only (More Details...)
|
Posted - 10/21/2017 : 13:08:39
Actaul two fields of a the first few records I am trying t upload via csv are below but I get this error.I downloaded the product.csv, populated it and then reuploaded the same.
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM products WHERE pID='abcwxyz'' at line 1open_basedir: YES ERROR: Column list is: "pid,pname,psection,pprice,pwholesaleprice,plistprice,pshipping,pshipping2,pweight,pdisplay,psell,pbackorder,pgiftwrap,pexemptions,pinstock,pdims,ptax,pdropship,pcustom1,pcustom2,pstaticpage,pstockbyopts,precommend,porder,psku,pmanufacturer,psearchparams,ptitle,pmetadesc,pstaticurl,pdescription,pminquant,plongdescription," Rows successfully added 0 This page took: 0.0018 seconds
pID pName 170328_ars Arsenal v Swansea City Saturday 28 October 170328_cry Crystal Palace v West Ham United Saturday 28 October 170328_lei Leicester City v Everton Saturday 28 October 170328_manu1 Manchester United v Tottenham Hotspur Saturday 28 October 170328_manu2 Manchester United v Tottenham Hotspur Saturday 28 October 170328_manu3 Manchester United v Tottenham Hotspur Saturday 28 October
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/21/2017 : 14:01:08
|
kierantravel
Advanced Member
United Kingdom
110 Posts Pre-sales questions only (More Details...)
|
Posted - 10/23/2017 : 02:48:37
Andy Yes only using the column headings and yes "add to database". I am getting the same error message
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/23/2017 : 03:43:36
|
kierantravel
Advanced Member
United Kingdom
110 Posts Pre-sales questions only (More Details...)
|
Posted - 10/23/2017 : 04:21:30
cant attach csv to mail. What is your email address Andy please? Pete
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/23/2017 : 06:47:04
|
kierantravel
Advanced Member
United Kingdom
110 Posts Pre-sales questions only (More Details...)
|
Posted - 10/23/2017 : 07:24:58
thanks. file sent
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/23/2017 : 07:28:56
I had a look at the csv file you sent me and it has all the column headings (33 columns in total) and 262 rows. If you are adding to database all the products listed under pID would need to be unique and not already exist in the database. Having said that though I'm a bit confused as you said you were just uploading 2 columns, pID and pName Andy Please feel free to review / rate our software
|
kierantravel
Advanced Member
United Kingdom
110 Posts Pre-sales questions only (More Details...)
|
Posted - 10/23/2017 : 07:52:26
The pIDs are unique
I do have hidden products in the db already but with totally different pIDs.
The upload criteria seemed ok to me too, this is why I am at a loss as to why this csv file will not ADD to DB
|
Phil
ECT Moderator
United Kingdom
7715 Posts |
Posted - 10/23/2017 : 08:11:45
|
kierantravel
Advanced Member
United Kingdom
110 Posts Pre-sales questions only (More Details...)
|
Posted - 10/23/2017 : 10:05:19
will do phil Thanks Pete
|
kierantravel
Advanced Member
United Kingdom
110 Posts Pre-sales questions only (More Details...)
|
Posted - 10/23/2017 : 13:28:57
anbody got an update on this csv please?
|
kierantravel
Advanced Member
United Kingdom
110 Posts Pre-sales questions only (More Details...)
|
Posted - 10/23/2017 : 19:56:02
sent you the file yesterday, any update please Phil ?
|
Phil
ECT Moderator
United Kingdom
7715 Posts |
Posted - 10/24/2017 : 01:14:38
Hi Pete, I replied to your email around 5 minutes after receiving it. I had no issues at all importing the data you sent me. Maybe check your junk folder? Here's a copy of my reply I sent to you yesterday: quote: Hi Pete, I didn’t have any issues with that. I have a test site on my localhost, I imported all the data with no issues at all, see screenshots attached. Obviously the imported product list are not correctly assigned to the categories that are present in my test database but that’s not relevant. If you want to send me the admin login for your live site I’ll login there and take a look if you like?
 * Database Migrations and Conversions* * ASP to PHP Cart Conversions**Contact Us**Buy The PHP Capture Card Plugin**Rate Our Services/View Our Feedback*
Edited by - Phil on 10/24/2017 01:26:26
|
kierantravel
Advanced Member
United Kingdom
110 Posts Pre-sales questions only (More Details...)
|
Posted - 10/24/2017 : 04:57:23
Ive emailed you, that would be great thank you.
|
Phil
ECT Moderator
United Kingdom
7715 Posts |
Posted - 10/24/2017 : 05:03:48
|
kierantravel
Advanced Member
United Kingdom
110 Posts Pre-sales questions only (More Details...)
|
Posted - 10/24/2017 : 05:25:45
BIG thanks Phil
Im stumped as to why I got error (using the same file) Really appreciate it
Pete
|
Phil
ECT Moderator
United Kingdom
7715 Posts |
Posted - 10/24/2017 : 05:28:13
|
|
|