Boa tarde estou com o seguinte problema no Zend Framework
Alguém sabe me dizer o porque desse erro:
Fatal error: Cannot redeclare class Zend_Loader in C:\xampp\htdocs\ZF\library\Zend\Loader.php on line 31
ele é por causa dessa linha:
include('../library/Zend/Loader.php');
se eu deixo ela como está especificado no livro, assim:
include('Zend/Loader.php'); //Aqui dá um Warning -> Include Filename: 'Zend/Loader.php' doesn't exist in project 'C:/Xampp/htdocs/PHP_Zend/'
dá esse erro:
Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (index.php)' in C:\xampp\htdocs\ZF\library\Zend\Controller\Dispatcher\Standard.php:193 Stack trace: #0 C:\xampp\htdocs\ZF\library\Zend\Controller\Front.php(911): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 C:\xampp\htdocs\PHP_Zend\Booba\index.php(153): Zend_Controller_Front->dispatch() #2 {main} thrown in C:\xampp\htdocs\ZF\library\Zend\Controller\Dispatcher\Standard.php on line 193
Se alguém puder ajudar este iniciante no Zend Framework
ficarei mais feliz
Obrigado pela atenção
Att
Alysson Vinicius



