Yep that was the problem, forgot to create Acl for the new controller. On Jun 6, 1:45 pm, Alida <[email protected]> wrote: > Added that to the controller and it doesn't help. > > I just thought of something. The new controller and actions aren't yet > in the aco/acl database. Can that cause the problem? > > On Jun 6, 5:52 am, David Kullmann <[email protected]> wrote: > > > > > Sounds like AuthComponent is redirecting you. If you don't require a > > user to be logged in for the controller you added then add > > $this->Auth->allow() to beforeFilter() in the new controller (check > > > book.cakephp.org for details) > > > On Jun 5, 8:05 pm, Alida <[email protected]> wrote: > > > > Hi, > > > > Im new to cakephp and a baked everything and added auth.Everything > > > worked fine. > > > > Now i'm manually adding a new controller/model/view for a page and > > > everytime I go to the url I get redirected to the home page. This is > > > not the case with the views I baked. Anyone know wat i'm doing wrong? > > > If the controller isn't there I get the missing controller error. When > > > it is there I get redirected. (same for the model) > > > > The model doen't use a database table but that shouldn't be a problem > > > right?
-- 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 with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
