inakiabt / etsy-php

Etsy API wrapper for PHP
74 stars 59 forks source link

OAuth configuration script - missing oauth module?! #49

Open LeopoldKing opened 5 years ago

LeopoldKing commented 5 years ago

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 commented 5 years ago

Please read the readme El El dom, 31 mar. 2019 a las 10:36, LeopoldKing notifications@github.com escribió:

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/inakiabt/etsy-php/issues/49, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlChK3FUxgP4FBtn06xJV90_RlT_oP-ks5vcLndgaJpZM4cUUJJ .

-- Iñaki Abete :: Tandil :: Argentina :: about.me/inaki.abete

LeopoldKing commented 5 years ago

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 commented 5 years ago

Did you follow the requirements part? You need to install the oauth and curl packages El El dom, 31 mar. 2019 a las 18:39, LeopoldKing notifications@github.com escribió:

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

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/inakiabt/etsy-php/issues/49#issuecomment-478387770, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlChM-_tVT8QD7-4q7unCJfyhCpIhRoks5vcSr4gaJpZM4cUUJJ .

-- Iñaki Abete :: Tandil :: Argentina :: about.me/inaki.abete

LeopoldKing commented 5 years ago

yeah, I tried it but it didn’t work. Maybe I misunderstood something. I’ll give it a shot the next days again :-/

Thank you!

Am 31.03.2019 um 23:43 schrieb Iñaki Abete notifications@github.com:

Did you follow the requirements part? You need to install the oauth and curl packages El El dom, 31 mar. 2019 a las 18:39, LeopoldKing notifications@github.com escribió:

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

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/inakiabt/etsy-php/issues/49#issuecomment-478387770, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlChM-_tVT8QD7-4q7unCJfyhCpIhRoks5vcSr4gaJpZM4cUUJJ .

-- Iñaki Abete :: Tandil :: Argentina :: about.me/inaki.abete — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/inakiabt/etsy-php/issues/49#issuecomment-478388201, or mute the thread https://github.com/notifications/unsubscribe-auth/ASgyfPeRzC5-98afw3Rvim28PsQYxC1nks5vcSwPgaJpZM4cUUJJ.

Serhii-zp-ua commented 2 years ago

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