I am getting the following error when testing the May, 9 2006 release of the 4.7 version.
Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /Users/mdshrops/public_html/drupalucit/modules/ldap_integration-4.6.0/ldap_integration/LDAPInterface.php on line 22
I am running php 4.4.2, Apache 1.3.3 and MySQL 4.1.
Also, I noticed that the zcallbacks.module is not included in the 4.7 package on the wiki site. Is this intended?
Thanks!
Mark
Comments
Comment #1
MartinSfromB commentedThe actual release seems to not be php4 compatible. With php5 it works.
Comment #2
shrop commentedI wondered about that. Hopefully Pablo might have a way to make it work for us on php4.
Thanks!
Mark
Comment #3
pablobm commentedHi guys. Can any of you just remove the keyword "static" from line 22 of LDAPInterface.php and verify it solves the problem, please?. I don't have a PHP4 setup now to test this.
And yes, zcallbacks was no longer necessary for 4.7.
Thanks!
Comment #4
amatrix commentedworks after removing keywork "static" from lines 22 and 245.
using php 4.3.2
Comment #5
shrop commentedI was also about to run the 2006-05-09 4.7 release of ldap_integration module on php 4.4.2 when "static" was removed from lines 22 and 245.
Thanks for the help on this!
Pablo, you can close this issue if you want. You may want to add this to the documentation site.
Thanks!
Mark
Comment #6
pablobm commentedThanks guys. I just uploaded a new version, so this change does not need to be done manually next time. The PHP4 code will do just fine on PHP5.
Comment #7
pablobm commented