MyBB Community Forums

Full Version: Unknown column 'forcedownload' in 'field list' - FIX
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
New MyBB 1.8.27 installations may encounter the following error when editing attachment types:

Unknown column 'forcedownload' in 'field list'

To fix this, please run the following MySQL query in phpMyAdmin:

alter table mybb_attachtypes add forcedownload tinyint(1) NOT NULL default '0' AFTER enabled

This problem will also be fixed in the next maintenance release (https://github.com/mybb/mybb/issues/4423).
Hi 
This help with 1 part of my problem. 
So now i can edit, fix and update my attchment section. But when i trying to upload something ive got this :

(2021-08-24, 12:56 PM)zatto Wrote: [ -> ]Hi 
This help with 1 part of my problem. 
So now i can edit, fix and update my attchment section. But when i trying to upload something ive got this :

I manage to fix it. 
I manulay change mybb_attachments column in phpmyadmin.  
[attachment=44317]
(2021-08-17, 03:32 PM)Matt Wrote: [ -> ]New MyBB 1.8.27 installations may encounter the following error when editing attachment types:

Unknown column 'forcedownload' in 'field list'

To fix this, please run the following MySQL query in phpMyAdmin:

alter table mybb_attachtypes add forcedownload tinyint(1) NOT NULL default '0' AFTER enabled

This problem will also be fixed in the next maintenance release (https://github.com/mybb/mybb/issues/4423).

Hello,

I tried this out, because i got the error which you can see below, but it did not work.
is there a fix for this?
I am on the latest version of MyBB.

Thanks!
You need to change the table prefix in the query to mybb21_ as you've changed it from the default of mybb_

alter table mybb21_attachtypes add forcedownload tinyint(1) NOT NULL default '0' AFTER enabled