I’m likely asking a basic question here but something I’ve not quite found an answer to based on my searching.
Trying to install this oauth php library via composer and use it - https://github.com/Lusitanian/PHPoAuthLib
I followed these instructions as per the docs here
composer require lusitanian/oauth
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install
Now I copied the example code for Etsy here into a page template:
The result is:
Fatal error : require_once(): Failed opening required ‘/tmp/sage-cache/bootstrap.php’ (include_path=’.:/usr/share/php’) in /tmp/sage-cache/a1e0684fa8db59f858c42a94673b906cd3d3c541.php on line 32
The failed line is
require_once __DIR__ . '/bootstrap.php';
I ran the following afterwards:
- composer clearcache
- composer dump-autoload --optimize
No change of error.
Im still fairly new to using composer etc properly, wondering if I am missing a change needed considering this is on roots etc at all?
Thanks for any help.