Model::findCount() isn't supposed to work, we actually added it to  
fake people out back in 0.9. Sorry about that.

;o)

On Oct 16, 2006, at 11:09 AM, SoCalCakeBaker wrote:

> <snipped>
> This leads to my problem which occurs in AppModel::beforeFind.  To
> calculate num_pages, you have to know how many records are in your
> un-bounded dataset.  So I try to do a $this->findCount() and the page
> goes blank.  No error on the screen or in a log anywhere.

Did you turn up DEBUG?

Also, and this may just be me, but how can you find out how many  
records you've found in a beforeFind() callback that happens before  
you find anything?

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

Reply via email to