Try this:
$loader->registerNamespace('Word_');
And it might just work perfectly fine. It's a plugin that gets loaded
automatically, so you wont find a reference other than the file itself
and maybe something about "Word_" in the source. The autoloader was
changed to not use all classes but only the ones it knows (starting
with Zend_ by default) and you have to add the ones you also want to
be loaded with the above line.
On Thu, Aug 12, 2010 at 10:46 AM, gruby_karo <[email protected]> wrote:
>
> I started to work on a site developed with ZF1.7.3.
>
> I wanted to upgrade ZF to the newest version. And bump into some problems.
> I started to work my upgrades way up from the lowest to highest version.
>
> It turned out that replacing
> require_once 'Zend/Loader.php';
> Zend_Loader::registerAutoload();
> with
> include_once('Zend/Loader/Autoloader.php');
> $loader = Zend_Loader_Autoloader::getInstance();
> $loader->setFallbackAutoloader(true);
> $loader->suppressNotFoundWarnings(false);
>
> let me upgrade without any other modifications (it's a simple application,
> not using advanced ZF features) to the version 1.10.0. (I found the "recipe"
> on the web.)
>
> When I try to upgrade to 1.10.1 I get fatal errer:
>
> Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception' with
> message 'Plugin by name 'Word_CamelCaseToDash' was not found in the
> registry; used paths: Zend_Filter_: Zend/Filter/' in
> /library/Zend/Loader/PluginLoader.php:406 Stack trace: #0
> /library/Zend/Filter/Inflector.php(496):
> Zend_Loader_PluginLoader->load('Word_CamelCaseT...') #1
> /library/Zend/Filter/Inflector.php(389):
> Zend_Filter_Inflector->_getRule('Word_CamelCaseT...') #2
> /library/Zend/Filter/Inflector.php(289):
> Zend_Filter_Inflector->addFilterRule(':module', Array) #3
> /library/Zend/Controller/Action/Helper/ViewRenderer.php(281):
> Zend_Filter_Inflector->addRules(Array) #4
> /library/Zend/Controller/Action/Helper/ViewRenderer.php(381):
> Zend_Controller_Action_Helper_ViewRenderer->getInflector() #5
> /library/Zend/Controller/Action/Helper/ViewRenderer.php(469):
> Zend_Controller_Action_Helper_ViewRenderer->_getBasePath() #6
> /library/Zend/Controller/Action/Helper/ViewRenderer.php(516):
> Zend_Controller_Action_Helper_ViewRenderer->initView() #7 /library/Zend/Cont
> in /library/Zend/Loader/PluginLoader.php on line 406
>
> (I have the same error with ZF1.10.7.)
>
> Please, advice me where to look what is happening here. I tried to search
> the sources for "CamelCaseToDash" string and it was not there (the file
> itself is present; I found no references to it)?
>
> TIA,
> gruby
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/Problem-upgrading-to-ZF10-1-please-advise-tp2322406p2322406.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
--
Greetings,
Christian Riesen
http://christianriesen.com/ - My personal page
http://toreas.com/ - Toreas a free fantasy novel
http://gamewiki.net/ - Open Videogames Wiki