Skip to content

Issue with doctrine:fixtures:load #418

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
javiereguiluz opened this issue Jan 2, 2017 · 1 comment
Closed

Issue with doctrine:fixtures:load #418

javiereguiluz opened this issue Jan 2, 2017 · 1 comment
Labels

Comments

@javiereguiluz
Copy link
Member

As reported in symfony/symfony#21120 if you don't have SQLite enabled in your PHP, you can't load fixtures and sadly, the Doctrine error message is not very helpful in this case. We should either improve this error message or add some check on our own to detect if SQLite is not enabled.

javiereguiluz added a commit that referenced this issue Jan 8, 2017
…es in the console (javiereguiluz)

This PR was squashed before being merged into the master branch (closes #422).

Discussion
----------

Added an event subscriber to display better error messages in the console

I propose this PR because:

* It could solve problems like #418
* It allows us to introduce an event subscriber (so far we only have an event listener)

If you agree, I'll polish this and add some helpful comments:

![console_exception](https://cloud.githubusercontent.com/assets/73419/21689124/aa8de6a6-d36f-11e6-8f85-222c2bcaeaca.png)

Commits
-------

ee0536b Added an event subscriber to display better error messages in the console
@javiereguiluz
Copy link
Member Author

Fixed by #422.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant