安装ZendFramework运行项目报异常
程序员文章站
2022-06-14 13:06:02
...
安装ZendFramework运行项目报错误
大家好 这个错误如何解决:
Notice: Zend_Loader::Zend_Loader::registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0; use Zend_Loader_Autoloader instead in D:\PHPnow-1.5.5_1\htdocs\ZendFrameworkBlog\library\Zend\Loader.php on line 258
Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (index.php)' in D:\PHPnow-1.5.5_1\htdocs\ZendFrameworkBlog\library\Zend\Controller\Dispatcher\Standard.php:242 Stack trace: #0 D:\PHPnow-1.5.5_1\htdocs\ZendFrameworkBlog\library\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 D:\PHPnow-1.5.5_1\htdocs\ZendFrameworkBlog\index.php(74): Zend_Controller_Front->dispatch() #2 {main} thrown in D:\PHPnow-1.5.5_1\htdocs\ZendFrameworkBlog\library\Zend\Controller\Dispatcher\Standard.php on line 242
多谢
------解决方案--------------------
Notice: Zend_Loader::Zend_Loader::registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0; use Zend_Loader_Autoloader instead in D:\PHPnow-1.5.5_1\htdocs\ZendFrameworkBlog\library\Zend\Loader.php on line 258
这段说的是registerAutoload在1.8.0中停用了,在2.0.0中将被删除。 Zend_Loader_Autoloader来代替。
试试再说。
------解决方案--------------------
require_once (Zend/Loade/Autoloader.php);
$autoloader = Zend_Loader_Autoloader::getInstance();
------解决方案--------------------
require_once (Zend/Loader/Autoloader.php);
$autoloader = Zend_Loader_Autoloader::getInstance();
大家好 这个错误如何解决:
Notice: Zend_Loader::Zend_Loader::registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0; use Zend_Loader_Autoloader instead in D:\PHPnow-1.5.5_1\htdocs\ZendFrameworkBlog\library\Zend\Loader.php on line 258
Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (index.php)' in D:\PHPnow-1.5.5_1\htdocs\ZendFrameworkBlog\library\Zend\Controller\Dispatcher\Standard.php:242 Stack trace: #0 D:\PHPnow-1.5.5_1\htdocs\ZendFrameworkBlog\library\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 D:\PHPnow-1.5.5_1\htdocs\ZendFrameworkBlog\index.php(74): Zend_Controller_Front->dispatch() #2 {main} thrown in D:\PHPnow-1.5.5_1\htdocs\ZendFrameworkBlog\library\Zend\Controller\Dispatcher\Standard.php on line 242
多谢
------解决方案--------------------
Notice: Zend_Loader::Zend_Loader::registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0; use Zend_Loader_Autoloader instead in D:\PHPnow-1.5.5_1\htdocs\ZendFrameworkBlog\library\Zend\Loader.php on line 258
这段说的是registerAutoload在1.8.0中停用了,在2.0.0中将被删除。 Zend_Loader_Autoloader来代替。
试试再说。
------解决方案--------------------
require_once (Zend/Loade/Autoloader.php);
$autoloader = Zend_Loader_Autoloader::getInstance();
------解决方案--------------------
require_once (Zend/Loader/Autoloader.php);
$autoloader = Zend_Loader_Autoloader::getInstance();
相关文章
相关视频
推荐阅读
-
struts2_项目运行报404
-
关于idea运行springboot项目总是报找不到报异常的解决办法
-
linux(center OS7)安装JDK、tomcat、mysql 搭建java web项目运行环境
-
在java代码中运行spark任务报异常org.apache.spark.SparkException: Task not serializable
-
项目运行npm run dev浏览器始终报cannot get /
-
linux环境安装node环境以及项目运行
-
linux(center OS7)安装JDK、tomcat、mysql 搭建java web项目运行环境
-
vue-cli项目在IE下运行钩子函数抛出异常“ReferenceError: “Promise”未定义"”的解决办法
-
解决AndroidStudio项目运行Program type already present异常
-
解决Python3.8运行tornado项目报NotImplementedError错误