2009年7月9日星期四

[fw-mvc] apc-error using Zend_Application with Zend_Test

Hi all,

I'm currently upgrading an existing application to use
Zend_Application in bootstrapping. The application itself runs
perfectly well but when I come to modify my test bootstrap file I'm
getting a strange APC error.

[apc-error] Cannot redeclare class zend_layout

If I comment out these lines in my config file the error goes away:

resources.layout.layout = "layout"
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"

I guess it's a Plugin Loader problem (or my config regarding them) but
I'm not sure how to proceed.

Does anyone have any ideas?

Thanks in advance!

Regards,
Carlton

没有评论: