Hi,
I've had an ongoing, intermittent problem that I am concerned may be a
bug, possibly in symfony. What happens is that when trying to render
a template, symfony seems to instead redirect and display the login
page. Sometimes half of the correct page will be displayed (ie:
because the page consists of several partials) followed by the login
page form. This seems to be able to happen on just about any page and
in no predictable fashion. The only consistent criteria is that the
user has logged in (using sfGuardPlugin).
I've posted to the symfony users group before regarding this issue,
but as far as I can tell there is nothing I am doing wrong, usability
wise. The only explanation I can think of is that this problem is
because of a bug - if you think it's worthwhile I can open up a bug
report.
My application is currently in production, using symfony 1.2.7 and
running on A2 hosting. There is no consistent reproducible scenario
for this error, but basically if you use the app for a while the
problem WILL occur. I do have a staging version of the application as
well and it occurs on the staging version also. The one thing I have
noted is that I've never encountered this when the app is running on
my laptop (Windows Vista WAMP Server).
I was wondering if this might be a known issue, or if anything might
come to mind. I did some analysis work on this a while ago and added
some debug statements. What I noticed is that even though I'm in the
providerManageZones action, for some reason symfony seems to think I'm
in the signin action. Furthermore, what seems to happen is that the
codepath then thinks it needs to go to an SSL URL, which the action
does not normally require. So at some point in the logic the "current
action" seems to change to signin.
Thanks in advance for any help or guidance.
Regards,
Steve
Sep 26 00:49:04 symfony [info] {sfPatternRouting} Match route
"providerManageZones" (/goalies/manage-zones) for /goalies/manage-
zones.html with parameters array ( 'module' => 'provider', 'action'
=> 'manageZones',)
Sep 26 00:49:04 symfony [info] {sfFilterChain} Executing filter
"sfRenderingFilter"
Sep 26 00:49:04 symfony [info] {sfFilterChain} Executing filter
"sfBasicSecurityFilter"
Sep 26 00:49:04 symfony [info] {sfFilterChain} Executing filter
"sfRenderingFilter"
Sep 26 00:49:04 symfony [info] {sfFilterChain} Executing filter
"sfSslRequirementFilter"
Sep 26 00:49:04 symfony [debug] ***** SSL Filter - first call and SSL
filter not disabled
Sep 26 00:49:04 symfony [debug] ***** SSL Required: signin
Sep 26 00:49:04 symfony [debug] ***** require_ssl for signin: 1
Sep 26 00:49:04 symfony [debug] ***** SSL Filter - this request should
be redirected to HTTPS
Sep 26 00:49:04 symfony [debug] ***** SSL Filter - SSL Required
Sep 26 00:49:04 symfony [debug] ***** SSL URL: signin
Sep 26 00:49:04 symfony [debug] ***** NO SSL URL Domain setting:
https://staging.goaliegigs.com/goalies/manage-zones.html
Sep 26 00:49:04 symfony [info] {sfFrontWebController} Redirect to
"https://staging.goaliegigs.com/goalies/manage-zones.html"
Sep 26 00:49:04 symfony [info] {sfWebResponse} Send status "HTTP/1.1
302 Found"
Sep 26 00:49:04 symfony [info] {sfWebResponse} Send header "Location:
https://staging.goaliegigs.com/goalies/manage-zones.html"
Sep 26 00:49:04 symfony [info] {sfWebResponse} Send header "Content-
Type: text/html; charset=utf-8"
Sep 26 00:49:04 symfony [info] {sfWebResponse} Send content (127 o)
Sep 26 00:49:04 symfony [info] {sfPatternRouting} Match route
"providerManageZones" (/goalies/manage-zones) for /goalies/manage-
zones.html with parameters array ( 'module' => 'provider', 'action'
=> 'manageZones',)
Sep 26 00:49:04 symfony [info] {sfFilterChain} Executing filter
"sfRenderingFilter"
Sep 26 00:49:04 symfony [info] {sfFilterChain} Executing filter
"sfBasicSecurityFilter"
Sep 26 00:49:04 symfony [info] {sfFilterChain} Executing filter
"sfRenderingFilter"
Sep 26 00:49:04 symfony [info] {sfFilterChain} Executing filter
"sfSslRequirementFilter"
Sep 26 00:49:04 symfony [debug] ***** SSL Filter - first call and SSL
filter not disabled
Sep 26 00:49:04 symfony [debug] ***** SSL Required: signin
Sep 26 00:49:04 symfony [debug] ***** require_ssl for signin: 1
Sep 26 00:49:04 symfony [debug] ***** SSL Filter - this request should
be redirected to HTTPS
Sep 26 00:49:04 symfony [debug] ***** SSL Filter - SSL Required
Sep 26 00:49:04 symfony [debug] ***** SSL URL: signin
Sep 26 00:49:04 symfony [debug] ***** NO SSL URL Domain setting:
https://staging.goaliegigs.com/goalies/manage-zones.html
Sep 26 00:49:04 symfony [info] {sfFrontWebController} Redirect to
"https://staging.goaliegigs.com/goalies/manage-zones.html"
Sep 26 00:49:04 symfony [info] {sfWebResponse} Send status "HTTP/1.1
302 Found"
Sep 26 00:49:04 symfony [info] {sfWebResponse} Send header "Location:
https://staging.goaliegigs.com/goalies/manage-zones.html"
Sep 26 00:49:04 symfony [info] {sfWebResponse} Send header "Content-
Type: text/html; charset=utf-8"
Sep 26 00:49:04 symfony [info] {sfWebResponse} Send content (127 o)
Sep 26 00:49:05 symfony [info] {sfPatternRouting} Match route
"providerManageZones" (/goalies/manage-zones) for /goalies/manage-
zones.html with parameters array ( 'module' => 'provider', 'action'
=> 'manageZones',)
Sep 26 00:49:05 symfony [info] {sfFilterChain} Executing filter
"sfRenderingFilter"
Sep 26 00:49:05 symfony [info] {sfFilterChain} Executing filter
"sfBasicSecurityFilter"
Sep 26 00:49:05 symfony [info] {sfFilterChain} Executing filter
"sfRenderingFilter"
Sep 26 00:49:05 symfony [info] {sfFilterChain} Executing filter
"sfSslRequirementFilter"
Sep 26 00:49:05 symfony [debug] ***** SSL Filter - first call and SSL
filter not disabled
Sep 26 00:49:05 symfony [debug] ***** SSL Filter - request is secure
Sep 26 00:49:05 symfony [debug] ***** SSL Allowed: signin
Sep 26 00:49:05 symfony [debug] ***** SSL Required: signin
Sep 26 00:49:05 symfony [debug] ***** require_ssl for signin: 1
Sep 26 00:49:05 symfony [info] {sfFilterChain} Executing filter
"commonSessionVariablesFilter"
Sep 26 00:49:05 symfony [info] {sfFilterChain} Executing filter
"languageChangeFilter"
Sep 26 00:49:05 symfony [info] Executing languageChangeFilter. Set
user language to: en_CA
Sep 26 00:49:05 symfony [info] {sfFilterChain} Executing filter
"sfCacheFilter"
Sep 26 00:49:05 symfony [info] {sfFilterChain} Executing filter
"sfCommonFilter"
Sep 26 00:49:05 symfony [info] {sfFilterChain} Executing filter
"sfValidationExecutionFilter"
Sep 26 00:49:05 symfony [info] {sfGuardAuthActions} Call
"sfGuardAuthActions->executeSignin()"
Sep 26 00:49:05 symfony [debug] sfGuardAuth: not a post request. show
signin page.
Sep 26 00:49:05 symfony [info] {sfPHPView} Render "/home/ggtest/
deploy/
staging/ggapps/apps/frontend/modules/sfGuardAuth/templates/
signinSuccess.php"
--
You received this message because you are subscribed to the Google Groups
"symfony developers" 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/symfony-devs?hl=en.