telephone: (920) 215-1842
facsimile: (866) 456-2115

Class ‘OAuthSignatureMethod_HMAC_SHA1’ not found

If you’re getting an error to the tune of

Class 'OAuthSignatureMethod_HMAC_SHA1' not found

It’s because you’re trying to use the PEAR OAuth library + abraham’s library at the same time or some other oAuth library. I suggest finding your php.ini and commenting out what you had added earlier when you installed PEAR OAuth by putting a semi-colon in front of the line:


restart (apache2ctl restart) or graceful-restart (apache2ctl graceful) apache and try running your code again.

If you need the PEAR OAuth library, simply remove the semicolon and restart apache when you’re done.

Post a Comment

Do you have a question or comment about this post. Please share! Your email address will not be published. Required fields are marked *