Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Received an error upon enabling LDAP Authentication module:
"Parse error: syntax error, unexpected T_VARIABLE in C:\xampp\htdocs\press\sites\all\modules\ldap\ldap_authentication\ldap_authentication.module on line 148"
Details:
Test environment:
Windows XP (Virtual PC, member of the AD domain), XAMPP (1.7.3) for Apache(2.2.14), PHP(v. 5.3.1, LDAP enabled) and mySQL(v. 5.1.41);
Drupal Version: Pressflow 6.17
LDAP Module version:6.x-1.x-dev
Steps:
- Enable Advanced Help
- Enable Chaos Tools
- Enable LDAP API
- Configure LDAP Server
- Enable LDAP Authentication
- Website crashed
Thanks
Comments
Comment #1
johnbarclay CreditAttribution: johnbarclay commentednot in stable state. Thanks for installing and articulating test case. The module is still in very unstable state.
Comment #2
Mac-Daddy CreditAttribution: Mac-Daddy commentedI had this problem. What fixed it was inserting a ; on line 145.
well, it fixed it briefly so I could see things again, until I tried saving the modules config again...
Comment #3
sfyn CreditAttribution: sfyn commentedMarked #1864316: Parse error in ldap_authentication (6.x) as a duplicate of this.