I upgraded my install of ldap_integration from alpha to 6.0x-1.0-beta1 and now receive the following on every page of my drupal site:
* warning: include_once(sites/all/modules/ldap_integration/ldap_integration/libdebug.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/html/drupal/sites/all/modules/ldapdirectory/ldapdirectory.module on line 14.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/ldap_integration/ldap_integration/libdebug.php' for inclusion (include_path='.:') in /var/www/html/drupal/sites/all/modules/ldapdirectory/ldapdirectory.module on line 14.
* warning: include_once(sites/all/modules/ldap_integration/ldap_integration/LDAPInterface.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/html/drupal/sites/all/modules/ldapdirectory/ldapdirectory.module on line 15.
* warning: include_once() [function.include]: Failed opening 'sites/all/modules/ldap_integration/ldap_integration/LDAPInterface.php' for inclusion (include_path='.:') in /var/www/html/drupal/sites/all/modules/ldapdirectory/ldapdirectory.module on line 15.
Comments
Comment #1
jlea9378 commentedA possible work around might be to just create a symbolic link in sites/all/modules/ldap_integration/ldap_integration/LDAPInterface.php to the new location of LDAPInterface (it moved in the new version to "includes"). They also changed the extension from php to inc. Also, there is no libdebug.php so one could copy it from the old version into the location that ldapdirectory is looking for it in. I've done this and the errors went away. I cannot verify that it has completely fixed the problems though since my ldap isn't working presently...
Comment #2
krisis commentedI guess the update.php was not run after 'updating' the module.
Comment #3
cballew commentedthe project page says Update.php required: No...
It's still broke after the ldap_integration latest release...
Comment #4
halkeye commentedI changed the code at the top to:
Comment #5
verta commentedI am using LDAP integration 6.x-1.0-beta2.
The fix in #4 made this error stop for me as well. I commented out the existing lines 14 and 15 and added the non-comment line in #4 actually. So I am using:
//include_once(drupal_get_path('module', 'ldapauth') .'/ldap_integration/libdebug.php');
//include_once(drupal_get_path('module', 'ldapauth') .'/ldap_integration/LDAPInterface.php');
include_once(drupal_get_path('module', 'ldapauth') .'/includes/LDAPInterface.inc');
Ready for RTBC?
Comment #6
jlea9378 commentedClosing this since I think it's resolved now.