The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
style xml file parsing issue!
i get this error:
Code:
Warning: xml_parse(): 17 is not a valid XML Parser resource in /admincp/journalupgrade2.php on line 99 PHP Code:
|
#2
|
|||
|
|||
Are you sure the xml-file is correct?
|
#3
|
||||
|
||||
i did add one little thing to it>_>
|
#4
|
||||
|
||||
ok well did me adding action="xxx" to the <template> tag break the parser?
|
#5
|
|||
|
|||
Difficult to say without seeing the XML-file.
|
#6
|
||||
|
||||
here is the xml file i am using
|
#7
|
|||
|
|||
I guess i didn't good read the original error message.
Aren't you calling xml_parse_free to early? I guess the parser resource is already freed and don't exist anymore when you call xml_parse(). PS What vB version is this for? Why don't you use the buildin vB xml functions? |
#8
|
||||
|
||||
this is for vbulletin 3.0.x and there are only style importers not just template importers.
|
#9
|
||||
|
||||
then why don't you use the vbulletin function to import style ?
it's xml_import_style() btw. ok this is what I did: PHP Code:
|
#10
|
||||
|
||||
what if i wanted this to overwrite existing templates?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|