I have a successful installation of Drupal 4.6.5. I also installed the LDAP module.
After the LDAP installation, when I login, the first attempt is always unsuccessful. I click the [Back] button and click Login a second time and it always works.
The error message I get on the first attempts is:
warning: sprintf(): Too few arguments in /home/imsgroup/public_html/web/includes/database.inc on line 154.
user error: Query was empty
query: in /home/imsgroup/public_html/web/includes/database.mysql.inc on line 66.
warning: Cannot modify header information - headers already sent by (output started at /home/imsgroup/public_html/web/includes/common.inc:384) in /home/imsgroup/public_html/web/includes/common.inc on line 192.
I then disabled LDAP and ZCallbacks, and now the login works every singe time, so it appears there is a problem with LDAP.
When I first installed the LDAP, I was only beginning to configure it to work with Active Directory, but was not able to successfully connect yet. Is there a possibility that the LDAP configuration is causing the error messages?
Thank you.
Comments
Comment #1
pablobm commentedMmm... just found and fixed a related bug. Try now, please.
Comment #2
imsgroup commentedOkay. Was I supposed to apply some patch, or reupload some file?
Re-enabling LDAP and Zcallbacks still results in the error. I re-downloaded the LDAP 4.6 archive, but it is no different than the one I installed a few days ago.
Thank you.
Comment #3
pablobm commentedAre you using PHP4?. I suspect this may be a behavior change between PHP4's and PHP5's libraries.
I think I found the problem this time. I'll release a now version later today. Stay tuned.
Comment #4
pablobm commentedNew version uploaded now. Please redownload and tell me if it works now.
Comment #5
pablobm commentedI take it this is solved
Comment #6
(not verified) commented