<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Symfony-IT &#187; webdev</title>
	<atom:link href="http://www.symfony.it/categoria/webdev/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.symfony.it</link>
	<description>Just another Symfony Framework weblog</description>
	<lastBuildDate>Mon, 26 Jul 2010 09:23:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>eAccelerator e routing dei metodi</title>
		<link>http://www.symfony.it/articoli/17/eaccelerator-e-routing-dei-metodi/</link>
		<comments>http://www.symfony.it/articoli/17/eaccelerator-e-routing-dei-metodi/#comments</comments>
		<pubDate>Tue, 04 Sep 2007 10:19:19 +0000</pubDate>
		<dc:creator>fullo</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.symfony.it/articoli/17/eaccelerator-e-routing-dei-metodi/</guid>
		<description><![CDATA[Se utilizzate eAccelerator sul vostro server di produzione e con le ultime due versioni di Symfony ottenete strani messaggi di errore relativi al routing dei metodi simili a PLAIN TEXT CODE: Fatal error: Uncaught exception 'sfStopException' in /usr/share/pear/symfony/action/sfAction.class.php:136 Stack trace: #0 /var/www/html/progetto/apps/applicazione/modules/modulo/actions\actions.class.php&#40;19&#41;: sfAction-&#62;forward&#40;'default', 'module'&#41; #1 /usr/share/pear/symfony/action/sfActions.class.php&#40;53&#41;: connectActions-&#62;executeIndex&#40;&#41; #2 /usr/share/pear/symfony/filter/sfExecutionFilter.class.php&#40;115&#41;: sfActions-&#62;execute&#40;&#41; #3 /usr/share/pear/symfony/filter/sfFilterChain.class.php&#40;43&#41;: sfExecutionFilter-&#62;execute&#40;Object&#40;sfFilterChain&#41;&#41; #4 /usr/share/pear/symfony/filter/sfFlashFilter.class.php&#40;50&#41;: [...]]]></description>
			<content:encoded><![CDATA[<p>Se utilizzate <a href="http://eaccelerator.net/">eAccelerator</a> sul vostro server di produzione e con le ultime due versioni di Symfony ottenete strani messaggi di errore relativi al routing dei metodi simili a </p>
<div class="igBar"><span id="lcode-2"><a href="#" onclick="javascript:showPlainTxt('code-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-2">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Fatal error: </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Uncaught exception <span style="color:#CC0000;">'sfStopException'</span> in /usr/share/pear/symfony/action/sfAction.<span style="">class</span>.<span style="">php</span>:<span style="color:#800000;color:#800000;">136</span> Stack trace: </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#0 /var/www/html/progetto/apps/applicazione/modules/modulo/actions\actions.<span style="">class</span>.<span style="">php</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">19</span><span style="color:#006600; font-weight:bold;">&#41;</span>: sfAction-&gt;<span style="">forward</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#CC0000;">'default'</span>, <span style="color:#CC0000;">'module'</span><span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#1 /usr/share/pear/symfony/action/sfActions.<span style="">class</span>.<span style="">php</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">53</span><span style="color:#006600; font-weight:bold;">&#41;</span>: connectActions-&gt;<span style="">executeIndex</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#2 /usr/share/pear/symfony/filter/sfExecutionFilter.<span style="">class</span>.<span style="">php</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">115</span><span style="color:#006600; font-weight:bold;">&#41;</span>: sfActions-&gt;<span style="">execute</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#3 /usr/share/pear/symfony/filter/sfFilterChain.<span style="">class</span>.<span style="">php</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">43</span><span style="color:#006600; font-weight:bold;">&#41;</span>: sfExecutionFilter-&gt;<span style="">execute</span><span style="color:#006600; font-weight:bold;">&#40;</span>Object<span style="color:#006600; font-weight:bold;">&#40;</span>sfFilterChain<span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#4 /usr/share/pear/symfony/filter/sfFlashFilter.<span style="">class</span>.<span style="">php</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">50</span><span style="color:#006600; font-weight:bold;">&#41;</span>: sfFilterChain-&gt;<span style="">execute</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#5 /usr/share/pear/symfony/filter/sfFilterChain.<span style="">class</span>.<span style="">php</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">43</span><span style="color:#006600; font-weight:bold;">&#41;</span>: sfFlashFilter-&gt;<span style="">execute</span><span style="color:#006600; font-weight:bold;">&#40;</span>Object<span style="color:#006600; font-weight:bold;">&#40;</span>sfFilterChain<span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#6 /usr/share/pear/symfony/filter/sfCommonFilter.<span style="">class</span>.<span style="">php</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">29</span><span style="color:#006600; font-weight:bold;">&#41;</span>: sfFilterChain-&gt;<span style="">execute</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#7 /usr/share/pear/symfony/filter/sfFilterChain.<span style="">class</span>.<span style="">php</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#800000;color:#800000;">43</span><span style="color:#006600; font-weight:bold;">&#41;</span>: sfCommonFilter-&gt;<span style="">execute</span><span style="color:#006600; font-weight:bold;">&#40;</span>Object<span style="color:#006600; font-weight:bold;">&#40;</span>sfFilterChain<span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span> </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#8 /usr/share/pear/symfony/filter/sfWebDeb in&nbsp; /usr/share/pear/symfony/action/sfAction.<span style="">class</span>.<span style="">php</span> on line <span style="color:#800000;color:#800000;">136</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>significa che siete incappati in questo <a href="http://eaccelerator.net/ticket/242">scomodo bug</a>.</p>
<p>La soluzione è molto semplice, basta infatti disabilitare il modulo eAccellerator per php o alternativamente limitarsi a bloccarne l'ottimizzazione modificando nel <code>php.ini</code> la direttiva <code>eaccelerator.optimizer = "0"</code> finchè non sarà rilasciata la nuova versione dell'optimizer.</p>
<p>via <a href="http://www.symfony-project.com/forum/index.php/m/33956/">sfForum</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.symfony.it/articoli/17/eaccelerator-e-routing-dei-metodi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->