Forums / General / Error: Call to undefined function: ldap_connect(). Help!!

Error: Call to undefined function: ldap_connect(). Help!!

Author Message

Natalia Lillo

Friday 21 October 2005 9:04:18 am

Hi...

After I set to LDAP, appear an error like this:

Fatal error: Call to undefined function: ldap_connect() in E:\web\ezpublish-3.6.0\kernel\classes\datatypes\ezuser\ezldapuser.php on line 221
Fatal error: eZ publish did not finish its request

Why???.. what it's the wrong thing??
Thanks

Natalia

Marko Žmak

Friday 21 October 2005 11:17:26 am

Probably your PHP isn't set to use LDAP. That's what usually a "Call to undefined function" means. You should ask your system administrator to enable LDAP in PHP, or if you are system administrator, the enable it by loading the apropriate extension in php.ini.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Natalia Lillo

Monday 24 October 2005 5:32:24 am

Thanks Marko..
that was the problem.. my PHP isn't set to use LDAP. Now I can fix it and is working.

Cheers.

Natalia.

Łukasz Serwatka

Monday 24 October 2005 5:54:59 am

Natalia, just for future, topic of your post isn't very descriptive and doesn't help anyone who reads the title.

Please write topics which are adequates to your problem, this will help topic readers and users who search ez.no forum ;)

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Natalia Lillo

Monday 24 October 2005 7:01:54 am

I'm sorry... I understand...