Closed Loown closed 3 years ago
Hi, I have a Query writen like this
ORM::forTable(static::TABLE_NAME) ->where('uv.validated', 1) ->join('UserValidation', ['uv.ENOS', '=', static::TABLE_NAME.'.ENOS'], 'uv') ->findArray();
I get a 500 error without the capability of debugging it.
Works fine with findOne();
Think it's a MySQL configuration issue, but I'd appreciate getting more informations about it.
Here si my configuration :
[ 'connection_string' => 'mysql:host=' . $db['host'] . ':' . $db['port'] . '; dbname=' . $db['database'], 'username' => $db['user'], 'password' => $db['password'], 'driver_options' => [ PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8' ], 'return_result_sets' => 'true' ]
Thanks in advance
Hi, I have a Query writen like this
ORM::forTable(static::TABLE_NAME) ->where('uv.validated', 1) ->join('UserValidation', ['uv.ENOS', '=', static::TABLE_NAME.'.ENOS'], 'uv') ->findArray();
I get a 500 error without the capability of debugging it.
Works fine with findOne();
Think it's a MySQL configuration issue, but I'd appreciate getting more informations about it.
Here si my configuration :
[ 'connection_string' => 'mysql:host=' . $db['host'] . ':' . $db['port'] . '; dbname=' . $db['database'], 'username' => $db['user'], 'password' => $db['password'], 'driver_options' => [ PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8' ], 'return_result_sets' => 'true' ]
Thanks in advance