Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Bug Fix for XLXS and DOCX
This discussion is related to the fileupload addon.
I ran into a problem not being able to upload xlxs and docx files. The garden_Media.Type column is limited to 64 characters and php for these files was returning something like:
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Which is 65 characters.
The fix is to change the column type to 128 characters and change line 520 in class.fileupload.plugin.php from:
to
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Which is 65 characters.
The fix is to change the column type to 128 characters and change line 520 in class.fileupload.plugin.php from:
->Column('Type', 'varchar(64)')
to
->Column('Type', 'varchar(128)')
0
Comments
Vanilla Forums COO [GitHub, Twitter, About.me]