I am using CHtml::activeFileField as -
And $model is an object of model DefaultConfiguration having field name Logo. But I am not able to upload file. I saw my view source and it is like -
<input id="ytLogo" type="hidden" value="" name="Logo" /> <input name="Logo" id="Logo" type="file" />
I just looked at the name of the file field and it is logo instead of DefaultConfiguration[Logo] So it is not coming into my _POST[DefaultConfiguration] array.
Please help me?
Thanks in adv.