Dumps Posted June 1, 2012 Share Posted June 1, 2012 I'm experiencing issues with the console commands in Doctrine 2. During first set up of my project I could run the console commands to update the db from my annotated models without a problem e.g. doctrine orm:schema-tool:update --force Since then I've been diligently working away on the project and now need to run this again. However, now when the above runs nothing happens. No error message, no report on success - the command just completes silently. I'm presuming that I've done something that's broken this but I've no way of knowing without some kind of error report so I'm stumped. How can I work out what the problem is???? Quote Link to comment https://forums.phpfreaks.com/topic/263475-doctrine-2-console-commands-have-no-effect/ Share on other sites More sharing options...
Dumps Posted June 6, 2012 Author Share Posted June 6, 2012 Answering my own question... This seems to break after I added some further classes to the models directory. In hindsight these should have been elsewhere, and, now they've been moved, the console command works again. Some kind of message would be nice though, rather than silent death. Quote Link to comment https://forums.phpfreaks.com/topic/263475-doctrine-2-console-commands-have-no-effect/#findComment-1351591 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.