When trying to enable module, I get the following error:
"Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /modules/ldap_lookup/ldap_lookup.class on line 5"
Trying to install on Drupal 5.1 running on OS X 10.4.9, PHP 4.4.6
Comments
Comment #1
allan_q commentedTry moving up to PHP5. I am running on Debian and the PHP upgrade fixed the module load. Although I'm still having issues with the NTLM auth.
Comment #2
kibblewhite commentedThat is a strange error. Either the code has been downloaded and become corrupted or it's running on an older version of PHP. I would update to PHP5 and see if the error persist? The first seven line of code of this class is:
<?php
class ldap_lookup_class {
public $connection; /** object */
public $binding; /** object */
private $name; /** string */
...
I can't see anything wrong there.
Comment #3
kibblewhite commented