vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   product mismatch (https://vborg.vbsupport.ru/showthread.php?t=191293)

FreshFroot 09-19-2008 04:18 AM

product mismatch
 
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
Quote:

</product>
has
Quote:

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
Quote:

<?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
Quote:

</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

Quote:

Originally Posted by Dismounted (Post 1625426)
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:
PHP Code:

$config['Misc']['debug'] = true


FreshFroot 09-25-2008 09:41 PM

Quote:

Originally Posted by Dismounted (Post 1629766)
Using a modification will most likely cause the "Explain" feature to not work. So just put this in your config.php:
PHP Code:

$config['Misc']['debug'] = true


Yeah it wasn't working. Thanks, I'll use the config code.

Thanks. :)


All times are GMT. The time now is 06:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01126 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete