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 » Thu Mar 02, 2017 5:04 pm

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: 14371
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: blank page after enabling LDAP

Post by Thorsten » Fri Mar 03, 2017 9:09 pm

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 » Mon Mar 06, 2017 8:49 am

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: 14371
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: blank page after enabling LDAP

Post by Thorsten » Mon Mar 06, 2017 8:52 am

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 » Mon Mar 06, 2017 11:17 am

I Thorsten!

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

Thanks and sorry about the hassle

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest