Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upIssues getting auth URL in centos 5.5 #119
Comments
This comment has been minimized.
This comment has been minimized.
JohnnyGoods
commented
Jun 30, 2011
|
Interestingly, I'm using the exact same EpiOAuth and EpiCurl with EpiFoursqaure on the same box, and it is able to get a request token without an issue. |
This comment has been minimized.
This comment has been minimized.
|
What version of PHP and curl are you running? Also, try commenting out lines 171 and 172 in EpiOAuth.php. On Wed, Jun 29, 2011 at 6:31 PM, JohnnyGoods <
|
This comment has been minimized.
This comment has been minimized.
immortalx
commented
Aug 15, 2011
|
I was having the same problem and commenting those lines fixed the issue. |
This comment has been minimized.
This comment has been minimized.
keogh
commented
Oct 28, 2011
|
Thanks, I had the same issue, commeting the lines fix it. When I used EpiOAuth in http://localhost/project there's no problem. But if I'm working in a local virtual host let's say http://project/ the issue appears, again it's solved commeting the lines 171 and 172 in EpiOAuth.php Thanks again. Great library! |
This comment has been minimized.
This comment has been minimized.
archer247
commented
Dec 30, 2011
|
is these lines 171 and 172? |
JohnnyGoods commentedJun 30, 2011
I just deployed a new project that I had running successfully on OS X to a Centos 5.5 server. Read connections to twitter work just fine, but I am getting an error I can't figure out when I try to get the authentication URL.
I am running the latest version, checked-out from git.
I tried to extend the timeouts with setTimeout(60,60), but that made the attempt apparently hang indefinitely.
This is output of the manager object and exception:
EpiCurlManager Object
(
[key:EpiCurlManager:private] => Resource id #52
[epiCurl:EpiCurlManager:private] => EpiCurl Object
(
[mc:EpiCurl:private] => Resource id #51
[msgs:EpiCurl:private] =>
[running:EpiCurl:private] =>
[execStatus:EpiCurl:private] =>
[selectStatus:EpiCurl:private] =>
[sleepIncrement:EpiCurl:private] => 1.1
[requests:EpiCurl:private] => Array
(
[Resource id #52] => Resource id #52
)
)
Fatal error: Uncaught exception 'EpiOAuthException' in /ceylon/prod/app/libraries/epitwitter/EpiOAuth.php:435
Stack trace:
#0 /ceylon/prod/app/libraries/epitwitter/EpiOAuth.php(404): EpiOAuthException::raise(Object(EpiCurlManager), false)
#1 /ceylon/prod/app/libraries/epitwitter/EpiOAuth.php(45): EpiOAuthResponse->__get('oauth_token')
#2 /ceylon/prod/app/controllers/TwitterController.php(31): EpiOAuth->getAuthenticateUrl()
#3 /ceylon/prod/libraries/lithium/core/Object.php(167): app\controllers\TwitterController->login()
#4 /ceylon/prod/libraries/lithium/action/Controller.php(181): lithium\core\Object->invokeMethod('login', Array)
#5 /ceylon/prod/libraries/lithium/util/collection/Filters.php(202): lithium\action{closure}(Object(app\controllers\TwitterController), Array, Object(lithium\util\collection\Filters))
#6 /ceylon/prod/app/controllers/BaseController.php(30): lithium\util\collection\Filters->next(Object(app\controllers\TwitterController), Array, Object(lithium\util\collection\Filters))
#7 /ceylon/prod/libraries/lith in /ceylon/prod/app/libraries/epitwitter/EpiOAuth.php on line 435