Jump to content
  • 0
ringku2k

prestashop 1.5.3.1 shows error-Name (ID: ID) cannot be saved when importing product csv

Question

hi,
i have facing some crazy problems when uploading product csv file in localhost , it gives following errors
[list]
[*]Name (ID: ID) cannot be saved
[*]Property Product->on_sale is not valid
[/list]
[indent=1]when ignoring On sale column it gives below error[/indent]
[list]
[*]Name (ID: ID) cannot be saved
[*]Property Product->available_for_order is not valid
[/list]
when ignoring Available for order (0 = No, 1 = Yes) column , error become
[list]
[*]Name (ID: ID) cannot be saved
[*]Property Product->condition has bad value (allowed values are: new, used, refurbished)
[/list]
[indent=1]but i was wondering when i upload that csv file to online it shows :[/indent]

[b] Internal Server Error[/b]
[color=#000000]
The server encountered an internal error or misconfiguration and was unable to complete your request.[/color][color=#000000]
Please contact the server administrator, webmaster@bestboutiquestore.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.[/color][color=#000000]
More information about this error may be available in the server error log.[/color][color=#000000]
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.[/color] Apache Server at www.........net Port 80
[font="Times New Roman"][size="3"][color="#000000"]the amazing thing is every thing works fine besides all products image shows the 1st image of the provided image link and 2/3 products shows 3 images where all image links are working , [/color][/size][/font] [color=#000000]im getting stuck with those problem , if any one facing same kind of problem or had solution or solve on this issue , please help ,[/color] [color=#000000]nb, im adding the product csv file too in zip file [/color]

Share this post


Link to post
Share on other sites

16 answers to this question

Recommended Posts

  • 0
[quote name='EasyRetailManager' timestamp='1359178296' post='1083798']
Look around in the forum, most of the people complain about the CSV import tool.

I can help you to import your CSV file with Easy Retail Manager. To find out more, please contact me.
[/quote]
please help me on the issue , how could i contact you , even u can explain ur help
thanks

Share this post


Link to post
Share on other sites
  • 0
Yes... same sorts of problems here... I do set it to skip 1 line but still gives the error for ID (like it still reads the header record)

I am going to take the header line out of the CSV next import and see what happens.

But even with that error it still seems to do the import properly.

Also, the date thing is tricky... i put in dates where necessary. Microsoft Excel likes to override the date format (I really do hate Microsoft Products) so be advised to format date fields as text and then it will retain the yyyy-mm-dd format.

Did I mention that i hate Microsoft and Bill Gates? If excel can recognize yyyy-mm-dd as a date format, why is there no way to output the date in that format?

I just hate their products.

Anyway... I am having good luck with imports now and am cruising to the finish line. Forget the export file ... it sucks... look on the Prestashop Admin Import page and see all the fields to the right (set up a file with all these fields and your imports will work better. Again, put in dates where necessary.

Also, watch out for max string length on description field and meta description etc.

How hard would it be for Prestashop crew to put some text beside these fields with the max string length?

I really do believe much stress can be alleviated if Presta-people display and convey to us the field format, length, and the default value... it just makes sense.

But again, still a great product, great people... much obliged!

Share this post


Link to post
Share on other sites
  • 0
Bonjour

Topic en anglais déplacé du forum français vers le forum anglais

English Topic moved from French forum to English forum

Oron modérateur forum Français. moderator french forum.

Share this post


Link to post
Share on other sites
  • 0
Thank you for prompting me to think around this issue. I was using the example spreadsheet and wondering like everyone else why I was getting errors. I copied the fields list on the right hand side and realised that there are more fields there than in the example csv product file.

I then used those on the right hand side to create a new template to upload some products.

Share this post


Link to post
Share on other sites
  • 0

can´t understand why it is so difficult import a csv file

I had mess with it in days now and I begin to be confuse

 

think we need a better tutorial for beginners so we can start import

new categories products etc ... how to do tutorial !

 

Thanks ...

Share this post


Link to post
Share on other sites
  • 0

Im having the same problem ..  i have attemot all  fromats and i get erros any solotion to  this problem ?

7 errors

  1. Pink Wine (ID: 1) cannot be saved
  2. Property Product->on_sale is not valid
  3. Saffron (ID: 2) cannot be saved
  4. Ide Aganju (ID: 3) cannot be saved
  5. Azafran (ID: 4) cannot be saved
  6. Ide Aganju (ID: 5) cannot be saved
  7. Vino Rosado (ID: 6) cannot be saved

Share this post


Link to post
Share on other sites
  • 0

It is difficult but not impossible.

 

1. Go to your admin,..  Advanced Parameters > CSV

 

2. Change "What kind of file would you like to import?" to the type you want.

 

3. Note the "Available Fields" names on the right hand column -- you will need all of these, even if leaving blank

 

4. make a spreadsheet with these field names in the first row  (I use Excel)

 

5.  Enter your data for each of your records ( can use MYSQL or export a data file to see examples of the data)

 

6.  Save your spreadsheet!

 

7. Change your delimiter to a semi-colon from a comma (whether in your operating system, in your spreadsheet programme, or when saving as a csv)

 

8.  save as a CSV

 

9.  Now for me, I need to re-open the csv with notepad and then save it again as a UTF-8 

 

9.1  I also inspect my csv to ensure only 1 header row, no trailing rows with semi-colons

 

10.  Go to the import screen and upload your file 

 

11.  make sure you have the right file now, as prestashop (strangely) does not always show the most recently uploaded csv

 

12  field separator is the semi-colon ... multi value is a comma  (everything else is blank)

 

13.  Click next step... click skip 1 line (for the header)

 

14.  I always seem to get errors and warning messages, but then i check my site and my data has been imported.

 

Hope it works!

 

ps. if you have images as well, they need to be uploaded to your server and the path must be specified in your upload file (path and filename are case sensitive)

 

good luck!

Share this post


Link to post
Share on other sites
  • 0

Hi,

 

I faced same internal server error to upload the data of product combination. I also attached the screen shots of the error screen and Ps Back Office CSV import tool.

 

When i import the csv file through Advanced Parameter -->CSV import tool they give a lot of time to working but they don't update the product info and they give me internal server error page.

 

Please help to solve this issue because urgent response.

Share this post


Link to post
Share on other sites
  • 0
Prestatoys
In 1.6.0.8
I have to change field seperator to commo from semicolan for CSV file to be uploaded as per your suggestions as while saving excel file I save it with CSV common seperated delimitted

Even after copying one by one in same order of right hand example values. When uploading CSV and matching all files with same headers don't match.

We need to individually match one by one.
Can anyone share there own experience as excel is the first step to get into eccommerce.

Why CSV upload is not simple and tricky for any one to understand.

Even after many people complaining nobody in PrestaShop is bothered to reply on

Share this post


Link to post
Share on other sites
  • 0

I have been very frustrated with the csv import problem since 1.5 and have just got it to work in 1.6.0.9.

I think a lot of people are frustrated by the fact that not even the downloaded template from prestashop works from beginning. I would have liked to share the template .csv i made, but are not allowed by presta forum :/  But i can give a few hints:

 

- Edit in excel! (+save in excel is fine) - Use ; and , as in the default import setting.

- No capital LETTERS!! ;)

- Always force ID numbers! If you already have products in the shop, edit the IDs in the .csv file so no 2 IDs are the same.

- Images are complicated if creating a new shop, if creating an old, copy the images from the img folder in old shop to img folder in new shop, and set the image url accordingly. With the whole adress!

- Some things like friendly url are auto generated from the name.

- Some columns needs to be 0< since blank is not a valid value (weight, height etc.)

- Leave all dates blank or edit them before import, prestas template dates are 2013 and are not valid!

- Create valid categories before import

 

Good Luck,

NB

Share this post


Link to post
Share on other sites
  • 0

When did you guys change this? In previous ver of PS we did not need every heading basically a few required and what else you needed and it worked flawlessly. I dont see why we would want to mess with a item that worked so well just to make it complicated and combersome.

Share this post


Link to post
Share on other sites
  • 0

We have uploaded hundreds of thousands of items by prestashop csv import but have had numerous problems in the process.  The worst error is "cannot be saved" with no explanation?  Have spent hours trying to fix when this error occurs attempting to  adjust the name and id for it to take with no success.

Share this post


Link to post
Share on other sites
  • 0

We have uploaded hundreds of thousands of items by prestashop csv import but have had numerous problems in the process.  The worst error is "cannot be saved" with no explanation?  Have spent hours trying to fix when this error occurs attempting to  adjust the name and id for it to take with no success.

 

We have the the same error now on 1.6.1.4.

I can't find any explanation or solution abut it.

Are you found something?

Share this post


Link to post
Share on other sites

×