OK. I have debug=3 and no debug messages.  I used just echo method for
debug and identified that in the file

model_php4.php

and looked at

function read($fields = null, $id = null)

The line that causes the problem is here:

return $this->find($field . ' = ' . $db->value($id,
$this->getColumnType($this->primaryKey)), $fields);

Print out of all the parameters shows
$field = `Post`.`id`
$db->value($id, $this->getColumnType($this->primaryKey)) = 2
$fields = null

The error is occurring  during the call to $this->find.   I put an echo
and exit as first lines of the find method, and it never gets there.
Goes direct to the error 500.

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to