On Wed, Dec 8, 2010 at 10:51 PM, [email protected] <[email protected]> wrote:
> Hi
> I migrate my app from 1.2.4 to 1.3.6. I have two problems.
> 1. function find('all' , ..) return empty array. I don't change
> conditions from 1.2.
>
> This is strange because I paste and execute sql code from debug and
> return many rows but cake return 0 and any errors. I don't know what
> is going on? I using Postgersql.

Are you certain the find is returning an empty array? Try something like:

$data = $this->ModelName->find(...);
die(debug($data));

> 2 Cake 1.3 must have views in /app/views/plugins/... and I give this
> file there but in a few controllers show error missing view and return
> old path /app/plugins/name/view

Not sure what you mean by this. If the view is for a plugin, it should
be app/plugins/plugin_name/views. Where di you see information that it
should be app/views/plugins?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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