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? Quote 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. Quote 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. Quote 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 Quote 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(); Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.