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

OAuth configuration script - missing oauth module?! #49

Open
LeopoldKing opened this issue Mar 31, 2019 · 5 comments
Open

OAuth configuration script - missing oauth module?! #49

LeopoldKing opened this issue Mar 31, 2019 · 5 comments

Comments

@LeopoldKing
Copy link

Hi everyone,

whenever I try to create my oauth configuration script, it only returns the following error:

Fatal error: Uncaught Error: Class 'OAuth' not found in /░░░/inakiabt/etsy-php/src/Etsy/EtsyClient.php:23
Stack trace:
#0 /░░░/inakiabt/etsy-php/scripts/auth-setup.php(41): Etsy\EtsyClient->__construct('░░░...', '░░░')
#1 {main}
  thrown in /░░░/inakiabt/etsy-php/src/Etsy/EtsyClient.php on line 23

Any ideas what I can do about it? I'm running on a MacOS (mojave) and it seems that the MacOS php is not supporting OAuth. How can I install it?

Cheers,
Leopold

@inakiabt
Copy link
Owner

inakiabt commented Mar 31, 2019 via email

@LeopoldKing
Copy link
Author

That's what I did and tried to follow but due a missing(?) OAuth module, I couldn't go on. Any ideas how to solve it?

Please read the readme

@inakiabt
Copy link
Owner

inakiabt commented Mar 31, 2019 via email

@LeopoldKing
Copy link
Author

LeopoldKing commented Mar 31, 2019 via email

@Serhii-zp-ua
Copy link

Serhii-zp-ua commented Jul 3, 2022

I spent a couple of hours on the same problem, in phpinfo oAuth was installed and enabled, but...
The reason was, what php has separate php.ini for terminal and browser, I forgot about it, so needed to add this line
extension=oauth.so
in both php.ini
/etc/php/8.1/apache2/php.ini
/etc/php/8.1/cli/php.ini

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

No branches or pull requests

3 participants