Re: Problem setting up cakePHP on Fedora 18

2013-06-28 Thread Edwin Calderon
Thanks Adrian Tello and AD7six for your answers. The problem was in the SELinux configuration. I had to disable it in /etc/selinux/config (SELINUX=disabled), reboot the machine and then it worked! I had already tried the cache/persistent option, but that did not work. Thanks again! much apreci

Re: CakePHP Events

2013-06-28 Thread John Sposato
I've read that, and it's not 100% great. I was hoping there might be a tutorial to walk through a basic example of best practices for implementing events. I'm very familiar with the book site, I reference it often. Thanks! On Wednesday, June 26, 2013 12:32:41 PM UTC-4, John Sposato wrote: > >

RFC: New http://ask.cakephp.org

2013-06-28 Thread ravage1984
[Cross posting this on CakePHP Facebook Group https://www.facebook.com/groups/cake.community/] Hello everybody I came across an idea which I wanted to share with and hope to spark some discussion. Probably - or better said for sure - I'm not even the first one having it. First some back story:

Re: Model::AfterFind $results format, associations

2013-06-28 Thread AD7six
Damn it a typo: The "$primary = false" query (an intermediary hasMany query result) looks like this: array( (int) 0 => array( 'HasManyAssoc' => array( 'id' => '1' ) ), ... ) (The same as all other query result

Re: Model::AfterFind $results format, associations

2013-06-28 Thread AD7six
On Thursday, 27 June 2013 22:25:02 UTC+2, Vanja Dizdarević wrote: > > As "solved" in the thread I linked to in the original post: > public function afterFind($results, $primary = false) { > if (method_exists($this, 'doAfterFind')) { > if ($p