I’m trying to hide the nasty PHP errors from my users. I thought, if I turn the DEBUG off (remove it) it’ll just show a white page instead. But it’s still showing an error message … how can I disable that, or overwrite it so it fits into my design.
Define YII_ENABLE_ERROR_HANDLER and YII_ENABLE_EXCEPTION_HANDLER as false in your entry script, or handle onError and onException events raised in CApplication.