-
I'm using ODBC to connect to a SQL Server instance and PDO::lastInsertId() is not supported.
For several reasons I cannot use sqlsrv or dblib. What would be the proper way to implement the different …
-
Perhaps use an ORM? Should we do this only for Storage.php? Or should we abstract out all database access?
-
Hello,
I can use array_keys($existing->as_array()); over $existing = ORM::for_table('my_table')->find_one(); to get list of columns in my_table.
I expected that I could do the same for $new = ORM::f…
-
Details: Ubuntu, MySQL
Passing a boolean type to PDO causes the query to fail silently.
That is a known PDO bug reported since 2006 and not fixed yet.
http://stackoverflow.com/questions/10242312/pdo…
-
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2005] Unknown MySQL server host '127.0.0.1:3666' (2)' in idiorm.php:255
After google, the problem seems port needs to be …
-
I have the latest version of PufferPanel and GSD.
When I try to open my servers, I get that: http://i.imgur.com/T8SgffH.png
This is what I found in logs:
[2014-12-17 14-36-11] PDOException: SQLSTATE…
-
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'content' cannot be null in /var/www/PufferPanel/vendor/j4mie/idiorm/idiorm.php:429 @ http://mctest.ae97.net/node/users/po…
-
Hello,
ORM::for_table('my_table')->find_one() method without any parametr selects some one record.
But for some reason I expected that ORM::for_table('my_table')->find_one(NULL) will return false or…
-
I´ve one error idiorm, but I don´t know if could be the date?
$insertOrder = ORM::for_table('pedido')->create();
$insertOrder->fechapedido = date('Y/m/d');
$insertOrder->estado = 1;
…
-
Here thread error
http://stackoverflow.com/questions/26944815/pdoexception-sqlstate42s22-column-not-found/26945153#26945153