I did some tinkering around in the auth component. Notice (8): Undefined index: action [CORE/cake/libs/controller/components/ auth.php, line 439] was pointing at line 439 ( if (!isset($this- >actionMap[$this->params['action']])) { ) because the $this->params variable is empty.
So I added $this->params = $controller->params; to the startup method and it fixed it, somewhat. Started getting these errors: Auth::startup() - Attempted access of un-mapped action "admin_index" in controller "admin" so I just mapped them out. I thought that was supposed to be automatic for the admin stuff? I also noticed the same type of Undefined errors in the Email component where $this->Controller isn't staying set after the initialization method (only in 1.2 RC1), so there must be something going on deeper somewhere... all beyond me. -Corie On Jun 12, 3:03 pm, "Corie Slate" <[EMAIL PROTECTED]> wrote: > I did delete all the cached files. That's become a habit since it does so > often cause problems. > > My guess for aros_acos was so that it came after acos and aros in the tables > list. :p > > -Corie > > > > On Thu, Jun 12, 2008 at 2:58 PM, aranworld <[EMAIL PROTECTED]> wrote: > > > Have you deleted all the files in your app/cache directories? Often > > when I have a problem on one server but not the other it is due to the > > model cache being outdated on the misbehaving server. > > > By naming it unconventionally, they protect against someone > > accidentally creating their own acos_aros table and overwriting the > > table that the ACL component relies on ... at least that is my best > > guess. > > > -Aran > > > On Jun 12, 9:43 am, Corie <[EMAIL PROTECTED]> wrote: > > > Thanks for the tip. > > > > I double checked the schema and they're correct. I also downloaded the > > > live database to the local machine and it still works locally. > > > > Just curious, but why doesn't the acl join table follow cake > > > conventions? Shouldn't it be acos_aros instead of aros_acos? > > > > -Corie > > > > On Jun 12, 12:16 pm, aranworld <[EMAIL PROTECTED]> wrote: > > > > > Could it have something to do with case sensitivity? > > > > > I also am using Auth with 'crud' and am not having any troubles with > > > > the current svn version of cake on either my local windows or remote > > > > linux servers. > > > > > There must be some difference between the two servers. Maybe the > > > > database schemas are different? I once ran into trouble with the Acl > > > > Component, because in my aros_acos table the crud columns were set as > > > > INT, when they should have been CHAR. > > > > > -Aran > > > > > On Jun 12, 8:34 am, Corie <[EMAIL PROTECTED]> wrote: > > > > > > I've got a development server and a live server running my websites. > > > > > I've upgraded to RC1 and I'm getting some errors when trying to > > access > > > > > some pages that rely on Acl. Auth works because it logs me in but any > > > > > page that requires Acl gives these errors. > > > > > > Notice (8): Undefined index: action [CORE/cake/libs/controller/ > > > > > components/auth.php, line 439] > > > > > > Notice (8): Undefined index: action [CORE/cake/libs/controller/ > > > > > components/auth.php, line 440] > > > > > > Notice (8): Undefined index: controller [CORE/cake/libs/controller/ > > > > > components/auth.php, line 440] > > > > > > Warning (512): Auth::startup() - Attempted access of un-mapped action > > > > > "" in controller "" [CORE/cake/libs/controller/components/auth.php, > > > > > line 440] > > > > > > Warning (2): Cannot modify header information - headers already sent > > > > > by (output started at /usr/lib/php/cake/cake/basics.php:111) [CORE/ > > > > > cake/libs/controller/controller.php, line 576] > > > > > > I'm using $this->Auth->authorize = 'crud'; > > > > > > The code and file structure is the exact same on both servers. One > > > > > works (winblows) and one does not (linux). > > -- > -Corie Slate > House of Techwww.houseoftech.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---