11/06/2016

PHPBB3 :: Install Error Fatal error: Cannot redeclare ldap_escap

Ubuntu 16.04
PHPBB3 :: Install Fatal error: Cannot redeclare ldap_escape() in /var/www/phpBB3/includes/auth/auth_ldap.php on line 300

Edit File auth_ldap.php Line 300 Replace This.

/**
* Escapes an LDAP AttributeValue
*/
if (!function_exists('ldap_escape'))
{
function ldap_escape($string)
{
return str_replace(array('*', '\\', '(', ')'), array('\\*', '\\\\', '\\(', '\\)'), $string);
}
}

https://www.phpbb.com/community/viewtopic.php?f=46&t=2263381

No comments:

Post a Comment