Orionsbelter Posted July 20, 2011 Share Posted July 20, 2011 error on line 1 at column 3593: xmlParseEntityRef: no name error on line 1 at column 3593: Encoding error Say i get the above errors how do i find that error? in my script? Link to comment https://forums.phpfreaks.com/topic/242447-how-does-xml-errors-work/ Share on other sites More sharing options...
requinix Posted July 20, 2011 Share Posted July 20, 2011 It's not your script, it's the XML. Somewhere in there is a & that isn't part of an entity (eg, by itself like "Foo & Bar") and that's invalid. Link to comment https://forums.phpfreaks.com/topic/242447-how-does-xml-errors-work/#findComment-1245250 Share on other sites More sharing options...
Maq Posted July 20, 2011 Share Posted July 20, 2011 Post the line. Link to comment https://forums.phpfreaks.com/topic/242447-how-does-xml-errors-work/#findComment-1245251 Share on other sites More sharing options...
Orionsbelter Posted July 20, 2011 Author Share Posted July 20, 2011 Thank you for your reply, it did seem to be the & which i then replaced with & however i do now get this error error on line 1 at column 49153: Encoding error Link to comment https://forums.phpfreaks.com/topic/242447-how-does-xml-errors-work/#findComment-1245259 Share on other sites More sharing options...
Orionsbelter Posted July 20, 2011 Author Share Posted July 20, 2011 sorted it with utf8_encode(); Link to comment https://forums.phpfreaks.com/topic/242447-how-does-xml-errors-work/#findComment-1245268 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.