Log in

View Full Version : If I dont ask i,ll never learn


HarleyDavidson
08-28-2009, 07:41 PM
I want to import a XML file from my server -

Plugin & Products>Manage Products>Import Product.

What format/Text do i need to type in the box to import from my server ?

./includes/xml/product.xml This is displayed in the box, so what do i need to type to import ?

Thanks in advance

Lynne
08-28-2009, 07:47 PM
You shouldn't write anything, you should use Browse to find it on your computer and import it from there. If you really want to import it from your server, then you may have to do a full path, ie. /home/sitename/public_html/includes/rest/of/path/to/xml/file (Typically, xml files in the /xml folder are not supposed to be uploaded as a product. They are usually files for the admin cp.)

HarleyDavidson
08-28-2009, 07:54 PM
Thank you for the advice, i read that this was a way to possibly rectify a bad file that gives the error message - XML Error: Not well-formed (invalid token) at Line 1

Back to finding out a solution to my problem

Lynne
08-28-2009, 09:53 PM
Are you sure you are uploading a product file? Not a hook file or a plugin or something else that ends in .xml?

Paul M
08-28-2009, 10:19 PM
Thank you for the advice, i read that this was a way to possibly rectify a bad file that gives the error message - XML Error: Not well-formed (invalid token) at Line 1
The best way to fix a bad file is to get another (good) copy of it.

Other than that, you could open it in a text editor, find the problem, and fix it.