Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r60 seems to be causing a glitch somewhere #22

Closed
varnent opened this issue Dec 31, 2011 · 3 comments
Closed

r60 seems to be causing a glitch somewhere #22

varnent opened this issue Dec 31, 2011 · 3 comments
Assignees
Labels

Comments

@varnent
Copy link

varnent commented Dec 31, 2011

We're using a basic clone of examples / tweet.php and as of r60 - having no luck with sending tweets. Reverting to r57 (with Reedy's tweak applied as well) seems to return behavior back to normal.

Any ideas on the differences between the two that may need a tweak on my part?
http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/TweetANew/TweetANew.body.php

@themattharris
Copy link
Owner

r60 turns on SSL host verification. Can you run examples/verify_ssl.php and tell me if it's successful. Also, r60 saves the error response (if any). Can you (in a debug mode) run your code but at the end dump $tmhOAuth->response out. The extra info should help work out what's happening

@ghost ghost assigned themattharris Dec 31, 2011
@varnent
Copy link
Author

varnent commented Jan 6, 2012

Nevermind - discovered what the problem was. When we updated to the new version, we didn't add the cacert.pem file to the lib folder with the other two tmhOAuth files - whoops - seems to be working now. :)

@varnent varnent closed this as completed Jan 6, 2012
@themattharris
Copy link
Owner

The security thing is tricky but necessary to ensure the SSL connection is verified.
Either way, glad you got that solved - and thanks for letting me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants