Update Model/Behavior/UploadBehavior.php

line 1048 to 1052 fix the error log 2013-02-17 14:02:22 Warning: Warning (2): imagepng() [<a href='http://php.net/function.imagepng'>function.imagepng</a>]: gd-png error: compression level must be 0 through 9 in