simplexml


simplexml_load_file failed to open stream Http request failed


i am trying to parse xml from twitter feeds and it was working fine and suddenly i started to get this:
Warning: simplexml_load_file(http://search.twitter.com/search.atom?q=%23jan26):
failed to open stream: HTTP request failed! HTTP/1.1 420 unused in /var/www/test.php
on line 20
I suggest trying this same request with curl or even in a browser from the same IP as this script is runnign and looking at the body of the error message.
However this is generally the result of rate limiting, meaning you're reqesting too often. YOu can see similar issues here.

Related Links

What's wrong with this code? SimpleXMLElement [closed]
Get children attributes using simplexml
Select attribute in simplexml
Save formatted xml
SimpleXML (Zend_Config_Xml actually) and foreach : which tag am I iterating?
simplexml_load_file() error happening in only localhost/xampp
SimpleXml tar.gz
simplexml_load_file error in PHP 5.3
simplexml_load_file not a valid URI issue
Can't turn XML response into an simplexml object
Having trouble getting Fogbugz API response into a SimpleXML object
Upgraded to php 5.3.10 and simpleXMLelement is broken
Parsing RSS Feed with SimpleXML
php simplexml_load_file (script url) failed to open stream
PHP - SimpleXML not returning object
Having trouble processing XML with PHP SimpleXML

Categories

HOME
maven
google-chrome-extension
winforms
vbscript
smarty
iterator
office365api
spagobi
razor
maven-3
spring-jdbc
youtube-api-v3
qore
add
gitpitch
metatrader4
kentor-authservices
modelica
qt-creator
static-libraries
messages
flask-wtforms
decimal
quartz-scheduler
ef-migrations
grails3
crosstab
emgucv
smb
pepper
spark-jobserver
django-storage
elasticsearch-ruby
log4js-node
jspm
windowbuilder
vision
google-cloud-nl
flink-streaming
sql-server-2012-express
fabric8
stormpath
ecto
phonegap
oracle-fusion-middleware
hexo
disassembling
scaffold
automake
code-search-engine
webix-treetable
mesos-chronos
sql-server-agent
thin
logfiles
menuitem
azure-application-gateway
chain-builder
termination
python-c-api
promela
yii2-extension
tropo
jxcore
typed-lambda-calculus
akka-cluster
pdfclown
linode
redundancy
or-tools
migradoc
grails-tomcat-plugin
infix-notation
ado.net-entity-data-model
fody
transmitfile
django-debug-toolbar
bstr
python-stackless
php-internals
cyclomatic-complexity
clipperlib
inmobi
website-monitoring
codeigniter-routing
asp.net-web-api-odata
applescript-objc
neolane
srs
java.nio.file
ivyde
spring-io
gridcontrol
yui-compressor
android-hardware
first-responder
uiviewanimation-curve
nsmanagedobject
yui-datatable
actionview
xfbml
site.master
revisions
firefox4
temporal-database
grid-system
uiq3

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App