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 » legacy support » symfony 1.0 » [SOLVED] symfony vs. PHP 5.2.1 (eAccelerator 0.9.5 bug)
[SOLVED] symfony vs. PHP 5.2.1 (eAccelerator 0.9.5 bug) [message #23736] Thu, 15 March 2007 17:33 Go to next message
virtualize  is currently offline virtualize
Messages: 36
Registered: July 2006
Location: Zürich, Switzerland
Member
hi all,

i searched the forum but did not find anything for this case.
installed php 5.2.1 and apache 2.2.4 today and now im getting error messages like this all the time even on the symfony default pages. does anybody know what this causes?
Fatal error: Uncaught exception 'sfStopException' in C:\Programme\PHP\pear\symfony\action\sfAction.class.php:136 $
Stack trace: 
#0 C:\WWWROOT\fuerte\workspace\apps\backoffice\modules\connect\actions\actions.class.php(19): 
sfAction->forward('default', 'module') #1 C:\Programme\PHP\pear\symfony\action\sfActions.class.php(53): 
connectActions->executeIndex() #2 C:\Programme\PHP\pear\symfony\filter\sfExecutionFilter.class.php(115): 
sfActions->execute() #3 C:\Programme\PHP\pear\symfony\filter\sfFilterChain.class.php(43): 
sfExecutionFilter->execute(Object(sfFilterChain)) #4 C:\Programme\PHP\pear\symfony\filter\sfFlashFilter.class.php(50): 
sfFilterChain->execute() #5 C:\Programme\PHP\pear\symfony\filter\sfFilterChain.class.php(43): 
sfFlashFilter->execute(Object(sfFilterChain)) #6 C:\Programme\PHP\pear\symfony\filter\sfCommonFilter.class.php(29): 
sfFilterChain->execute() #7 C:\Programme\PHP\pear\symfony\filter\sfFilterChain.class.php(43): 
sfCommonFilter->execute(Object(sfFilterChain)) #8 C:\Programme\PHP\pear\symfony\filter\sfWebDeb in C:\Programme\PHP\pear\symfony\action\sfAction.class.php on line 136


thanks in advance.

[Updated on: Fri, 16 March 2007 19:27]

Re: symfony vs. PHP 5.2.1 [message #23768 is a reply to message #23736 ] Fri, 16 March 2007 01:58 Go to previous messageGo to next message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
I am not sure what might be the cause of this, but just thought I'd suggest a couple of things to spur on 5.2.1 users to answer. Firstly, is this behaviour exhibited in a fresh symfony install, or do you have your own code in it? Are you using 1.0 stable?


Remember Palestine
Re: symfony vs. PHP 5.2.1 [message #23773 is a reply to message #23736 ] Fri, 16 March 2007 02:27 Go to previous messageGo to next message
namlis  is currently offline namlis
Messages: 1
Registered: March 2007
Junior Member
I have had a similar torouble.
In my case, eAccelerator with PHP 5.2.1 causes the trouble.
If you use eAccelerator, please try to disable it.

see below:
http://eaccelerator.net/ticket/242
Re: symfony vs. PHP 5.2.1 [message #23790 is a reply to message #23773 ] Fri, 16 March 2007 10:44 Go to previous messageGo to next message
virtualize  is currently offline virtualize
Messages: 36
Registered: July 2006
Location: Zürich, Switzerland
Member
thanks namlis!

thats it! disabled caching in eAccelerator solves it.
i'm using eAccelerator 0.9.5, btw...
Re: symfony vs. PHP 5.2.1 [message #26914 is a reply to message #23790 ] Tue, 08 May 2007 19:11 Go to previous messageGo to next message
laszlo.laszlo  is currently offline laszlo.laszlo
Messages: 26
Registered: February 2007
Location: Budapest
Junior Member
virtualize wrote on Fri, 16 March 2007 10:44

thanks namlis!

thats it! disabled caching in eAccelerator solves it.
i'm using eAccelerator 0.9.5, btw...



You do not need disable eAccelerator. Just turn off its optimizer. In php.ini:
eaccelerator.optimizer = "0"
Then restart apache2


http://laszlo.co.hu/
Re: [SOLVED] symfony vs. PHP 5.2.1 (eAccelerator 0.9.5 bug) [message #26920 is a reply to message #23736 ] Tue, 08 May 2007 19:57 Go to previous messageGo to next message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
Oh dear, I'm using the same version of eAccelerator on Windows, in fact I am soak-testing a website on it overnight. I am planning to turn it on in due course, as I've not come across this or any other problems while using it. Is there a reason why some users might experience this and not others, do you think?


Remember Palestine
Re: [SOLVED] symfony vs. PHP 5.2.1 (eAccelerator 0.9.5 bug) [message #26921 is a reply to message #23736 ] Tue, 08 May 2007 19:59 Go to previous messageGo to next message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
OK, I've just noticed a big difference! I am on PHP 5.1.6 - we've not upgraded to 5.2.1 yet (or 5.2.2, for that matter).


Remember Palestine
Re: [NOT QUITE SOLVED] symfony vs. PHP 5.2.1 (eAccelerator 0.9.5 bug) [message #33959 is a reply to message #23736 ] Wed, 22 August 2007 21:12 Go to previous messageGo to next message
refactored  is currently offline refactored
Messages: 8
Registered: August 2007
Junior Member
Turning off the optimizer did not work for me. Still getting the sfStopException.

PHP 5.2.3
eAccelerator 0.9.5.1 for PHP 5.2.3
Windows XP Pro

There is patched eAccelerator code at http://eaccelerator.net/ticket/242 with the comment "We're thinking of releasing 0.9.5.2 to address this issue.". I will have to wait for a Windows build to see if the fix works for me. The fix was provided on August 14, 2007.

[Updated on: Wed, 22 August 2007 21:12]

Re: [NOT QUITE SOLVED] symfony vs. PHP 5.2.1 (eAccelerator 0.9.5 bug) [message #35281 is a reply to message #33959 ] Mon, 10 September 2007 23:08 Go to previous messageGo to next message
al_n  is currently offline al_n
Messages: 321
Registered: May 2006
Location: The Netherlands
Faithful Member
I'm running php v5.2.1 on ubuntu feisty with self compiled eAccelerator v0.9.5.2 and still having the same problem.
I checked the source code and it has the patch mentioned at http://eaccelerator.net/ticket/242.

Does anyone has a solution?
Re: [SOLVED] symfony vs. PHP 5.2.1 (eAccelerator 0.9.5 bug) [message #42981 is a reply to message #23736 ] Tue, 08 January 2008 01:43 Go to previous messageGo to next message
n0other  is currently offline n0other
Messages: 8
Registered: December 2006
Junior Member
The problem is still present with NT builds of eAccelerator 0.952 and PHP 5.2.3, upgrading PHP to 5.2.5 fixed the problem.
Re: [SOLVED] symfony vs. PHP 5.2.1 (eAccelerator 0.9.5 bug) [message #61165 is a reply to message #42981 ] Wed, 17 September 2008 09:57 Go to previous message
ares  is currently offline ares
Messages: 1
Registered: September 2008
Location: Ukraine
Junior Member
If eaccelerator.optimizer = "0" is not working, then use eaccelerator.enable = "0"

I added ini_set('eaccelerator.enable', '0'); in my index.php and frontend_dev.php

[Updated on: Wed, 17 September 2008 09:57]

Previous Topic:Force download
Next Topic:i want to play swf file in my symfony page
Goto Forum:
  

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