. . .

Exception with Twitter Library "twitter-async" when hosted on Media Temple

Published: September 27, 2010

Issue: Twitter Library developed by "Jaisen Mathai" throws an exception when uploaded on Media Temple Servers.

EpiOAuthException::raise(Object(EpiCurlManager), false) #1 /nfs/c07/h03/mnt/12345/domains/abcde.com/html/protected/components/twitter/EpiOAuth.php(367): EpiOAuthResponse->__get('_resp')
 

Solution: Comment line# 149 & 150 of EpiOAuth.php i.e

  1. if(isset($_SERVER ['SERVER_ADDR']) && !empty($_SERVER['SERVER_ADDR']) && $_SERVER['SERVER_ADDR'] != '127.0.0.1')
  2.     curl_setopt($ch, CURLOPT_INTERFACE, $_SERVER ['SERVER_ADDR']);

 

Source: http://github.com/jmathai/twitter-async/issues/issue/47

Don't forget to share this post

    Let's Build Digital Excellence Together


    • Cost Efficient Solutions.
    • Minimal Timelines.
    • Effective Communication.
    • High Quality Standards.
    • Lifetime Support.
    • Transparent Execution.
    • 24/7 Availability.
    • Scalable Teams.

    Join Our 200+ Happy Clients Across Globe


    Free Consultation.

      Do you need help in strategy, innovation or growth of your startup/business? Experts from our team will get in touch with you.

      Please do not post jobs/internships inquiries here.