An error occurred while installing the ZendFramework running project.

Source: Internet
Author: User
Tags autoloader
An error is reported when ZendFramework is installed to run the project. how can this problem be solved? Notice: Zend_Loader: registerAutoloadisdeprecatedasof1.8.0andwillberemovedwith error is reported when ZendFramework is installed
Hello everyone, how to solve this error:
Notice: Zend_Loader: registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0; use your 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): dispatch-> 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
Thanks

------ Solution --------------------
Notice: Zend_Loader: registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0; use your instead in D: \ PHPnow-1.5.5_1 \ htdocs \ ZendFrameworkBlog \ library \ Zend \ Loader. php on line 258
In this section, registerAutoload is disabled in 1.8.0 and will be deleted in 2.0.0. Instead of Zend_Loader_Autoloader.

Try again.
------ Solution --------------------
Require_once (Zend/Loade/Autoloader. php );
$ Autoloader = Zend_Loader_Autoloader: getInstance ();
------ Solution --------------------
Require_once (Zend/Loader/Autoloader. php );
$ Autoloader = Zend_Loader_Autoloader: getInstance ();

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.