just enabled the ldapauth module in 5.2 and am getting the following errors on every Drupal page:
* warning: filename: ldap_integration/ldapauth.conf.php, exec_fname: /opt/coolstack/apache2/htdocs/sites/all/modules/ldap/ldap_integration/ldapauth.module, filepath: /opt/coolstack/apache2/htdocs/sites/all/modules/ldap/ldap_integration/ldap_integration/ldapauth.conf.php in /opt/coolstack/apache2/htdocs/sites/all/modules/ldap/ldap_integration/ldapauth.module on line 4.
* warning: filename: ldap_integration/libdebug.php, exec_fname: /opt/coolstack/apache2/htdocs/sites/all/modules/ldap/ldap_integration/ldapauth.module, filepath: /opt/coolstack/apache2/htdocs/sites/all/modules/ldap/ldap_integration/ldap_integration/libdebug.php in /opt/coolstack/apache2/htdocs/sites/all/modules/ldap/ldap_integration/ldapauth.module on line 5.
* warning: filename: ldap_integration/LDAPInterface.php, exec_fname: /opt/coolstack/apache2/htdocs/sites/all/modules/ldap/ldap_integration/ldapauth.module, filepath: /opt/coolstack/apache2/htdocs/sites/all/modules/ldap/ldap_integration/ldap_integration/LDAPInterface.php in /opt/coolstack/apache2/htdocs/sites/all/modules/ldap/ldap_integration/ldapauth.module on line 6.
I assumed this was a permissions issue, but doing a chmod 777 on the relevant files does not fix the problem - any suggestions?
Comments
Comment #1
kreaper commentedWe prefer that you do NOT resort to chmod 777 business... very insecure - but of course you knew that :)
the module only needs read permissions of its files. Check to see if the webserver process has read permission for all the files in the subdirectory as well...
remember that there is a ldap_integration/ dir underneath the module directory (called ldap_integration/ as well). There are .conf files and critical library functions in there.
Do you have APC installed with PHP ? That is known to throw these errors. Do a google search for the error "exec_fname".
kreaper
Comment #2
thollback commenteddisabling APC solved the problem...thanks!
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.