WordPress.org

Ready to get started?Download WordPress

Forums

Twitter Tools
new v2.4 broken/problems? (46 posts)

  1. fidgetwith
    Member
    Posted 4 years ago #

    I got this error when trying to set the new twitter tools plugin:

    Fatal error: Class 'OAuthSignatureMethod_HMAC_SHA1' not found.

    Seems i'm not the only one accoring to this:
    http://crowdfavorite.com/forums/forum/twitter-tools

    Also seems to need PHP5 and cURL which others have complained about no prior warning and thier hosts do not support it (mine does).

    Any official word yet? I've rolled back to v2.31 for now.

    Please fix this otherwise excellent plugin!

  2. jlake
    Member
    Posted 4 years ago #

    yer i am having the same issue,
    Fatal error: Class 'OAuthSignatureMethod_HMAC_SHA1' not found in /home/jol227/public_html/wp-content/plugins/twitter-tools/twitteroauth.php on line 62

    I have checked the code and have this on line 62
    $this->sha1_method = new OAuthSignatureMethod_HMAC_SHA1(); i am not a coder but seems right!

    I then sent a request to wordpress help centre as they have their button next to the tt option page, explaining and detailing the above errors and this was thier response.....

    With items such as this, it is generally best to first let us make aninitial evaluation of your site, which costs $100. If the problem canbe solved with a quick fix, we are more than happy to take care of itright then and there. However, if the problem requires a more
    in-depth solution, we will tell you what needs to be done going
    forward and provide you a quote for us to do it. It is difficult to
    determine the exact problem until we have the opportunity to look at
    how your WordPress install is setup, including theme and plugins.

    Given our present workload, our response time for this job is
    approximately 3 business days. This lead time estimate is good for
    the next two (2) business days. Our business is such that our
    workload varies greatly over the course of a few days, so if it takes
    you a few days to consider our quote and get back to us, that lead
    time may change---in either direction.

    If this quote is acceptable, please reply back and we'll send you an
    invoice to get started.

    `

    well i am in shock, they must now that there are issues with alot of peiople that have been using the pluggin without problems for a long time, seems they want to try and capitalise on it........

  3. jlake
    Member
    Posted 4 years ago #

    please excuse my bad typing, feeling rather emotional to say the least!

  4. Alex King
    Member
    Plugin Author

    Posted 4 years ago #

    I'm sorry that the new version isn't working for you. August 16th was the deadline for changing to Twitter's new auth scheme, so unfortunately rolling back to the old version is a fix that isn't viable long term:

    http://countdowntooauth.com/

    My WordPress HelpCenter team has helped dozens of people this morning at no charge. There are other people who are experiencing problems that we cannot reproduce. In those cases, we are offering to debug and try to resolve the issue on your own server and asking for a fair (actually a discounted) rate to do this.

    WordPress is moving to PHP5 in the near future, so moving away from PHP4 hosting is a good idea.

    Please consider that this plugin is currently made available for free and that my team and I have countless development hours invested in it. We're trying to provide the best options we can to our users.

  5. h.lietz
    Member
    Posted 4 years ago #

    Same thing here ... That does not seem a singular problem.

  6. jlake
    Member
    Posted 4 years ago #

    Thanks for your reply, what can i do to fix this error? i have followed the instructions as per the tt options in my dashboard, i have copied and pasted the consumer code and secret and the access token and secret, when i press the coneect to twitter button i get this error
    Fatal error: Class 'OAuthSignatureMethod_HMAC_SHA1' not found in /home/jol227/public_html/wp-content/plugins/twitter-tools/twitteroauth.php on line 62

    I have downloaded the php file in my file manager and checked line 62 as indicated by the error and this is what is written

    $this->sha1_method = new OAuthSignatureMethod_HMAC_SHA1();

    I am assuming this is correct!

    please can you enlighten me as to what is the issue?

    thanksyou

  7. webtiva
    Member
    Posted 4 years ago #

    I just got this from Twitter DEV:

    ----------

    Application suspension notice

    This is a notice that your OAuth token for Tools 55 has been suspended from interacting with the Twitter API.

    Please make sure that your application follows Twitter's API Terms of Service

    To request for your token to be re-enabled, please write to api@twitter.com

    ----------

    I created this API following the "Twitter Tools" 2.4 OAuth steps. Works fine, but seems it was a not-authorized behavior based on Twitter TOS. So, I'll updade manually my blog twits until a new method arrives.

    Waiting so....

  8. shep
    Member
    Posted 4 years ago #

    This is most likely the issue you guys are facing (opened a ticket with my web host):

    The problem is with a pecl module that was setup on the server to provide oauth support. It was defining the oauth class first and then the oauth.php can't redefine it. I disabled this module and the twitter tool should be working now. Please check to confirm.

    Open a ticket with your hosting company to see if they can do the same.

  9. CoastalData
    Member
    Posted 4 years ago #

    Working with my host support now to try and track it down....

  10. CoastalData
    Member
    Posted 4 years ago #

    My host says I'm SOL, that the module is installed, but cannot be used by shared customers on the server itself!

  11. CoastalData
    Member
    Posted 4 years ago #

    Update: My host, btw, is HostGator... I just got an email back from their support department, and they said they would, by request, update my sites individually to fix this problem.

    Specifically, they said this:

    The problem is with a pecl module that includes oauth support for php. It is loaded on our servers and does not have the class OAuthSignatureMethod_HMAC_SHA1 defined. The twiiter tools have a file called oauth.php that defines this class but since the pecl module is already loaded, this does not get defined. If you can please provide a list of sites, we can disable the module so that the oauth.php file gets loaded correctly.

  12. wechangetheworld
    Member
    Posted 4 years ago #

    Hi, I'm using wordpress 3.0.1 (before the upgrade I used 2.9.2) and twitter tools with oAuth didn't work.

    I get the error message:

    Fatal error: Call to undefined function curl_init() in /mnt/web3/40/91/52083491/htdocs/wordpress/wp-content/plugins/twitter-tools/twitteroauth.php on line 201

    Do you have any idea what might be the cause of this?

  13. shep
    Member
    Posted 4 years ago #

    @coastaldata

    I'm with hostgator as well. They must have changed it for all my sites because I only told them one but it works fine on my other sites as well now too.

  14. CoastalData
    Member
    Posted 4 years ago #

    Yep, they just wrote me back:

    I've gone ahead and disabled it on all of our servers. Please let me know if you are still seeing problems on any of your sites. If there is a custom php.ini file, the following line needs to be commented out or removed.

    extension=oauth.so

    So, no more problems!

  15. jlake
    Member
    Posted 4 years ago #

    yes i am with host gator also and it is now working, what ever has been done resulting from these comments in the forum has worked for me, hope everyone else gets fixed quick. who ever you are that has addressed and fixed the issue, well done! we like using this plugin and want to support the work of the founder in his ongoing career through good will, i am sure many of us will agree.

  16. h.lietz
    Member
    Posted 4 years ago #

    Today it just works ... Yesterday it didn't. No changes made. Voodoo?

  17. fourteenergirl
    Member
    Posted 4 years ago #

    Hi, I'm still getting the same error message you guys are:

    Fatal error: Class 'OAuthSignatureMethod_HMAC_SHA1' not found in /home/fourteen/public_html/wp-content/plugins/twitter-tools/twitteroauth.php on line 62

    My host is hostgator and I'm using WordPress 3 and Twitter Tools 2.4 ... is there something else I should do to get this plugin working?

  18. fourteenergirl
    Member
    Posted 4 years ago #

    Ah, never mind ... hostgator was able to help. It appears to be working well now. Thanks!

  19. Ciro Urdaneta
    Member
    Posted 4 years ago #

    After upgraded to version 2.4 I was able to connect my Blog with twitter but my site no longer updates my twitter account when I publish a new post.
    I'm running WP 3.0.1

  20. murky
    Member
    Posted 4 years ago #

    I'm getting this error on authentication:
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <<path edited>>/wp-content/plugins/twitter-tools/twitteroauth.php on line 19

  21. perryw
    Member
    Posted 4 years ago #

    murky,I had the same problem on my shared host. In CPanel, I had to go in to the PHP configuration and set .php to be run with PHP5. This was despite the CPanel PHP version showing 5 and php version 5 showing from the command line.

  22. eladear
    Member
    Posted 4 years ago #

    I had the same error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <<path edited>>/wp-content/plugins/twitter-tools/twitteroauth.php on line 19

    I'm hosted on Mediatemple, and in the account panel there are Php settings which allows one to change from PHP 4 to PHP 5, and that resolves the problem.

  23. Sim-O
    Member
    Posted 4 years ago #

    I'm running WP 3.0 and recently updated Twitter Tools because of Twitters change to OAuth.

    My problem is that I get my access codes and token secrets from the Twitter app and put them in the places required by the plugin and then click the 'connect to twitter' button and just end up with a blank screen on the URL XXX.XX.XX/wp-admin/options-general.php.

    No error message of any flavour.

    The app seems to be ok at Twitters' end (not that I would know otherwise).

    When I go back to the plugin setting screen, I am returned to the original 'connect to twitter' page.

    Would this blankness be caused by running PHP4, not PHP5 on the server?

  24. wphelpcenter
    Member
    Posted 4 years ago #

    @wechangetheworld -- you're seeing curl_init() issues because your Web host doesn't have the cURL libraries hooked up to PHP.

  25. wechangetheworld
    Member
    Posted 4 years ago #

    @wphelpcenter. Thanks for the advice. I contacted my webhoster and they try to figure it out. I post my reply if that was the issue.

  26. eladear
    Member
    Posted 4 years ago #

    I changed from php 4 to 5, which resolved the script error. But now the posts are not being sent to Twitter. I've verified the access tokens, etc. I see no apparent error in the WordPress panel now, so not sure how to fix this.

    I'm manually adding the posts to Twitter, which is a drag.

  27. b3inside
    Member
    Posted 4 years ago #

    syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <<path edited>>/wp-content/plugins/twitter-tools/twitteroauth.php on line 19

    Thanks to eladear, I had the same error, and I'm hosted on (mt) too. Change the setting from PHP4 to PHP5, this problem has been solved.

  28. teapot
    Member
    Posted 4 years ago #

    Everything installed with no error but now it just does not work. No tweets. I am on HostMonster.

    I get 95% of my blog traffic from Twitter so I am really screwed.

  29. teapot
    Member
    Posted 4 years ago #

    Wow! The Simple Twitter Connect plugin solved all my problems flawlessly in 2 minutes. I am back in business!

  30. Misosofos
    Member
    Posted 4 years ago #

    I have same problem that b3inside. Any solution? Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic