Okay, I've done some empirical measurements to try and narrow the problem
down and it seems that I get this error after I save a change to the file! 
Very strange.

I can refresh the /alex/playback page repeatedly and everything displays
fine.  I then go into Zend Studio and add a space to the file somewhere
harmless (like in a comment) and save the change.  I then go back and
refresh the page once (it works) but any further refreshes give me the
error.

I can FIX this temporarily without needing to restart PHP by using Zend
Studio.  Using the file menu I choose  "File -> Convert Line Delimiters To
-> Unix [default]" and I notice my controller file appears to re-save
quickly.

Now I return to the browser and refresh the page.  This time the first
refresh gives me a NEW error:
"Fatal error: Cannot redeclare class Zend_Controller_Router_Route_Abstract
in /var/www/mclaren/library/Zend/Controller/Router/Route/Abstract.php on
line 38"

But the second and any further refreshes displays the page properly without
error.

Again, if I make another tiny change and save the file I get one good
refresh and then the original error.  I then need to Convert the Line
Delimiter again but as it's already in Unix format I have to change it to
Windows format for it to work.  I can repeat this forever...

So, very odd.  It seems saving the file causes the error, and switching
between Unix and Windows line delimiters fixes it!

Can anyone suggest why this may be happening and how I can stop it!

Also please note I am running Ubuntu 9.10 on VirtualBox sitting on Windows 7
Professional - maybe that's not helping?


Jake McGraw wrote:
> 
> Can you show us some code?
> 
> - jake
> 
> On Mon, Jan 4, 2010 at 8:36 AM, Jacques Marques <[email protected]>
> wrote:
>>
>> Hello,
>>
>> When I change anything in my controller and try access it I receive this
>> message:
>> Fatal Error: Cannot override final method
>> Zend_Controller_Action::_forward()
>> ...
>>
>> I am using Zend Framework 1.9.5 with Zend Server on Linux.
>>
>> Thanks,
>> --
>> View this message in context:
>> http://n4.nabble.com/Faltal-Error-with-Controller-Action-on-ZF-tp998248p998248.html
>> Sent from the Zend Framework mailing list archive at Nabble.com.
>>
> 
> 

-- 
View this message in context: 
http://n4.nabble.com/Faltal-Error-with-Controller-Action-on-ZF-tp998248p1008196.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to