Re: SWF Uploader ... or any Good One...?

2011-02-12 Thread parallel32
Chris, I had a similar problem with my swfuploader component which was losing the session on IE only. Turns out it was a simple change in the cakephp core configuration that fixed it. Change Configure::write('Session.checkAgent', true); in core.php to false. Hope this helps, Mike On Feb 8,

Re: Any chance to get the $_SERVER variable or Configure::write Settings into a shell?

2011-02-06 Thread parallel32
DD, I just had this same issue and resolved it (for me). There's a couple ways to solve this. On my servers (centos 5) the env variables retrieved from _SERVER are available from the cli but they are a subset of the ones available from http. And cronjobs are even fewer than cli env variables as

Re: Acl and bindNode

2010-11-27 Thread parallel32
A very minor change to the core, but you're right nutesco it would break upgrades. So far the fix is holding steady on my deployments so I'm going to submit it as a bug and perhaps they can permanently fix it for the next release. If anyone has a userland fix that would be even better in case it

Re: migrating from 1.2.6 to 1.3.6 and acl broke

2010-11-27 Thread parallel32
In case someone stumbles upon this I found a fix for it and posted it in a thread that seemed to have the same problem. http://groups.google.com/group/cake-php/browse_thread/thread/1a758f5511091d9d/6aab14de73886424#6aab14de73886424 On Nov 20, 8:31 pm, parallel32 paralle...@gmail.com wrote: Hi

Re: Optimize ACL database

2010-11-27 Thread parallel32
...@classoutfit.com (t) +44 (0) 208 123 3822 (m) +44 (0) 7973 481949 Skype: jeremy_burnshttp://www.classoutfit.com On 25 Nov 2010, at 12:16, parallel32 wrote: Thanks for the reply but I don't see a link to the article? On Nov 24, 5:51 pm, Jeremy Burns | Class Outfit jeremybu

Re: Optimize ACL database

2010-11-25 Thread parallel32
...@classoutfit.comhttp://www.classoutfit.com On 24 Nov 2010, at 14:34, parallel32 wrote: Does anyone have any recommendations on how to best optimize the aros, acos and aros_acos tables? I've created a few indexes but would like to get some other ideas also! Thanks, Mike Check out the new CakePHP

Optimize ACL database

2010-11-24 Thread parallel32
Does anyone have any recommendations on how to best optimize the aros, acos and aros_acos tables? I've created a few indexes but would like to get some other ideas also! Thanks, Mike Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related

Re: Acl and bindNode

2010-11-21 Thread parallel32
I believe I've found the problem. I've also figured out a work around. I'm running cake 1.3.6 If you include bindNode in the user model: function bindNode($user) { return array('Group' = array('id' = $user['User'] ['group_id'])); } a certain stanza of code is executed in

migrating from 1.2.6 to 1.3.6 and acl broke

2010-11-20 Thread parallel32
Hi, I have acl working perfectly in 1.2.6. I'm trying to update my code base to 1.3.6 and I've found the following problem, which I cannot solve. I have aros, acos, and aros_acos tables set up perfectly to work with users and groups for auth and acl. In the aros_acos table I only have group

Re: Paginate Multiple Models in the same view

2010-11-15 Thread parallel32
On a certain project I ran into the same problem with Cake and couldn't find an elegant solution in the time I had..so what I did was paginate the different models on the same page using ajax. Probably not the answer you are looking for but it keeps things real simple! On Nov 13, 10:46 pm, Arak

Re: 2 database, 1 models and controllers, many views

2010-10-30 Thread parallel32
Assuming both sites are on the same server you could bootstrap your controller and model paths so that you only need to maintain one version of your logic: for cake 1.2.x by using $controllerPaths and $modelPaths settings for cake 1.3.x by using App::build(array( 'models' =