server can't grab content from youtube or 4shared

Started on the old forum in October 2014 · view the original in the archive · old links redirect here

2 replies · 282 views · started 12 years ago · 1 min read

2 participants
razib Developer · 132 posts #1

Hello,

I have some scripts that need to grab contents from youtube and 4shared. Recently I have moved to OVH Everything working fine here except youtube and 4shared script.

Its been really long time i am using this scripts on share hosting account as well as on some VPS. So i think maybe I am missing some server setting!!!

here is an example error.

Warning: simplexml_load_file(http://gdata.youtube.com/feeds/mobile/videos?vq=funny+video&orderby=viewCount&max-results=5&start-index=1&format=1): failed to open stream: Connection timed out in /home/uid321/public_html/details.php on line 262 

Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://gdata.youtube.com/feeds/mobile/videos?vq=funny+video&orderby=viewCount&max-results=5&start-index=1&format=1" in /home/uid321/public_html/details.php on line 262 

Fatal error: Call to a member function children() on a non-object in /home/uid321/public_html/details.php on line 265 

Please someone help me to fix the problem.

🦸 Buying mobile traffic, PM me with your traffic details

something else Fellow · 2,296 posts #2

first you need to fix the fatal error before seeing why simplexml_load_file() is not working.

razib Developer · 132 posts #3

there might have some problem on script my question is if its working fine on other share host and servers why its not working on my new server 🙁

🦸 Buying mobile traffic, PM me with your traffic details

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close