OK. I am homne at at the code. There is no findbyid in the tutorial.
The failure is occurring at this controller function:
function view($id)
{
$this->Post->id = $id;
$this->set('data', $this->Post->read());
}
I checked the value of $this->Post->id It is CORRECTLY set and the
error occurs inside the method $this->Post->read();
That's part of the framework so I haven't touched it. the read
generates the "500 Internal Server Error".
The apache server log has this message:
[error] [client 127.0.0.1] Premature end of script headers:
c:/server/server/php/php.exe
Anyone with an idea?
Thankyou
John
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---