Hello!
I usually have no problems at all parsing my xml files, but with one of it, i've this error, on the register screen :
Warning: xml_parse() [function.xml-parse]: input conversion failed due to input error, bytes 0x8F 0x30 0x30 0x34 in C:\tapestry\includes\MagicParser.php on line 2
When i try to import anyway, it just parses 150 products of the 3000 available in the xml file.
Do you know what is the problem here ?
I noticed the xml file contains redundant nodes with the same product name, could it come from this ?
Thanks a lot for your help !
Hi David, and thank you for your answer !
Have a nice holiday!
Hi,
As this is a warning rather than an error, it should not stop the import process from importing as many product records as possible. The only side effect will be that the import script does not re-direct back to the main admin page once it has finished, because the warning message generated some output, and the 302 redirect doesn't work after output has been generated.
It is most likely therefore that the redundancy is the reason for only 150 products out of the 3000 or so being imported. This is common with, for example, clothing feeds - where the product name field contains a garment name that is the same for many receords, with another field holding more information about the product such as size and colour. In this case, you can use Price Tapestry's filtering mechanism (Text After / Text Before) to combine data from other fields with the product name in order to make it unique. Within the text box on the configuration page for Text Before and Text After you can use placeholders such as %COLOUR% to refer to other fields in the record (even if they have not been registered)...
Hope this helps!
Cheers,
David.