Rich Bitch Posted October 15, 2010 Report Share Posted October 15, 2010 (edited) Tātad, lasu twitter xml ar šādu kodu: ... $doc = new DOMDocument(); $doc->load('adrese_uz_twitter_xml'); ... 2-3 reizes dienā izmet šādus error paziņojumus: ... PHP Warning: DOMDocument::load() [<a href='domdocument.load'>domdocument.load</a>]: Entity 'copy' not defined in ... ... PHP Warning: DOMDocument::load() [<a href='domdocument.load'>domdocument.load</a>]: Entity 'raquo' not defined in ... ... PHP Warning: DOMDocument::load() [<a href='domdocument.load'>domdocument.load</a>]: Entity 'rsaquo' not defined in ... ... PHP Warning: DOMDocument::load() [<a href='domdocument.load'>domdocument.load</a>]: Start tag expected, '<' not found in Kā ar šo varētu cīnīties? Edited October 15, 2010 by Rich Bitch Quote Link to comment Share on other sites More sharing options...
Kaklz Posted October 15, 2010 Report Share Posted October 15, 2010 Tu esi pārliecināts, ka esi saņēmis XML, nevis, piemēram HTML error paziņojumu? Quote Link to comment Share on other sites More sharing options...
Rich Bitch Posted October 19, 2010 Author Report Share Posted October 19, 2010 (edited) Neesmu pārliecināts. Problēma ir tajā, ka tas ir html? Tad nesaprotu kāpēc tas ir tikai dažreiz, nevis visu laiku Edited October 22, 2010 by Rich Bitch Quote Link to comment Share on other sites More sharing options...
mefisto Posted October 20, 2010 Report Share Posted October 20, 2010 Vārdi teikums secība ir sākas pieturzīmes saprast nav burti lielie grūti ? Quote Link to comment Share on other sites More sharing options...
Rich Bitch Posted October 22, 2010 Author Report Share Posted October 22, 2010 kas manā tekstā ir nesaprotams? Quote Link to comment 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.