symfony 2 版本的 LdapBundle 错误 [英] LdapBundle error with symfony 2 version

查看:27
本文介绍了symfony 2 版本的 LdapBundle 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用这个 LdapBundle.我已经安装了它,但我发现了一个错误:

I'm using this LdapBundle. I have already installed it, but I catch an error:

致命错误:调用未定义的方法 Symfony\Bundle\SecurityBundle\DependencyInjection\SecurityExtension::addSecurityListenerFactory() 在 C:\wamp\www\trainingboard\src\IMAG\LdapBundle\IMAGLdapBundle.php第 41 行

Fatal error: Call to undefined method Symfony\Bundle\SecurityBundle\DependencyInjection\SecurityExtension::addSecurityListenerFactory() in C:\wamp\www\trainingboard\src\IMAG\LdapBundle\IMAGLdapBundle.php on line 41

我知道我必须将我的 Symfony 版本更改为 2.1.我试图在供应商中更改文件夹 Symfony,但之后我又发现了另一个错误.所以,我不能这么简单地改变 Symfony.你能给我建议该怎么做吗?

I know that I have to change my Symfony version to 2.1. I tried to change folder Symfony in vendors, but after that I caught another error. So, I can't so simple change Symfony. Can you give me advice what to do?

附言现在我使用的是 2.0.9 版本的 Symfony

P.S. Now I'm using the 2.0.9 version of Symfony

推荐答案

IMAGLdapBundle 仅适用于 Symfony 2.0.x

IMAGLdapBundle only works with Symfony 2.0.x

相反,您可以尝试 FR3DLdapBundle 1.6.x

Instead you can try FR3DLdapBundle 1.6.x

这篇关于symfony 2 版本的 LdapBundle 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆