Re: "redirect" and "Cannot modify header information"

2008-04-18 Thread [EMAIL PROTECTED]
Hi, Thank you for your help : I found the error. It was a presence of "space" was after the "?>" That sends a char and create an error On Apr 15, 7:08 pm, "Gonzalo Servat" <[EMAIL PROTECTED]> wrote: > On Tue, Apr 15, 2008 at 12:59 PM, [EMAIL PROTECTED] < > > > > [EMAIL PROTECTED]> wrote:

Re: "redirect" and "Cannot modify header information"

2008-04-15 Thread Gonzalo Servat
On Tue, Apr 15, 2008 at 12:59 PM, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > [snip] > > 2) The execution of this code on Unix server with "PHP version 5.2.5, > System HP-UX frl4 B.11.11 U 9000/800 " generate the following error: > > Warning (2): Cannot modify header information - heade

"redirect" and "Cannot modify header information"

2008-04-15 Thread [EMAIL PROTECTED]
Hello, I try to make a redirection towards an address in my controller: Code of the controller: --- function add() { $modelClass = $this->modelClass; if (!empty($this->data)) { $this->$modelClass->create(); $this->data['Plan']['description'] =