YAF Run Error: Class ' yaf_application ' not found

Source: Internet
Author: User

Tip: Fatal error Yaf_application base class not loaded in

One check: Phpinfo () in the YAF extension there is no installation on

The extension is also installed in this case, the rewrite of the distributed configuration file is also correct

At this time, no solution, no way to find Google, because the first contact with this extended framework, there is no solution to the final copy of my project in his environment to run normal

Finally check this configuration

I found the Yaf.use_namespace (namespace) opened when I installed it.

Decisively closes the namespace in PHP.ini (originally opened in php.ini)

Because the new class is not written in the namespace class.

Normal display.

For setup details see the manual: http://www.laruence.com/manual/

Summary: Encountering a problem according to the prompt error message to the traced error is the most advantageous clue whether you are living Bao Zheng to see you can see the error hints can be inferred errors of various reasons for troubleshooting!

YAF Run Error: Class ' yaf_application ' not found

Related Article

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.