I'd found an error. It was a space before PHP open tag in top of base controller file. And now the bug is fixed.
Yii: Corrupted image in CCaptcha [closed]
题
I have a trouble with the CCaptcha widget. Image is corrupted. Headers are looks right. When I tried to list an image as a text, I didn't find any text inclusions, it's looks like as a usual PNG content.
When I created an another webapp on the same framework instance, CCaptcha works correctly, but in my first webapp have a trouble.
In my case GD library is used. Access filter is not used.
解决方案
不隶属于 StackOverflow