Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

CDBException displaying PHP internals

$
0
0
Much like in this post, http://www.yiiframework.com/forum/index.php/topic/72143-cdbexception/

Instead of routing to the site/error, it's displaying the PHP code to the end user. Ideally, I'd like to, if my IP show the PHP code error so I can resolve/debug and when they encounter it, I can 404 them and send myself an email with the requested URL.

My local development machine doesn't reproduce this issue! It goes to the site/error and shows 404. I thought it had to do with error_reporting() but unless it's not for some reason accepting my settings, it's still displaying. I'm not sure how to write a good google search for this scenario. Sorry if it's something obvious, I'd hoped that someone could say definitively, that it is XYZ or error_reporting or an apache (.htaccess) setting or....

Thank you in advance for your time. This is a legacy 1.1.x project

Viewing all articles
Browse latest Browse all 18717

Trending Articles