Hi all,
I´m using phpMyFAQ 2.0.0 on Ubuntu Feisty.
Everything is running smooth until I enable LDAP support (Windows ADS).
After enabling it I get a blank screen when I open the phpMyFAQ webside.
Any idea what´s wrong or is there a debug option?
Blank Screen after LDAP enabled
Moderator: Thorsten
Hi,
this is sadly a known bug. Please try the CVS stable snapshot, I fixed some LDAP issues yesterday.
bye
Thorsten
this is sadly a known bug. Please try the CVS stable snapshot, I fixed some LDAP issues yesterday.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
you could enable the debug output in inc/Init.php and post the results here.
bye
Thorsten
you could enable the debug output in inc/Init.php and post the results here.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
this is the debug log.
Warning: require_once(/var/www/faq/incdataldap.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/faq/inc/Init.php on line 102
Fatal error: require_once() [function.require]: Failed opening required '/var/www/faq/incdataldap.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/faq/inc/Init.php on line 102
this is the debug log.
Warning: require_once(/var/www/faq/incdataldap.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/faq/inc/Init.php on line 102
Fatal error: require_once() [function.require]: Failed opening required '/var/www/faq/incdataldap.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/faq/inc/Init.php on line 102
Hi,
can you please post line 102 of the file inc/Init.php? Thanks.
bye
Thorsten
can you please post line 102 of the file inc/Init.php? Thanks.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
sorry, the daily snapshot seems to be broken... here's the corrected code for you in inc/Init.php line 98:
bye
Thorsten
sorry, the daily snapshot seems to be broken... here's the corrected code for you in inc/Init.php line 98:
Code: Select all
//
// Connect to LDAP server, when LDAP support is enabled
//
if ($faqconfig->get('main.ldapSupport') && file_exists(PMF_INCLUDE_DIR.'/inc/dataldap.php')) {
require_once(PMF_INCLUDE_DIR.'/dataldap.php');
require_once(PMF_INCLUDE_DIR.'/Ldap.php');
$ldap = new PMF_Ldap($PMF_LDAP['ldap_server'], $PMF_LDAP['ldap_port'], $PMF_LDAP['ldap_base'], $PMF_LDAP['ldap_user'], $PMF_LDAP['ldap_password']);
} else {
$ldap = null;
}
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist