zend framework 不同的版本是有明显区别的
很多用法,函数不太一样。
请确定你的教程与你的版本是一致的。

解决方案 »

  1.   

    Fatal error: Uncaught exception 'Zend_Exception' with message 'File "controllers/IndexController.php" was not found.' in /home/myprogram/php/zend/library/Zend.php:190 Stack trace: #0 /home/myprogram/php/zend/library/Zend.php(87): Zend::loadFile('IndexController...', 'controllers', true) #1 /home/myprogram/php/zend/library/Zend/Controller/Dispatcher.php(170): Zend::loadClass('IndexController', 'controllers') #2 /home/myprogram/php/zend/library/Zend/Controller/Dispatcher.php(136): Zend_Controller_Dispatcher->_dispatch(Object(Zend_Controller_Dispatcher_Token), true) #3 /home/myprogram/php/zend/library/Zend/Controller/Front.php(254): Zend_Controller_Dispatcher->dispatch(Object(Zend_Controller_Dispatcher_Token)) #4 /home/myprogram/php/zend/index.php(10): Zend_Controller_Front->dispatch() #5 {main} thrown in /home/myprogram/php/zend/library/Zend.php on line 190
      

  2.   

    controllers/IndexController.php 这个文件未找到
      

  3.   

    File "controllers/IndexController.php" was not found