YAFLogo

snichols@atpe.org
8 years ago
If the file extension type .docx is allowed (which is not by default) the dbo.yaf_Attachment.ContentType column is only set to allow 50 characters. This is not sufficient for a successful upload of any .docx file, NOTE: there are other content-type(s) out there that are even longer. To fix the error increase the size of the ContentType column from 50 to whatever the MAX Length is for your file types.

See attached images for error & table / column references.

See this link for a list of common file-types for microsoft files: Content Types Microsoft file extensions. 

Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
8 years ago
Thanks, fix will be inlcluded in 2.1.2