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

File Field MySQL Error

Development and Programming

herbageonion's avatar
herbageonion
57 posts
16 years ago
herbageonion's avatar herbageonion

Getting the following error while trying to save/upload a File with nGen File Field for FieldFrame

MySQL ERROR:

Error Number: 1054

Description: Unknown column 'field_id_26_file_name' in 'field list'

Query: INSERT INTO `exp_weblog_data` (`entry_id`, `weblog_id`, `field_ft_26`, `field_id_26`, `field_id_27`, `field_ft_27`, `field_id_28`, `field_id_26_file_name`, `field_id_26_existing`, `field_ft_28`, `field_dt_28`, `site_id`) VALUES ('110', '6', 'none', 'Array', 'This is a test', 'br', '1246623323', '', 'Mario.jpg', 'none', '', '1')

Can anyone help?

Moved to Extensions by Moderator

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
16 years ago
Sue Crocker's avatar Sue Crocker

Hi, eoghanobrian.

We don’t provide direct support for third party addons. Moving to the Extensions forum, where the author or others can help out.

       
Joobs's avatar
Joobs
362 posts
16 years ago
Joobs's avatar Joobs

I can’t offer any direct support, but do you have php5, and the latest versions of EE, FieldFrame, and nGen file?

       
herbageonion's avatar
herbageonion
57 posts
16 years ago
herbageonion's avatar herbageonion
I can’t offer any direct support, but do you have php5, and the latest versions of EE, FieldFrame, and nGen file?

Hi Joobs, I have EE 1.6.7 latest build and nGen File Field v0.9.10, I wasn’t using the latest version of FieldFrame (v.1.2.0) up to about 5 minutes ago, when i installed v1.2.0 EE completely died on me, display_errors is on, error_reporting is set to E_ALL but I still just get a blank screen.

Things have actually got worse! :(

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
16 years ago
Sue Crocker's avatar Sue Crocker

What about the amount of memory allocated to PHP?

       
herbageonion's avatar
herbageonion
57 posts
16 years ago
herbageonion's avatar herbageonion
What about the amount of memory allocated to PHP?

Maybe but EE has completely died after updating the FieldFrame extension so I cant really test the entry form, any ideas what would cause a blank screen after updating an extension (error_reporting set to E_ALL and display_errors set to On)

       
pirco's avatar
pirco
218 posts
16 years ago
pirco's avatar pirco

my site just died also. I also just updated Field Frame from version 1.1.2 to version 1.2.0 with nGen File Field v.0.9.8. I realized that this combination didn’t work so I downgraded Field Frame from 1.2.0 back to 1.1.2 and now all I get is this error message

MySQL ERROR: Error Number: 1054 Description: Unknown column ‘site_id’ in ‘where clause’ Query: SELECT * FROM xxx_ff_fieldtypes WHERE site_id = “1” AND enabled = “y”

(I know this forum is not supporting any 3rd parties but I thought it was funny - in a sad way - that I got the same issue)

EDIT: and this is on the latest build of EE 1.6.7 running PHP 5.2.8. now I just hope that I can salvage my database

       
pirco's avatar
pirco
218 posts
16 years ago
pirco's avatar pirco

ok. seems like I found a solution. first, I upgraded to nGen File Field v.0.9.10 once there, I still got an error… another MySQL error 1054 but this time with an “Unknown column “_upload_prefs” so on line 663 and 686 of the file ft.ngen_file_field.php (in system/extensions/fieldtypes/ngen_file_field) I took out the underscore before “_upload_prefs” (so now it reads “upload_prefs” because that underscore is automatically added as part of the db_prefix variable.

anyway. if anyone is in the same boat, they might understand the fix…

hth.

       
herbageonion's avatar
herbageonion
57 posts
16 years ago
herbageonion's avatar herbageonion

I have since installed FieldFrame v1.2.0 and nGen’s File Field successfully (as in it doesn’t crash EE anymore) however I’m still getting the MySQL error:

MySQL ERROR:

Error Number: 1054

Description: Unknown column 'field_id_26_file_name' in 'field list'

Query: INSERT INTO `exp_weblog_data` (`entry_id`, `weblog_id`, `field_ft_26`, `field_id_26`, `field_id_27`, `field_ft_27`, `field_id_28`, `field_id_26_file_name`, `field_id_26_existing`, `field_ft_28`, `field_dt_28`, `site_id`) VALUES ('110', '6', 'none', 'Array', 'This is a test', 'br', '1246623323', '', 'Mario.jpg', 'none', '', '1')
       

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.