Closed bobolone7 closed 8 years ago
I am receiving the same error. Any help would be greatly appreciated
@midcoreadmin in edgardmessias\db\ibm\db2\Schema add const TYPE_CHAR = 30;
The problem is Yii2 version, 2.0.8 is not released. I make changes to fixe this.
Fixed in 1.2.1
Apache/2.4.6 (CentOS) PHP/7.0.5 Yii Framework/2.0.7
$ris = \common\models\Amministratore::find()->one(); var_dump($ris); I get that error I'm connecting via ODBC to an iSeries (I'm already using the same configuration on another app written without yii2) If I use $connection = Yii::$app->getDb(); $command = $connection->createCommand(" SELECT * FROM GV6_AAA.NNNN"); $result = $command->queryAll(); It works fine