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 could not be recorded in the database

Development and Programming

skodaminotti's avatar
skodaminotti
105 posts
8 years ago
skodaminotti's avatar skodaminotti

Any time I go to upload a file I get this error: “File could not be recorded in the database.” It doesn’t matter if it’s within a channel entry, file manager, etc. All paths are correct to file upload destinations as well as permissions.

This problem stemmed from this initial issue I had here https://ellislab.com/forums/viewthread/249411/ but it seems I haven’t totally fixed the problem. Any idea on how to fix this or where to look?

       
skodaminotti's avatar
skodaminotti
105 posts
8 years ago
skodaminotti's avatar skodaminotti

I seem to have found out the overall issue. When I imported my db, for some reason, no primary keys or indexes were set. Auto_Increment wasn’t set either on my primary keys.

I’m having to check each tables structure in the broken db with the working (exported from) database. WHAT. A. PAIN.

       

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.