Skip to content
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

Error when using factories (doctrine/dbal) #49

Open
rawaludin opened this issue Dec 28, 2013 · 1 comment
Open

Error when using factories (doctrine/dbal) #49

rawaludin opened this issue Dec 28, 2013 · 1 comment

Comments

@rawaludin
Copy link

When I'm using factory to fill model attribute, i get this error

....PHP Fatal error:  Class 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found in /Users/rahmatawaludin/Sites/stc-idms/vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php on line 59

Fatal error: Class 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found in /Users/rahmatawaludin/Sites/stc-idms/vendor/laravel/framework/src/Illuminate/Database/MySqlConnection.php on line 59

Is it because laravel 4.1 don't include doctrine?

@GrahamCampbell
Copy link

Yes. Just add "doctrine/dbal": "2.4.*" to your composer.json, and run composer update.

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

No branches or pull requests

2 participants