Re: Help! CakePHP runs great in localhost but doesn't even shows up in remote Server ...

2011-05-04 Thread Roger
/** * To configure CakePHP *not* to use mod_rewrite and to * use CakePHP pretty URLs, remove these .htaccess * files: * * /.htaccess * /app/.htaccess * /app/webroot/.htaccess * * And uncomment the App.baseUrl below: */ Configure::write('App.baseUrl', env('SCRIPT_NAME')); And use:

Validate - Version 1.3.7

2011-02-19 Thread Roger Pitigliani
'message' => 'Campo email eh requerido' ) ); } ## usuarios_controller.php ## class UsuariosController extends AppController{ var $name = "Usuarios"; var $scaffold; } What's wrong? It's adding with empty email.. :( Thanks -

Re: Undefined property: View::$Session

2010-07-22 Thread Roger
On Controller and Component use: var $components = array ('Session'); $this->Session->check(...); On View and Element, use: in Controller: var $helpers = array ('session'); in View: $session->check(...); Check out the new CakePHP Questions site http://cakeqs.org and help others with their Cak

Evolution of mini-controllers - thoughts??

2010-07-07 Thread Roger Kaplan
I've been struggling with the well-trodden issue of wanting stand- alone elements to use requestAction() to isolate their data needs from their hosting controllers, and the good vs evil of that approach. I'm less concerned with the performance aspects than the architectural aspects. The Cake manu

Re: Best way to accomplish acl for database records owned by a user

2009-09-25 Thread rOger
Thanks again for additional pointers. I got many interesting information how to create a row level based access. We are going to make some tests to see which is the best solution in our case. rOger On Sep 25, 10:23 pm, brian wrote: > On Fri, Sep 25, 2009 at 2:25 AM, rOger wr

Re: Best way to accomplish acl for database records owned by a user

2009-09-24 Thread rOger
CL concept... It's always the same problem with every framework; simple tasks are easy; real world scenarios are big challenges. It would be interesting to know how the developers of cakePHP/ACL-system would accomplish this task... regards, rOger On 24 Sep., 16:09, Rick wrote: > I know that g

Best way to accomplish acl for database records owned by a user

2009-09-23 Thread rOger
ils (means should be editable) but other users should have no access. That means that the ACL system has to decide according to a field value of a record if the user has access to or not. I hope it is clear what I need and hope that someone can spend some light on this issue. Than

Greetings to everyone

2008-08-23 Thread Roger
Hi Masters, Please may i know where i could learn the basics building a website in Cake i have several tutorials but not much enough i am trying to make a small website which have Admin panel and some pages user side is cake have facility to make Admin control bundled with it or we need to make

Re: Problem with database connections

2007-06-11 Thread Roger Blum
If you use a different username/ > password for each database you'll have no problems. > > > > > Thanks, Grant. I have been searching but didn't find a matching post. I will let the database guys know I need a separate user :-) Roger --~--~-~--~~---

Problem with database connections

2007-06-08 Thread Roger Blum
. The Cake debug output shows: 1142: SELECT command denied to user 'a'@'ip-address' for table 'name' Anybody an idea what I'm missing or how to work around this? Thanks in advance for your help! Roger --~--~-~--~~~---~--~~ Yo

Problem updating from 1.1.13.4450 to 1.1.14.4797

2007-05-10 Thread Roger
Hi all, I have been trying to update from version 1.1.13.4450 to 1.1.14.4797 and ran into troubles. Looks like my application specific inflector.php is not included because with the newer version a model with a uninflected name can not be found. Any ideas? Thanks, Roger

CakePHP Test Suite

2007-03-08 Thread Roger
In the /app/tests/app/ cases folder or in one of the subfolders? Are there any samples how to write test cases / test groups for the testing framework? The only thing I found was the dispatcher.test.php. Thanks in advance for your help, Roger --~--~-~--~~~---~--~--