Hi everyone,
I use postgres as the database. when saving data and having debug=2
cake threw these errors
Warning (2): pg_query() [function.pg-query]: Query failed: FEHLER:
NULL-Wert in Spalte »title« verletzt Not-Null-Constraint [CORE\cake
\libs\model\datasources\dbo\dbo_postgres.php, line 167]
Warning (512): SQL Error: FEHLER: NULL-Wert in Spalte »title«
verletzt Not-Null-Constraint [CORE\cake\libs\model\datasources
\dbo_source.php, line 673]
Query: INSERT INTO "books" ("fk_user_id", "hash", "created") VALUES
('761966711', '1', 'bc1c6d1df862ef59aaa1019b325eae49ad98910',
'2012-02-11 17:52:29')
{"successful":false}
NOW I thought setting debug=0 makes both errors not showing, INSTEAD
just the "Warning (512): SQL Error: FEHLER:" is not debugged.
the "Warning (2): pg_query()" is still debugged. since this is a
postgres thing i guess the cakes debug parameter wont apply here? or
am i missing sth?
what do i need to do?
thx :)
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php