Re: $this->Auth->Allow('*') and scaffold problem

2011-12-21 Thread Sam Sherlock
Acl and scaffold don't play nice. Comment that comp for now add it later - S On 21 Dec 2011 12:47, "gloop" wrote: > Hello everybody, > > i cant believe it. I solved my last problem with Scaffold and now ive > a new one. > > I add in my AppController an Auth and allow it to all my functions: > c

$this->Auth->Allow('*') and scaffold problem

2011-12-21 Thread gloop
Hello everybody, i cant believe it. I solved my last problem with Scaffold and now ive a new one. I add in my AppController an Auth and allow it to all my functions: class AppController extends Controller { var $components = array('Acl', 'Auth' => array(

Re: Cakephp 2.0.4 Stable - Scaffold Problem

2011-12-19 Thread gloop
Now i delete the file and add it new with the same code and now i get the correct redirect to the user login form ... On 19 Dez., 16:44, gloop wrote: > Hello, > > i try the last hour with a new generated project. And it works ... so > now i found the Problem: > > in my AppController i wrote this:

Re: Cakephp 2.0.4 Stable - Scaffold Problem

2011-12-19 Thread gloop
Hello, i try the last hour with a new generated project. And it works ... so now i found the Problem: in my AppController i wrote this: array( 'authError' => 'Did you really think you are allowed to see that?'

Re: Cakephp 2.0.4 Stable - Scaffold Problem

2011-12-19 Thread AD7six
On Dec 19, 11:46 am, gloop wrote: > Same issue with Cakephp 2.0.3. Does anything in your application work? How are you checking if it works or not? AD -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cak

Re: Cakephp 2.0.4 Stable - Scaffold Problem

2011-12-19 Thread Thiago Belem
Your project is on github? -- ***Thiago Belem* Desenvolvedor Rio de Janeiro - RJ - Brasil +55 (21) 8865.9250 thiagobelem.net cont...@thiagobelem.net *Skype / gTalk **»* thiago.belem.web *LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt* Assando Sites*, curso de CakePHP *»* assando-sites.com.br

Re: Cakephp 2.0.4 Stable - Scaffold Problem

2011-12-19 Thread gloop
Same issue with Cakephp 2.0.3. On 19 Dez., 08:35, gloop wrote: > Sorry i tested something, but the problem is still excisting with > public $scraffold; > > Blank page. > > Kind Regards > > On 19 Dez., 01:45, Thiago Belem wrote: > > > > > > > > > Based on > > documentation

Re: Cakephp 2.0.4 Stable - Scaffold Problem

2011-12-18 Thread gloop
Sorry i tested something, but the problem is still excisting with public $scraffold; Blank page. Kind Regards On 19 Dez., 01:45, Thiago Belem wrote: > Based on > documentation, > you use just: > > public $scaffold; > > If you give so

Re: Cakephp 2.0.4 Stable - Scaffold Problem

2011-12-18 Thread Thiago Belem
Based on documentation, you use just: public $scaffold; If you give some value to it, cake will use this value as prefix .

Cakephp 2.0.4 Stable - Scaffold Problem

2011-12-18 Thread gloop
Hello, i try to use Scaffold, but i get a blank page: try to open: http://localhost/domain/comments Something wrong? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others

Scaffold problem

2009-04-24 Thread Mike
Hi everybody, I am just getting started with Cake and ran into something that is stumping me. If I build a controller this way everything works fine: --- Would you like to build your controller interactively? Warning: Choosing no will

Re: model called Model, scaffold problem.

2007-10-12 Thread nate
Given that the name of the class which AppModel extends is itself called Model (inside the CakePHP core), this question should answer itself. On Oct 12, 8:51 am, Austen <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a problem with using scaffold on a model called 'Model'. I > can't seem to find

model called Model, scaffold problem.

2007-10-12 Thread Austen
Hi all, I have a problem with using scaffold on a model called 'Model'. I can't seem to find an answer in the groups... All the other models in my app work correctly under scaffolding, except the 'Model' model which does not join with the 'HardwareType' or 'HardDrive' models like it is supposed t

Re: Scaffold problem

2006-05-12 Thread Samuel DeVore
Make sure the $hasMany and $belongsTo are capitalized correctly var $hasMany = "Product"; On 5/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have downloaded last nightly build cake_nightly_20.03.2006. > > My app has the model (this is different files) > > class Group extends AppMode

Scaffold problem

2006-05-12 Thread [EMAIL PROTECTED]
I have downloaded last nightly build cake_nightly_20.03.2006. My app has the model (this is different files) class Group extends AppModel { var $hasMany = "product"; } ... class Product extends AppModel { var $hasMany = "result"; var $belongsTo = "group"; } ... class Res