jasperweyne / PiwigoOpenIdConnect

A plugin for Piwigo to enable OpenID Connect based login
Apache License 2.0
10 stars 8 forks source link

Linuxserver Piwigo docker container: Warning: Undefined array key #29

Open GD-Dal opened 8 months ago

GD-Dal commented 8 months ago

Hi. I'm trying to setup OpenID Connect on my Piwigo container, but even before I type in any information, there are error on the configuration page.

In the username field it says: <br /><b>Warning</b>: Undefined array key

and next to the user field it says: /config/www/_data/templates_c/p6jhns^debe8d3bf157a8d14a6ff3aa7c9af8fad9eace87_0.file.config.tpl.php on line 84

Below the username field it says: Warning: Attempt to read property "value" on null in /config/www/_data/templates_c/p6jhns^debe8d3bf157a8d14a6ff3aa7c9af8fad9eace87_0.file.config.tpl.php on line 84 ">

The same goes for the password field, but then it says line 91 instead.

And if I click the Test Authorization Code Flow button it just sends me to a blank page with a Server Error 500 error.

What could be wrong?

Thanks

armanddidierjean commented 8 months ago

Hi,

The undefined array key is probably related with https://github.com/jasperweyne/PiwigoOpenIdConnect/issues/26

I'm not sure about it, but the error 500 could be linked with https://github.com/jasperweyne/PiwigoOpenIdConnect/issues/28 if you use linuxserver docker image.

GD-Dal commented 8 months ago

Thanks for answering. So both problems have a pull request on them? Hopefully they will be merged soon then :)

Thanks again