You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while updating form when i upload new image causing errors
code:
$input = array_except(Input::all(), '_method');
$validation = Validator::make($input, Owner::$rules);
The Input::all() method doesn't contain uploaded file data. You'll have to access the uploaded file from Input::file() and set the attachment property (whatever that may be) on the model. There are various examples of this throughout Stapler's documentation.
hi tabennett thank you for reply.
My issue is solved . Problem is in the view file i am using {{{ $owner->owner_logo }}}
which is an object it requires string.
Activity
tabennett commentedon Nov 29, 2013
The Input::all() method doesn't contain uploaded file data. You'll have to access the uploaded file from Input::file() and set the attachment property (whatever that may be) on the model. There are various examples of this throughout Stapler's documentation.
saikiranvarma commentedon Nov 30, 2013
hi tabennett thank you for reply.
My issue is solved . Problem is in the view file i am using {{{ $owner->owner_logo }}}
which is an object it requires string.