•  » Extensions
  •  » piwigoplugin_ldap_login activation error

#1 2021-10-27 04:56:08


piwigoplugin_ldap_login activation error


Newbie to Piwigo but have got it working to use at school for display screens on an existing win2019 IIS10 webserver already running php/mysql websites.

Would love to get the ldap plugin working so staff can self manage albums/uploads etc but whenever I activate this plugin (seems to install fine) the whole piwigo website falls over:

"PHP Warning:  [mysql error 1146] Table 'gallery.piwigo_ldap_login_config' doesn't exist
select 1 from `piwigo_ldap_login_config` LIMIT 1 in E:\gallery\include\dblayer\ on line 864"

php fastcgi error logs are empty

Deleting the piwigoplugin_ldap_login from the plugins directory restores the website

thanks in advance

Piwigo 11.5.0
Operating system: Win2019 Server - IIS 10
PHP: 7.4.7
MySQL: 8.0.20
Graphics Library: GD bundled (2.1.0 compatible)



#2 2021-10-27 11:13:21

Only trying to help

Re: piwigoplugin_ldap_login activation error

Looking at its source code that line is meant to detect whether the table exists or not. And when activating the plugin the table should had been created with the code after using the ld_sql('create','create_table'); call. During that, the warning should occur only once or twice or so until the table was created. If the warning persists then investigate why the table could not be created. The create statement is in the ld_sql() function. Note however that executing that manually alone is not sufficient as the table needs to be populated with ldap config data as well, but it might help to see what's wrong with your database.

Running Piwigo at


  •  » Extensions
  •  » piwigoplugin_ldap_login activation error

Board footer

Powered by FluxBB

github twitter newsletter Donate © 2002-2022 · Contact