简体   繁体   中英

Zend Framework doesn't show errors

Every error that happens in the server is not shown to me... I tried checking the requisitions in Firebug, but everytime when there is an error, the response fails.

Only "Internal Server Error 500" is displayed.

I think I am missing some concepts... can someone help me, please?

Thanks

You should keep in mind that in development environment you should turn on error display and set your error reporting level to E_ALL .

just write these two lines in your code or in your init() function

error_reporting(E_ALL);
ini_set('display_errors', true);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM