Can you post your AppController beforeFilter method?
On Feb 6, 9:55 am, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I've got a slight problem with my Auth component atm. It always
> redirects me to a specific but really weird URL when successfully
> logging in. The URL is the path to one of the images used by Thickbox
> (a jQuery script), so it results in the following:
>
> ---
> Missing Method in UsersController
> Error: The action images is not defined in controller UsersController
> Error: Create UsersController::images() in file: app/controllers/
> users_controller.php.
> <?php
> class UsersController extends AppController {
> var $name = 'Users';
> function images() {
> }}
>
> ?>
> Notice: If you want to customize this error message, create app/views/
> errors/missing_action.ctp.
> ---
>
> The URL that's called is always the same: /users/images/
> loadingAnimation.gif
>
> I cannot explain this behavior, as the whole site doesnt contain any
> link to this file except directly from the JS file that's included
> using $javascript->link().
>
> It also doesnt matter where I am trying to connect a redirect call. Be
> it from within /users/login or by setting $this->Auth->loginRedirect,
> it always results in my redirect being overriden and the user
> redirected to the image path.
>
> Does anyone know something about this problem?
>
> Best regards
>
> Arne
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---