We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

SQL error using MarK Huot file upload from SAEF

Development and Programming

ummedia's avatar
ummedia
462 posts
16 years ago
ummedia's avatar ummedia

I have been following another thread and thought id have a go.

I loaded and installed Mark Huots upload successfully using the control panel. I am now trying to get it working using the SAEF I follewed the thread tht explains what to do I have even stripped out everything else from the entry form. But I keep getting the same error on submission. I am not really up on mysql could anybody give me some poiters on what I might be doing wrong

<input type="hidden" name="field_id_47" value="" />
<input name="field_id_47_img[]" type="file" class="file" />

MySQL ERROR:

Error Number: 1054

Description: Unknown column ‘field_id_47_img’ in ‘field list’

Query: INSERT INTO exp_weblog_data (entry_id, weblog_id, field_id_47, field_id_47_img, field_id_47_img_0, site_id) VALUES (‘76’, ‘2’, ”, ‘Array’, ‘SEIKO02A158-503A.JPG’, ‘1’)

many thanks

Adam

       
ummedia's avatar
ummedia
462 posts
16 years ago
ummedia's avatar ummedia

I know its sunday but can anyone give me advice on this, its so cool I have just managed(with help) to create a custom SAEF for my weblog and this is the only bit I cant get my head around.

fingers crossed

Adam

       
ummedia's avatar
ummedia
462 posts
16 years ago
ummedia's avatar ummedia

Its monday, someone else must have used this way of uploading an image with the saef. All I want to do is upload an image and have it resized by width. I dont need a thumnail as I am using the resizer. Maybe I am going about this the wrong way. Any assistance please. Adam

       
nate@creativebyhamilton.com's avatar
[email protected]
119 posts
15 years ago
nate@creativebyhamilton.com's avatar [email protected]

I’m having the same issues here, any help would be GREATLY appreciated! Did you ever figure it out?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.