View Full Version : product mismatch
FreshFroot
09-19-2008, 04:18 AM
I'm working on a hack and it's pretty much done.
Now, I'm having an issue with the upload of the product. It states the last line, which is </product> has XML Error: mismatched tag at Line 150
So what could be causing this? I went through all the tags in the file, and they all are opened and closed out.
here is my top product code <?xml version="1.0" encoding="ISO-8859-1"?>
<product productid="test123" active="1">
Thanks. :)
Vackrick
09-19-2008, 04:29 AM
probably is the xml error....
Dismounted
09-19-2008, 05:15 AM
The system was designed so that you developed your modification inside the Admin CP with debug mode turned on, and then exported it. Which would have given a perfectly formed XML file.
FreshFroot
09-20-2008, 04:49 AM
Well why would it show an error for </product> right at the end of the file? I'm confused as to why that would cause and XML error?
Or is there an issue possibly with the format?
Dismounted
09-20-2008, 04:58 AM
Errors like that usually mean an end tag was omitted from the previous opening tag, with the error referring to an "erroneous" end tag.
Marco van Herwaarden
09-23-2008, 11:13 AM
You should not need to edit the xml-file manuaaly. Only use the generated files and you should never encounter any problems.
FreshFroot
09-24-2008, 11:53 PM
The system was designed so that you developed your modification inside the Admin CP with debug mode turned on, and then exported it. Which would have given a perfectly formed XML file.
Is there a tutorial on this? I'll try the board on debug mode.
I've been creating all my XML files manually in notepad.
EDIT: I used a debug hack and can see it all now.
Thanks for the heads up! This will make life much easier :D
Dismounted
09-25-2008, 04:42 AM
Using a modification will most likely cause the "Explain" feature to not work. So just put this in your config.php:
$config['Misc']['debug'] = true;
FreshFroot
09-25-2008, 09:41 PM
Using a modification will most likely cause the "Explain" feature to not work. So just put this in your config.php:
$config['Misc']['debug'] = true;
Yeah it wasn't working. Thanks, I'll use the config code.
Thanks. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.