Bonjour,
J'ai récupérer les fichiers contenus dans ce post.
Il me semble qu'il manque quelques trucs notamment la classe EZ_View_Smarty_Exception
Concernant le bootstrap, à cette ligne :
Que vaut $configMain->debug ?Code:
1
2
3 $view = new EZ_View_Smarty(array('compileDir'=> $appPath.'/templates_c/', 'suffix' => 'tpl', 'debug' => $configMain->debug));
Sinon de mon côté mon application.ini est le suivant :Et mon erreur :Code:
1
2
3
4
5
6
7
8
9
10
11
12 includePaths.library = APPLICATION_PATH "/../library" bootstrap.path = APPLICATION_PATH "/Bootstrap.php" bootstrap.class = "Bootstrap" appnamespace = "Application" resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" resources.layout.layoutPath = APPLICATION_PATH "/views/layouts" autoloaderNamespaces[] = Doctrine autoloaderNamespaces[] = Symfony autoloaderNamespaces[] = Application autoloaderNamespaces[] = EZ autoloaderNamespaces[] = Zfbook autoloaderNamespaces[] = Smarty
Une petite aide serait le bienvenue.Code:Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception' with message 'Plugin by name 'Unregister_function' was not found in the registry; used paths: Zend_View_Helper_: Zend/View/Helper/' in C:\Users\Aurelien\Zend\workspaces\DefaultWorkspace7\teamazerty\library\Zend\Loader\PluginLoader.php:412 Stack trace: #0 C:\Users\Aurelien\Zend\workspaces\DefaultWorkspace7\teamazerty\library\Zend\View\Abstract.php(1174): Zend_Loader_PluginLoader->load('Unregister_func...') #1 C:\Users\Aurelien\Zend\workspaces\DefaultWorkspace7\teamazerty\library\Zend\View\Abstract.php(610): Zend_View_Abstract->_getPlugin('helper', 'unregister_func...') #2 C:\Users\Aurelien\Zend\workspaces\DefaultWorkspace7\teamazerty\library\Zend\View\Abstract.php(336): Zend_View_Abstract->getHelper('unregister_func...') #3 [internal function]: Zend_View_Abstract->__call('unregister_func...', Array) #4 C:\Users\Aurelien\Zend\workspaces\DefaultWorkspace7\teamazerty\library\EZ\View\Smarty\Plugin\Broker.php(164): Zfbook_View_Smarty->unregister_function('layo in C:\Users\Aurelien\Zend\workspaces\DefaultWorkspace7\teamazerty\library\Zend\Loader\PluginLoader.php on line 412
Par avance merci,
Aurélien