Results 1 to 3 of 3

Thread: php error, anybody able to help?

  1. #1
    PSDproxies is offline Newbie Net Builder
    Join Date
    Dec 2008
    Posts
    43
    Thanks
    2
    Thanked 4 Times in 3 Posts

    php error, anybody able to help?

    If you visit

    designussion.com you will see a twitter feed just above the navigation

    im getting this error and have no idea how to fix it.....


    Warning: file_get_contents(http://search.twitter.com/search.atom?q=from:designussion&rpp=1) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 503 Service Unavailable in /home/onempsic/public_html/designussion/wp-content/themes/designussion/header.php on line 77
    "
    anyone able to explain and help me out?
    Thank you

  2. #2
    dtkguy's Avatar
    dtkguy is offline Still Learnin'
    Join Date
    Dec 2008
    Posts
    391
    Thanks
    7
    Thanked 164 Times in 108 Posts
    I don't know if that's to do with your php, looks more likely a twitter problem to me. Looking at the error message, specifically this part: "HTTP request failed! HTTP/1.0 503 Service Unavailable " . This is saying, hey there is a server there, and it is up, but requests are not being allowed through. This could've been just twitter being overloaded, or could also mean your website has been rate limited by the twitter api.

    An exceprt from the twitter api wiki -

    503 Service Unavailable: The Twitter servers are up, but overloaded with requests. Try again later. The search and trend methods use this to indicate when you are being rate limited.
    I don't know too much about twitter, since I don't really use it, but I'm sure there is probably another way to add your feed to your site that doesn't use the search api as you are now, which could help avoid rate limiting (if that's what is really going on).

  3. #3
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,329 Times in 1,259 Posts
    Quote Originally Posted by PSDproxies View Post
    Warning: file_get_contents(http://search.twitter.com/search.atom?q=from:designussion&rpp=1) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 503 Service Unavailable in /home/onempsic/public_html/designussion/wp-content/themes/designussion/header.php on line 77
    "
    Do you have allow_url_fopen enabled in your php.ini?
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

Similar Threads

  1. Trial and error?
    By Mike30 in forum General Chat
    Replies: 4
    Last Post: 25 January, 2011, 18:41 PM
  2. need help in this error
    By SonnyCooL in forum Wordpress
    Replies: 7
    Last Post: 26 June, 2010, 15:32 PM
  3. [Bug] Got error at top bar
    By deluxdon in forum Announcements and Suggestions
    Replies: 4
    Last Post: 27 March, 2010, 11:48 AM
  4. Error -3
    By topsites in forum Translation Script Support
    Replies: 1
    Last Post: 31 August, 2009, 15:52 PM
  5. Error 500 ?
    By vojin7 in forum Translation Script Support
    Replies: 2
    Last Post: 25 April, 2009, 12:51 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •