Recently modifiedDiscuz'sCodeFor customers to use. One problem is that BBS's post management cannot be loaded and processed normally in chrome and Firefox. Only one processing layer is displayed, and there will be no subsequent content.
Debugging found that the problem was caused by XML. "XML declaration allowed only at the start of the document ........."
This error is generally caused by an empty line starting with XML. Please start with the configuration file and delete the empty line at the header and tail!
The authorization code is in the _ header.html file under template.
</Div> <% else %> <% CSHARP %> response. clear (); response. contenttype = "text/XML"; response. expires = 0; response. cache. setnostore (); <%/CSHARP %>
<? XML version = "1.0" encoding = "UTF-8"?> <Root> <! [CDATA [<%/if %>
By default, the XML declaration content written after <%/CSHARP %> is wrapped, leading to an error. Just declare the line breaks and spaces above to delete them.