Hi all
<br />
<b>Warning</b>: parse_ini_file(/quickstatements/data/oauth.ini): failed to open stream: No such file or directory in <b>/var/www/html/magnustools/public_html/php/oauth.php</b> on line <b>102</b><br />
<br />
<b>Fatal error</b>: Uncaught Exception: Cannot get user agent from ini file '/quickstatements/data/oauth.ini' in /var/www/html/magnustools/public_html/php/oauth.php:104
Stack trace:
#0 /var/www/html/magnustools/public_html/php/oauth.php(48): MW_OAuth->loadIniFile()
#1 /var/www/html/quickstatements/public_html/quickstatements.php(110): MW_OAuth->__construct(Array)
#2 /var/www/html/quickstatements/public_html/api.php(122): QuickStatements->getOA()
#3 {main}
thrown in <b>/var/www/html/magnustools/public_html/php/oauth.php</b> on line <b>104</b><br />
I've seen that exists a special script to configure OAuth in QuickStatements inside Wikibase-bundle docker image, if I try to execute manually I get this error:
root@61abd70a19f8:/extra-install# ./QuickStatements.sh
+ php /var/www/html/extensions/OAuth/maintenance/createOAuthConsumer.php --approve --callbackUrl http://quickstatements.svc:8840/api.php --callbackIsPrefix true --user admin --name QuickStatements --description QuickStatements --version 1.0.1 --grants createeditmovepage --grants editpage --grants highvolume --jsonOnSuccess
The following extensions are required to be installed for this script to run: OAuth. Please enable them and then try again.
It seems to be missing an OAuth extension, any idea? Perhaps I have a misconfiguration problem?
BR,
JM