The void_error_handler static method in the LDAPInterface class seems to cause problems with php 4 (specifically, I'm using 4.4.2).
PHP complains about the static keyword and triggers a fatal error.
This patch moves the error handler to a function outside the scope of the LDAPInterface class which was the best way I could come up with to make this work in php 4 and php 5. Strangely I can't find any real reference to solving this issue elsewhere on the net so I'd appreciate if anyone has another solution or information that static functions should work in php 4 somehow.
| Comment | File | Size | Author |
|---|---|---|---|
| ldap_integration_php4_static_fix.patch | 1.62 KB | jfitzell |
Comments
Comment #1
pablobm commentedSolved some time ago. Thanks.
Comment #2
jfitzell commentedHmm.. so it was. I think I was accidentaly using the May 9 version instead of the June 6 version. Do you think you could name the files and source directories differently for each release so they don't get so easily muddled? :)
Comment #3
pablobm commentedWhat I am going to do is going back to use CVS again. It finally works for me, so I am just waiting until I finish a big code refactoring I am working on, and then release new 4.6 and 4.7 versions and change documentation, project page and so on.