i18n + web_debug + PHP 5.2.0 problem [message #15579] |
Wed, 08 November 2006 13:16  |
karl Messages: 48 Registered: March 2006 Location: Lille, France |
Member |
|
|
Hello !
My Hard Disk crashed last week so I had to reinstall everything. Now I have a problem with environments with "web_debug" set 'on' AND "i18n" set 'on' too.
I am having a hard time to find where the problem comes from...
I use WinXP, apache, php5.2.0, and the latest beta.
When i try to access a page with both i18n and web_debug on, I am return a blank page with nothing inside.
Here is the log with i18n ON and what is missing compared to when i18n is turned OFF
frontend_dev.log
i18n set ON
Nov 08 12:25:48 symfony [info ] {sfContext} initialization
Nov 08 12:25:48 symfony [info ] {sfController} initialization
Nov 08 12:25:48 symfony [info ] {sfRouting} match route [homepage] "/"
Nov 08 12:25:48 symfony [info ] {sfWebRequest} request parameters array ( 'module' => 'default', 'action' => 'index',)
Nov 08 12:25:48 symfony [info ] {sfFrontWebController} dispatch request
Nov 08 12:25:48 symfony [info ] {sfFilterChain} executing filter "sfWebDebugFilter"
Nov 08 12:25:48 symfony [info ] {sfFilterChain} executing filter "sfCommonFilter"
Nov 08 12:25:48 symfony [info ] {sfFilterChain} executing filter "sfFlashFilter"
Nov 08 12:25:48 symfony [info ] {sfFilterChain} executing filter "sfExecutionFilter"
Nov 08 12:25:48 symfony [info ] {sfActions} call "defaultActions->executeIndex()"
Nov 08 12:25:48 symfony [info ] {sfPHPView} execute view for template "indexSuccess.php"
Nov 08 12:25:48 symfony [info ] {sfPHPView} render "D:\serveur\php5\pear\data/symfony/modules/default/templates/indexSuccess.php"
Nov 08 12:25:48 symfony [info ] {sfPHPView} decorate content with "D:\serveur\test\apps\frontend\templates/layout.php"
Nov 08 12:25:48 symfony [info ] {sfPHPView} render "D:\serveur\test\apps\frontend\templates/layout.php"
Nov 08 12:25:48 symfony [info ] {sfFilterChain} executing filter "sfFlashFilter"
Nov 08 12:25:48 symfony [info ] {sfFilterChain} executing filter "sfCommonFilter"
Nov 08 12:25:48 symfony [info ] {sfFilterChain} executing filter "sfWebDebugFilter"
'OFF':
Same as Above +
Nov 08 12:25:48 symfony [info ] {sfFilterChain} executing filter "sfRenderingFilter"
Nov 08 12:25:48 symfony [info ] {sfRenderingFilter} render to client
Nov 08 12:25:48 symfony [info ] {sfWebResponse} send status "HTTP/1.0 200 OK"
Nov 08 12:25:48 symfony [info ] {sfWebResponse} send header "Content-Type": "text/html; charset=utf-8"
Nov 08 12:25:48 symfony [info ] {sfResponse} send content (37408 o)
I created a fresh project in a new folder just added the 'frontend' app and turned i18n OFF to get this.
Edit : I Installed Apache 2.2.3, php 5.2.0, symfony on a brand new PC, created a fresh project, a new app and the problem occurs as soon as i turn i18n on in the dev environment.
Do you have any idea where the problem comes from ?
Thanks, Karl
[Updated on: Thu, 09 November 2006 10:39]
|
|
|
|
|
| Re: i18n + web_debug + PHP 5.2.0 problem [message #15652 is a reply to message #15579 ] |
Thu, 09 November 2006 15:47   |
halfer Messages: 9535 Registered: January 2006 Location: West Midlands, UK |
Faithful Member |
|
|
Have you checked your Apache error log?
From your output, it does look like having i18n set to "off" is causing a problem. It might be that the changes instituted in 5.2 require some tweaks in symfony. Unless you have a specific reason to need 5.2, I'd stick with the 5.1.x branch.
Remember Palestine
|
|
|
|
| Re: i18n + web_debug + PHP 5.2.0 problem [message #15660 is a reply to message #15579 ] |
Thu, 09 November 2006 17:53   |
halfer Messages: 9535 Registered: January 2006 Location: West Midlands, UK |
Faithful Member |
|
|
Ah, I missed your "same as above" note earlier in the thread.
I had a play with 5.2 today, but didn't have time to finish configuring it (I was setting it up in parallel with 5.1.6 in view of the difficulties you had).
But if anyone else has problems with 5.2 that might be attributable to a problem in symfony then please post here. Likewise if you get it working, let us know, so others can see if it is down to their system, or down to symfony.
Remember Palestine
|
|
|
|
|
|