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.

Reply via email to