-
Notifications
You must be signed in to change notification settings - Fork 9
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
PHP Fatal error: Class 'NetDNA\OAuth\OAuthSignatureMethod_HMAC_SHA1' not found #5
Comments
Hi there! Can you specify dev-master as the version of our sdk in your composer config. Let us know if that works. Thanks. Taylor Dondich
|
Thanks for the quick response. I had Thanks again. |
And you are using composers auto loader? We saw this problem originally due to a misnamed file. Is the class file in composers vendor/netdna/NetDNA/OAuth directory?
|
I originally had The file OAuthSignatureMethod_HMAC_SHA1.php is in vendor/netdna/rws-sdk-php/src/NetDNA/OAuth. |
When you specified the new version did you instruct composer to update as well as optimize its classloader? It should be php composer.phar update -o I also believe that you may need to explicitly state dev-master as version instead of *.
|
Thanks, the Now just have to see what's wrong with my cURL access credentials! Thanks for all your help! |
I also had the same issue as oqp but using dev-master and composer update -o fixed the issue. Basically what happened to me was that I had not classes added to autoload_classmap.php after both |
Ditto... fresh install.... but needed the -o for it to work. |
Was implementing this i-library in Magento and received same error. PSR-0 loader I was using was converting underscores to directory separators (per conformity with legacy naming conventions). Not sure the exact specification laid out in PSR-0 but it might be worth looking in to. |
Hi All
I'm trying to implement purge functionality, but am getting stuck on the OauthSignatureMethod_HMAC_SHA1 bit. Checked the files, but can't find what would be causing this. Any suggestions would be most welcome.
Cheers
The text was updated successfully, but these errors were encountered: