Some users get Fatal error in shared hosting environments #103

Closed
jmathai opened this Issue Apr 2, 2011 · 9 comments

Comments

Projects
None yet
5 participants
Owner

jmathai commented Apr 2, 2011

See this comment/thread for details.

#71 (comment)

@ghost ghost assigned jmathai Apr 10, 2011

jagp commented Apr 13, 2011

Link above follows to a 404.

I'm having this problem on GoDaddy.

Owner

jmathai commented Apr 14, 2011

Can you try to comment out lines 171 and 172?

https://github.com/jmathai/twitter-async/blob/master/EpiOAuth.php#L171

subhuti commented Apr 14, 2011

got this exception on PHP5.3.6 with curl 7.15.5 and also with latest curl 7.21.4 (recompiled php from sources)

"PHP Fatal error: Uncaught exception 'EpiOAuthUnauthorizedException' in ../libs/twitter-async/EpiOAuth.php:421
Stack trace:
#0 /libs/twitter-async/EpiOAuth.php(393): EpiOAuthException::raise(Object(EpiCurlManager), false)
#1 /libs/twitter-async/EpiOAuth.php(53): EpiOAuthResponse->__get('oauth_token')
#2 /backend/libs/twitter-async/EpiOAuth.php(60): EpiOAuth->getAuthorizeUrl(NULL)
#3 app/controllers/api.php(2745): EpiOAuth->getAuthorizationUrl()
#4 app/controllers/api.php(2823): api->twitterGetAuthorizationURL()
#5 app/controllers/api.php(2790): api->do
()
#6 ....
#7 {main}
thrown in /libs/twitter-async/EpiOAuth.php on line 421"

Owner

jmathai commented Apr 15, 2011

Any chance you could email me temporary ssh access? Don't reply to this
email :)

-- jaisen@jmathai.com

On Thu, Apr 14, 2011 at 1:27 PM, subhuti <
reply@reply.github.com>wrote:

got this exception on PHP5.3.6 with curl 7.15.5 and also with latest curl
7.21.4 (recompiled php from sources)

"PHP Fatal error: Uncaught exception 'EpiOAuthUnauthorizedException' in
../libs/twitter-async/EpiOAuth.php:421
Stack trace:
#0 /libs/twitter-async/EpiOAuth.php(393):
EpiOAuthException::raise(Object(EpiCurlManager), false)
#1 /libs/twitter-async/EpiOAuth.php(53):
EpiOAuthResponse->__get('oauth_token')
#2 /backend/libs/twitter-async/EpiOAuth.php(60):
EpiOAuth->getAuthorizeUrl(NULL)
#3 app/controllers/api.php(2745): EpiOAuth->getAuthorizationUrl()
#4 app/controllers/api.php(2823): api->twitterGetAuthorizationURL()
#5 app/controllers/api.php(2790): api->do
()
#6 ....
#7 {main}
thrown in /libs/twitter-async/EpiOAuth.php on line 421"

Reply to this email directly or view it on GitHub:
#103 (comment)

Owner

jmathai commented Apr 19, 2011

Resolved by this comment.
#103 (comment)

@jmathai jmathai closed this Apr 19, 2011

Owner

jmathai commented May 13, 2011

Did you include the certificate bundle?

On May 12, 2011 8:45 PM, "blaizard" <
reply@reply.github.com>
wrote:

@jmathai: I have the same issue, and commenting L171 - 172 did not change
anything.
My problem was about the certificate and commenting L174 fixed the issue.

Reply to this email directly or view it on GitHub:
#103 (comment)

jmathai added a commit that referenced this issue May 13, 2011

Owner

jmathai commented May 13, 2011

No problem. I just committed a change which makes the certificate optional.

On Thu, May 12, 2011 at 10:16 PM, blaizard <
reply@reply.github.com>wrote:

... sorry for that, my bad, I will delete my message.

Reply to this email directly or view it on GitHub:
#103 (comment)

I ran into the issue which was solved by commenting out two lines (as per #103 (comment)). Would be nice to see a $sharedHostingEnv flag added to the EpiOauth.php file

hi
i am using your api for twitter.
i have seen this issue here and read it but unfortunately it's not solved.
its working fine at one stage but after few hours everything stop working i am not sure why the above error comes so it might be the blacklisting issue.
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment