I have a model where I store a name of a file which I upload using same models form.
inside form:
... <div class="row"> <?php echo CHtml::error($model, 'file')?> <?php echo CHtml::activeFileField($model, 'file')?> </div> ...
I get this error inside my application log:
[warning] [application] Failed to set unsafe attribute "file" of "Carpics".
Can I make file safe at all if its not part of my model?
so how can I avoid that error?

Help











