You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful to add a note to dokuwiki/README.md that some DokuWiki plugins may require installing additional PHP packages in order to work properly.
Specifically, when attempting to use plugin:oauth, I was getting the following errors in my /var/log/nginx/error.log:
[error] 56#56: *148 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined function OAuth\OAuth2\Service\json_decode() in /var/www/html/lib/plugins/oauth/phpoauthlib/src/OAuth/OAuth2/Service/Generic.php on line 80" while reading response header from upstream.
In this case, the solution was install the Alpine package php5-json, either by updating the apk add command in Dockerfile or by adding a custom command to docker-compose.yml, e.g. command: apk add --no-cache php5-json && php-fpm5 && nginx -g 'daemon off;'.
It would be helpful to add a note to dokuwiki/README.md that some DokuWiki plugins may require installing additional PHP packages in order to work properly.
Specifically, when attempting to use plugin:oauth, I was getting the following errors in my /var/log/nginx/error.log:
In this case, the solution was install the Alpine package php5-json, either by updating the
apk add
command in Dockerfile or by adding a custom command to docker-compose.yml, e.g.command: apk add --no-cache php5-json && php-fpm5 && nginx -g 'daemon off;'
.See also: cosmocode/dokuwiki-plugin-oauth#60
The text was updated successfully, but these errors were encountered: