blank page after enabling LDAP

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
ixuacu
Posts: 4
Joined: Wed Jan 22, 2014 12:15 pm

blank page after enabling LDAP

Post by ixuacu »

Hi there,

I´ve phpmyfaq 2.9.6 running with PHP 7.0.16 running ok.

If i enable LDAP authentication then nothing loads, it gives a blank screen and there is no error on the logs. I´ve to rename the ldap.php file to be able to load the web again.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: blank page after enabling LDAP

Post by Thorsten »

Hi,

do you have a LDAP server?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ixuacu
Posts: 4
Joined: Wed Jan 22, 2014 12:15 pm

Re: blank page after enabling LDAP

Post by ixuacu »

Hi Thorsten,

I have a 2003 Active Directory site.

This is the ldap.php configuration file:

<?php
// Main LDAP server
$PMF_LDAP['ldap_server'] = 'SERVER_IP';
$PMF_LDAP['ldap_port'] = 389;
$PMF_LDAP['ldap_user'] = 'DOMAIN\usr_phpmyfaq';
$PMF_LDAP['ldap_password'] = 'PASSWORD'
$PMF_LDAP['ldap_base'] = 'DC=DOMAIN,DC=com';

I
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: blank page after enabling LDAP

Post by Thorsten »

Hi,

your configuration looks good. Please enable the DEBUG mode in inc/Bootstrap.php and try it again. You should see error messages after this change.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ixuacu
Posts: 4
Joined: Wed Jan 22, 2014 12:15 pm

Re: blank page after enabling LDAP

Post by ixuacu »

I Thorsten!

Fixed, it was just a ; missing on the password line :P

Thanks and sorry about the hassle
Post Reply