| [SOLVED] symfony vs. PHP 5.2.1 (eAccelerator 0.9.5 bug) [message #23736] |
Thu, 15 March 2007 17:33  |
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   |
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 #26914 is a reply to message #23790 ] |
Tue, 08 May 2007 19:11   |
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   |
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   |
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   |
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: [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  |
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]
|
|
|