Jump to content
php.lv forumi

Kļūdas paziņojumi lasot twitter xml


Rich Bitch

Recommended Posts

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 by Rich Bitch
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...