Try cleaning your cache/cookies/all possible and try again.

Maybe a referer problem.

2009/10/23 aymeric <elag...@gmail.com>

>
> I switched logging to on for the prod backend but the log file doesn't
> show up in the /log folder.
> I enabled access to the dev backend and its log file looks like this :
>
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect sfRoute
> "homepage" (/)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_categorie_categorie" (/
> categorie.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_categorie_categorie_new" (/categorie/
> new.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_categorie_categorie_create" (/
> categorie.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_categorie_categorie_edit" (/categorie/:id/
> edit.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_categorie_categorie_update" (/
> categorie/:id.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_categorie_categorie_delete" (/
> categorie/:id.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_categorie_categorie_show" (/
> categorie/:id.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_categorie_categorie_object" (/
> categorie/:id/:action.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_categorie_categorie_collection" (/
> categorie/:action/action.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_article_article" (/article.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_article_article_new" (/article/
> new.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_article_article_create" (/
> article.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_article_article_edit" (/article/:id/
> edit.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_article_article_update" (/
> article/:id.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_article_article_delete" (/
> article/:id.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_article_article_show" (/
> article/:id.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_article_article_object" (/
> article/:id/:action.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "marketing_article_article_collection" (/
> article/:action/action.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect sfRoute
> "default_index" (/:module)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect sfRoute
> "default" (/:module/:action/*)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect sfRoute
> "sf_guard_signin" (/login)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect sfRoute
> "sf_guard_signout" (/logout)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect sfRoute
> "sf_guard_password" (/request_password)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "sf_guard_user_filter" (/sf_guard_user/
> filter.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "sf_guard_user_batch" (/sf_guard_user/
> batch.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "sf_guard_user" (/sf_guard_user.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "sf_guard_user_new" (/sf_guard_user/new.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "sf_guard_user_create" (/sf_guard_user.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "sf_guard_user_edit" (/sf_guard_user/:id/
> edit.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "sf_guard_user_update" (/sf_guard_user/:id.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "sf_guard_user_delete" (/sf_guard_user/:id.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "sf_guard_user_show" (/sf_guard_user/:id.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "sf_guard_user_object" (/
> sf_guard_user/:id/:action.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Connect
> sfDoctrineRoute "sf_guard_user_collection" (/sf_guard_user/:action/
> action.:sf_format)
> Oct 23 14:34:37 symfony [info] {sfPatternRouting} Match route
> "homepage" (/) for / with parameters array (  'module' => 'article',
> 'action' => 'index',)
> Oct 23 14:34:39 symfony [info] {sfFilterChain} Executing filter
> "sfRenderingFilter"
> Oct 23 14:34:39 symfony [info] {sfFilterChain} Executing filter
> "sfBasicSecurityFilter"
> Oct 23 14:34:39 symfony [info] {sfFilterChain} Executing filter
> "sfRenderingFilter"
> Oct 23 14:34:39 symfony [info] {sfFilterChain} Executing filter
> "sfCommonFilter"
> Oct 23 14:34:39 symfony [info] {sfFilterChain} Executing filter
> "sfExecutionFilter"
> Oct 23 14:34:39 symfony [info] {sfGuardAuthActions} Call
> "sfGuardAuthActions->executeSignin()"
> Oct 23 14:34:39 symfony [info] {sfPHPView} Render "ROOT_DIRECTORY/
> plugins/sfDoctrineGuardPlugin/modules/sfGuardAuth/templates/
> signinSuccess.php"
> Oct 23 14:34:39 symfony [info] {sfPHPView} Decorate content with
> "ROOT_DIRECTORY\apps\coulisses\templates/layout.php"
> Oct 23 14:34:39 symfony [info] {sfPHPView} Render "ROOT_DIRECTORY\apps
> \coulisses\templates/layout.php"
> Oct 23 14:34:39 symfony [info] {sfWebResponse} Send status "HTTP/1.1
> 401 Unauthorized"
> Oct 23 14:34:39 symfony [info] {sfWebResponse} Send header "Content-
> Type: text/html; charset=iso-8859-1"
> Oct 23 14:34:39 symfony [info] {sfWebDebugLogger} Configuration
> 5097.21 ms (13)
> Oct 23 14:34:39 symfony [info] {sfWebDebugLogger} Action "sfGuardAuth/
> signin" 14.09 ms (1)
> Oct 23 14:34:39 symfony [info] {sfWebDebugLogger} View "Success" for
> "sfGuardAuth/signin" 49.27 ms (1)
> Oct 23 14:34:39 symfony [info] {sfWebResponse} Send content (39862 o)
>
> Maybe the Send status "HTTP/1.1 401 Unauthorized" response is the
> cause.
>
> On 23 oct, 13:37, Alexandre SALOME <alexandre.sal...@gmail.com> wrote:
> > With logs, you will be able to understand what's happening in this loop.
> See
> > log/frontend_prod.log
> >
> > Alexandre
> >
> > 2009/10/23 aymeric <elag...@gmail.com>
> >
> >
> >
> >
> >
> >
> >
> > > An other strange thing happened :
> > > when I open my backend app from the localhost I get a login form (and
> > > that's normal),
> > > but if I open this same app from my webhost I get a popup that loops
> > > on itself if I try to use it.
> > > If I cancel the popup on its first appearance I'm redirected on the
> > > desired login form (if I try to log with the popup and then cancel it
> > > I get a  'not the right permissions' page.
> >
> > > I think it comes from the server and since I don't have access to its
> > > config I guess I should be happy :
> > > I have a higher security level on my backend with this fake login
> > > popup.
> >
> > --
> > Alexandre Salomé -- alexandre.sal...@gmail.com
> >
>


-- 
Alexandre Salomé -- alexandre.sal...@gmail.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to