我加入這個LoginLdap plugin到piwik,雖然這是完全在其他機器上沒有任何問題運行,在我的Debian框沒有。OpenLDAP的輸出一些奇怪的數據json_encode()不能處理
到LDAP服務器的工作方式的連接,但只要我嘗試通過LDAP用戶登錄我的錯誤:
Warning: json_encode(): Invalid UTF-8 sequence in argument in /var/www/plugins/LoginLdap/GigatecLdap.php on line 44
我做了$結果的var_dump()在第43行和鋸這OpenLDAP的似乎從AD返回一些奇怪的字符,該json_encode無法處理。
你可以看到源here.