1

I integrated the module zfcrbac in my application, apparently there's a problem! when I execute I get the following exception:

Fatal error: Uncaught exception 'Zend \ ServiceManager \ Exception \ ServiceNotCreatedException' with message 'While Attempting to create zfcrbacguards (alias: ZfcRbac \ Guards) WAS an invalid factory registered for this instance types.' in C: \ wamp \ www \ SSO \ vendor \ ZF2 \ library \ Zend \ ServiceManager \ ServiceManager.php on line 1031

I added nothing! just put the module in the vendor directory!

AiD
  • 977
  • 3
  • 15
  • 41
  • Have you enabled the ZfcRbac module in application config by adding `ZfcRbac` key to `application.config.php`? – lku Oct 24 '14 at 11:33
  • Yes , i added ZfcRbac in the list of module in application.config.php – AiD Oct 24 '14 at 11:36
  • I found the answer , there was a namespaces problem in ini_autoloader.php , i added namespace of zfc-rbac module and it works . – AiD Oct 29 '14 at 10:13

1 Answers1

1

There was a namespaces problem in ini_autoloader.php , i added namespace of zfc-rbac module and it works

AiD
  • 977
  • 3
  • 15
  • 41