• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug Importing style: The provided file was not a valid XML file

ShadyX

Well-known member
#1
Hi, I just exported my style from a live 1.1 installation and tried to import it into a local 1.1 test site but I get this error:

The provided file was not a valid XML file. Please provide a valid XML file.
 

Mike

XenForo developer
Staff member
#4
I can't reproduce this. I couldn't import the file you provided, due to unescaped CDATA close elements (]]>). I fixed those, imported the style, and exported it. These are now exported as "]-]->" (and fixed on import) as this was reported as a problem in 1.0.

Are you sure the file was exported from 1.1?
 

ShadyX

Well-known member
#5
Yes I exported the style from adminforums which is using the latest 1.1 downloaded in the customer area.

So I would need to find and replace all ]]> to ]-]-> in the .xml file? Or could you pm me the fixed version?

Thanks.
 

Mike

XenForo developer
Staff member
#6
Well, I'd like to be able to reproduce this and fix it as best as I can. Would it be possible to get FTP and admin CP access?
 
#11
I meet solve same Mike! , When i install add one then i saw warning : The provided file was not a valid XML file. Please provide a valid XML file.
I can not install it, please help me . I have attach file xml bellow.

Thank you so much
 
Last edited by a moderator: