Closed vvatikiotis closed 1 year ago
Same issue as https://github.com/leenooks/phpLDAPadmin/issues/231#issuecomment-1704913666
You need to use PHP 8.2 ;)
Alternative solution to the login problem, remove the two lines https://sources.debian.org/src/phpldapadmin/1.2.6.3-0.3/lib/ds_ldap.php/#L219
Or update it to https://github.com/leenooks/phpLDAPadmin/blob/BRANCH-1.2/lib/ds_ldap.php#L219
And update https://sources.debian.org/src/phpldapadmin/1.2.6.3-0.3/lib/ds_ldap.php/#L340 to https://github.com/leenooks/phpLDAPadmin/blob/BRANCH-1.2/lib/ds_ldap.php#L340
Installed php8.2. Problem resolved
Installed php8.2. Problem resolved
Awesome, feel free to post here if you find bugs that I did not catch while doing the Debian packaging.
When I try to login to phpldapadmin I receive the following error message with the following backtrace:
Error UNHANDLED, $resource is not a resource PHP Debug Backtrace File /usr/share/phpldapadmin/lib/functions.php (475) Function error ([a:5:{i:0;s:38:"UNHANDLED, $resource is not a resou...] File /usr/share/phpldapadmin/lib/ds_ldap.php (220) Function debug_dump_backtrace ([a:2:{i:0;s:38:"UNHANDLED, $resource is not a resou...] File /usr/share/phpldapadmin/lib/ds_ldap.php (337) Function connect ([a:3:{i:0;s:4:"user";i:1;b:0;i:2;b:0;}] File /usr/share/phpldapadmin/htdocs/login.php (32) Function login ([a:3:{i:0;s:28:"cn=admin,dc=xxx,dc=xx";i:1;s...] File /usr/share/phpldapadmin/htdocs/cmd.php (59) Function include ([a:1:{i:0;s:40:"/usr/share/phpldapadmin/htdocs/logi...]
Versions I'm running
I have other phpldapadmin versions running fine, can't figure out what's wrong with this one.
Cheers!