MyBB Community Forums

Full Version: What is the cause of this problem when modifying the JPG attachment configuration?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi
What is the cause of this problem when modifying the JPG attachment configuration?
thanks
[attachment=44313]
Go to your phpmyadmin and run this SQL
 alter table mybb_attachtypes add forcedownload tinyint(1) NOT NULL default '0' AFTER enabled 

Make sure your database table prefix is "mybb_"

if it's different then change the prefix in SQL
(2021-08-23, 04:20 PM) Wrote: [ -> ]PARADOXPGo to your phpmyadmin and run this SQL
 alter table mybb_attachtypes add forcedownload tinyint(1) NOT NULL default '0' AFTER enabled 

Make sure your database table prefix is "mybb_"

if it's different then change the prefix in SQL

Thank you for your reply. Is there an official explanation for this?
There's a pinned thread: https://community.mybb.com/thread-233324.html

The column was added in an upgrade but not added to the table schema for new installs.