------SJQDLWVKEOJ2XNZLCAYI7FUKSH1R52
X-MS-Reactions: disallow
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi,
Can you submit a pull request to GitHub?
Else I can do it later, but that would help me a bit.
Thank you for the patch!
Le 18 mars 2025 14:09:58 GMT+01:00, Luca <
lbonco@gmail.com> a écrit : >Package: phpldapadmin
Version: 1.2.6.7-2
Severity: normal
Tags: patch
X-Debbugs-Cc: lbonco@gmail.com
Dear Maintainer,
after upgrading to phph8.4 every click on the ldap tree, gives a page
with the followig error:
E_DEPRECATED: Creation of dynamic property AttributeType::$is_obsolete is deprecated
I fixed the error with the following patch:
diff --git a/lib/schema_functions.php b/lib/schema_functions.php
index 6218064..70c6e8b 100644
--- a/lib/schema_functions.php
+++ b/lib/schema_functions.php
@@ -24,7 +24,7 @@ abstract class SchemaItem {
# The description of this schema item.
protected $description = '';
# Boolean value indicating whether this objectClass is obsolete
- private $is_obsolete = false;
+ protected $is_obsolete = false;
public function setOID($oid) {
if (DEBUG_ENABLED && (($fargs=func_get_args())||$fargs='NOARGS'))
Luca
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.17-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages phpldapadmin depends on:
ii debconf [debconf-2.0] 1.5.91
ii php 2:8.4+96
ii php-ldap 2:8.4+96
ii php-xml 2:8.4+96
ii php8.4 [php] 8.4.4-1
ii php8.4-ldap [php-ldap] 8.4.4-1
ii php8.4-xml [php-xml] 8.4.4-1
ii ucf 3.0050
Versions of packages phpldapadmin recommends:
ii apache2 [httpd] 2.4.63-1
ii nginx [httpd] 1.26.3-2
ii php-fpm 2:8.4+96
ii php8.4-fpm [php-fpm] 8.4.4-1
Versions of packages phpldapadmin suggests:
ii firefox [www-browser] 136.0.1-1
ii w3m [www-browser] 0.5.3+git20230121-2.1
-- debconf information:
phpldapadmin/ldap-basedn: dc=example,dc=com
phpldapadmin/restart-webserver: true
phpldapadmin/ldap-server: 127.0.0.1
phpldapadmin/reconfigure-webserver: apache2
phpldapadmin/ldap-authtype: session
phpldapadmin/ldap-tls: false
phpldapadmin/ldap-binddn: cn=admin,dc=example,dc=com
phpldapadmin/ldap-bindpw: secret
------SJQDLWVKEOJ2XNZLCAYI7FUKSH1R52
X-MS-Reactions: disallow
Content-Type: text/html;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><head></head><body><div dir="auto">Hi,<br><br>Can you submit a pull request to GitHub?<br><br>Else I can do it later, but that would help me a bit.<br>Thank you for the patch! </div><br><br><div class="gmail_quote"><div dir="auto">Le 18 mars 2025
14:09:58 GMT+01:00, Luca <
lbonco@gmail.com> a écrit :</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><div dir="auto">Package: phpldapadmin<br>Version: 1.2.6.7-2<br>Severity: normal<br>Tags: patch<br>X-Debbugs-Cc:
lbonco@gmail.com<br><br>Dear Maintainer,<br><br>after upgrading to phph8.4 every click on the ldap tree, gives a page<br>
with the followig error:<br><br>E_DEPRECATED: Creation of dynamic property AttributeType::$is_obsolete is deprecated<br><br>I fixed the error with the following patch:<br><br>diff --git a/lib/schema_functions.php b/lib/schema_functions.php<br>index
6218064..70c6e8b 100644<br>--- a/lib/schema_functions.php<br>+++ b/lib/schema_functions.php<br>@@ -24,7 +24,7 @@ abstract class SchemaItem {<br> # The description of this schema item.<br> protected $description = '';<br> # Boolean
value indicating whether this objectClass is obsolete<br>- private $is_obsolete = false;<br>+ protected $is_obsolete = false;<br><br> public function setOID($oid) {<br> if (DEBUG_ENABLED && (($fargs=func_get_args(
))||$fargs='NOARGS'))<br><br><br>Luca<br><br>-- System Information:<br>Debian Release: trixie/sid<br> APT prefers testing<br> APT policy: (990, 'testing'), (500, 'unstable')<br>Architecture: amd64 (x86_64)<br><br>Kernel: Linux 6.12.17-amd64 (SMP w/16
CPU threads; PREEMPT)<br>Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set<br>Shell: /bin/sh linked to /usr/bin/dash<br>Init: systemd (via /run/systemd/system)<br>LSM: AppArmor: enabled<br><br>Versions of packages
phpldapadmin depends on:<br>ii debconf [debconf-2.0] 1.5.91<br>ii php 2:8.4+96<br>ii php-ldap 2:8.4+96<br>ii php-xml 2:8.4+96<br>ii php8.4 [php] 8.4.4-1<br>ii php8.4-ldap [php-ldap] 8.
4.4-1<br>ii php8.4-xml [php-xml] 8.4.4-1<br>ii ucf 3.0050<br><br>Versions of packages phpldapadmin recommends:<br>ii apache2 [httpd] 2.4.63-1<br>ii nginx [httpd] 1.26.3-2<br>ii php-fpm 2:8.4+96<br>
ii php8.4-fpm [php-fpm] 8.4.4-1<br><br>Versions of packages phpldapadmin suggests:<br>ii firefox [www-browser] 136.0.1-1<br>ii w3m [www-browser] 0.5.3+git20230121-2.1<br><br>-- debconf information:<br> phpldapadmin/ldap-basedn: dc=example,dc=
com<br> phpldapadmin/restart-webserver: true<br> phpldapadmin/ldap-server: 127.0.0.1<br> phpldapadmin/reconfigure-webserver: apache2<br> phpldapadmin/ldap-authtype: session<br> phpldapadmin/ldap-tls: false<br> phpldapadmin/ldap-binddn: cn=admin,dc=
example,dc=com<br> phpldapadmin/ldap-bindpw: secret<br><br></div></pre></blockquote></div></body></html>
------SJQDLWVKEOJ2XNZLCAYI7FUKSH1R52--
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)