coolcsn / CsnUser

Authentication module using Doctrine
MIT License
33 stars 36 forks source link

Error by generate the database schema #51

Open ycyxyd opened 7 years ago

ycyxyd commented 7 years ago

Hello i have a problem by generate the database schema with doctrine-module orm:schema-tool:create in windows 7. Errorlog looks like this:

D:\xamppphp56\htdocs\chefentwickler\zend\vendor\bin>doctrine-module orm:schema-tool:creat PHP Fatal error: Uncaught exception 'Zend\ServiceManager\Exception\ServiceNotFoundException' with message 'Unable to resolve service "doctrine.cli" to a factory; are you certain you provided it during configur Stack trace:

0 D:\xamppphp56\htdocs\chefentwickler\zend\vendor\zendframework\zend-servicemanager\src\ServiceManager.php(749): Zend\ServiceManager\ServiceManager->getFactory('doctrine.cli')

1 D:\xamppphp56\htdocs\chefentwickler\zend\vendor\zendframework\zend-servicemanager\src\ServiceManager.php(198): Zend\ServiceManager\ServiceManager->doCreate('doctrine.cli')

2 D:\xamppphp56\htdocs\chefentwickler\zend\vendor\doctrine\doctrine-module\bin\doctrine-module.php(61): Zend\ServiceManager\ServiceManager->get('doctrine.cli')

3 D:\xamppphp56\htdocs\chefentwickler\zend\vendor\doctrine\doctrine-module\bin\doctrine-module(4): include('D:\xamppphp56\h...')

4 {main}

thrown in D:\xamppphp56\htdocs\chefentwickler\zend\vendor\zendframework\zend-servicemanager\src\ServiceManager.php on line 673

Fatal error: Uncaught exception 'Zend\ServiceManager\Exception\ServiceNotFoundException' with message 'Unable to resolve service "doctrine.cli" to a factory; are you certain you provided it during configuration Stack trace:

0 D:\xamppphp56\htdocs\chefentwickler\zend\vendor\zendframework\zend-servicemanager\src\ServiceManager.php(749): Zend\ServiceManager\ServiceManager->getFactory('doctrine.cli')

1 D:\xamppphp56\htdocs\chefentwickler\zend\vendor\zendframework\zend-servicemanager\src\ServiceManager.php(198): Zend\ServiceManager\ServiceManager->doCreate('doctrine.cli')

2 D:\xamppphp56\htdocs\chefentwickler\zend\vendor\doctrine\doctrine-module\bin\doctrine-module.php(61): Zend\ServiceManager\ServiceManager->get('doctrine.cli')

3 D:\xamppphp56\htdocs\chefentwickler\zend\vendor\doctrine\doctrine-module\bin\doctrine-module(4): include('D:\xamppphp56\h...')

4 {main}

thrown in D:\xamppphp56\htdocs\chefentwickler\zend\vendor\zendframework\zend-servicemanager\src\ServiceManager.php on line 673

How can i fix it? can anyone help me!!

thanks