Does anybody have problem to use Save function with Postgres?
Everytime I call $this->Model->save($this->data) I get the following
notice messages (repeated 4 times):

Notice: Undefined index: name in /var/www/htdocs/sid/cake/libs/model/
dbo/dbo_postgres.php on line 350

and then:
Warning: Cannot modify header information - headers already sent by
(output started at /var/www/htdocs/sid/cake/libs/model/dbo/
dbo_postgres.php:350) in /var/www/htdocs/sid/cake/libs/controller/
controller.php on line 447

Basically the data were saved into database.

It works well at production level. I believe in this level all notices
and warnings were suppressed, so it looks like to work perfectly.
Right now, to avoid the notices I use $this->Model->execute($sql);
where $sql is an SQL INSERT INTO or UPDATE statement.

I still use Cake v 0.2.9.4409. The same version works well with MySQL.

Any idea to resolve this, except with execute() or maybe upgrade Cake?

Thanks...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to