This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » General discussion » i18n + web_debug + PHP 5.2.0 problem
icon4.gif  i18n + web_debug + PHP 5.2.0 problem [message #15579] Wed, 08 November 2006 13:16 Go to next message
karl  is currently offline 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 problem [message #15593 is a reply to message #15579 ] Wed, 08 November 2006 16:54 Go to previous messageGo to next message
karl  is currently offline karl
Messages: 48
Registered: March 2006
Location: Lille, France
Member
I solved this problem by downgrading to php 5.1.6

I don't know why it doen't work with the brand new PHP. I must be missing some point in the php.ini file.
Has someone managed to make symfony work with php 5.2.0 ?
Re: i18n + web_debug + PHP 5.2.0 problem [message #15650 is a reply to message #15579 ] Thu, 09 November 2006 15:33 Go to previous messageGo to next message
karl  is currently offline karl
Messages: 48
Registered: March 2006
Location: Lille, France
Member
Sorry to insist that way but am I the only one that has tested symfony with php 5.2.0 ?
I guess everyone is in Paris today, having fun with Rasmus, François, Fabien and the others Wink
Well if someone managed to use i18n, web_debug and php 5.2.0 together, please tell me so I could look forward where I do a mistake Smile
Re: i18n + web_debug + PHP 5.2.0 problem [message #15652 is a reply to message #15579 ] Thu, 09 November 2006 15:47 Go to previous messageGo to next message
halfer  is currently offline 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 #15654 is a reply to message #15652 ] Thu, 09 November 2006 16:29 Go to previous messageGo to next message
karl  is currently offline karl
Messages: 48
Registered: March 2006
Location: Lille, France
Member
Yep, I checked both access.log ans error.log and didn't see anything noticeable.

I downgraded to 5.1.6 to solve the problem as I said.

However, I think about newcomers to symfony who will install their brand new Apache/mysql5/php5.2.0 config and will have troubles as I did.
I will have a look further asap to find where the problem comes from.

(by the way: it is setting i18n to "on" what causes the problem Wink )

thx for your helper

[Updated on: Thu, 09 November 2006 16:33]

Re: i18n + web_debug + PHP 5.2.0 problem [message #15660 is a reply to message #15579 ] Thu, 09 November 2006 17:53 Go to previous messageGo to next message
halfer  is currently offline 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
Re: i18n + web_debug + PHP 5.2.0 problem [message #15661 is a reply to message #15579 ] Thu, 09 November 2006 17:58 Go to previous messageGo to next message
Draven  is currently offline Draven
Messages: 760
Registered: January 2006
Faithful Member
THere's already a ticket concerning 5.2 and a post on the dev mailing list.

http://www.symfony-project.com/trac/ticket/988

http://groups.google.com/group/symfony-devs/browse_thread/th read/2170bf5d98e09943/1ce8db3821e0c9e9#1ce8db3821e0c9e9

[Updated on: Thu, 09 November 2006 17:59]

Re: i18n + web_debug + PHP 5.2.0 problem [message #15673 is a reply to message #15579 ] Thu, 09 November 2006 21:09 Go to previous messageGo to next message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
Thanks Draven. I corrected the spelling mistake in the ticket patch, whilst I was at it Rolling Eyes


Remember Palestine
Re: i18n + web_debug + PHP 5.2.0 problem [message #15678 is a reply to message #15673 ] Thu, 09 November 2006 23:00 Go to previous message
Draven  is currently offline Draven
Messages: 760
Registered: January 2006
Faithful Member
lol, glad it wasn't my ticket Wink
Previous Topic:create a sandbox of my project
Next Topic:dynamically generate validate error message
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software