Erreur fatale Zend Fatal non capturé 'Zend_Loader_Pluginloader_Exception' avec message

StackOverflow https://stackoverflow.com//questions/10702334

  •  13-12-2019
  •  | 
  •  

Question

je travaille avec un projet Zend Framework Fine dans Localhost, mais quand je l'ai mis dans un serveur Web public L'erreur de débrouillage vient:

Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception' with message 'Plugin by name 'DocType' was not found in the registry; used paths: Zend_View_Helper_: Zend/View/Helper/:../application/views/helpers/' in /path/to/my/appli/application/library/Zend/Loader/PluginLoader.php:412 
Stack trace: 
#0 /path/to/my/appli/application/library/Zend/View/Abstract.php(1182): Zend_Loader_PluginLoader->load('DocType') 
#1 /path/to/my/appli/application/library/Zend/View/Abstract.php(618): Zend_View_Abstract->_getPlugin('helper', 'docType') 
#2 /path/to/my/appli/application/library/Zend/View/Abstract.php(344): Zend_View_Abstract->getHelper('docType') 
#3 [internal function]: Zend_View_Abstract->__call('docType', Array) 
#4 /path/to/my/appli/appli in /path/to/my/appli/application/library/Zend/Loader/PluginLoader.php on line 412

Merci pour votre aide

Était-ce utile?

La solution

DOCTYPE est sensible à la casse que vous devriez écrire $ View-> DOCTYPE non pas View-> Doctype

Autres conseils

problème résolu Je viens de supprimer les lignes fédulageuses de mon bootstrap:

protected function _initDoctype() {
    $this->bootstrap('view');
    $view = $this->getResource('view');
    $view->docType('XHTML1_TRANSITIONAL');
}

Et je ne sais pas pourquoi cela fonctionne bien lorsque je le supprime: / (Cette fonction ne pose aucun problème dans mon localhost, mais pas dans le serveur distant)

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top