Skip to content

Commit

Permalink
fix for Fatal error: Call to undefined method Doctrine\DBAL\Connectio…
Browse files Browse the repository at this point in the history
…n::setCharset()
  • Loading branch information
jakoch committed Sep 23, 2012
1 parent 4d39a52 commit 3c3a801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Installation/Steps/Step4.php
Expand Up @@ -133,11 +133,11 @@ public function processValues()
'password' => $_POST['config']['database']['password'],
'host' => $_POST['config']['database']['host'],
'driver' => $_POST['config']['database']['driver'],
'charset' => 'UTF8',
);

$config = new \Doctrine\DBAL\Configuration();
$connection = \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config);
$connection->setCharset('UTF8');

/**
* fetch doctrine schema manager
Expand Down

0 comments on commit 3c3a801

Please sign in to comment.