0

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.

andre487
  • 1,261
  • 2
  • 18
  • 27
  • 'Looks like usual content', but did you save it to disk and view? –  Sep 17 '13 at 10:07
  • Yes, did. XnView throws an error when I tried to open this file. Then I opened file with Notepad++ and saw this "usual content". – andre487 Sep 17 '13 at 10:22

1 Answers1

0

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.

andre487
  • 1,261
  • 2
  • 18
  • 27