Projects ⇒ Bugs ⇒ #91: Installer upgrade error bbattach ⇒ CPG Dragonfly™ CMS
Bug #91 Installer upgrade error bbattach
Project: Dragonfly 9.0 -> 9.0.2 Category: *CPG Core Issues
Submitted: Sunday, December 12, 2004 (02:16:04) Modified: Friday, December 17, 2004 (06:58:12)
Status: Closed Assigned to:
PHP Version: 4.3.9 HTTPD Server: Apache 1.3

View/Vote Add Comment

by: Phoenix
Description:
------------
A couple of users have experienced problems with the field 'auth_download' not being added to their forum tables when upgrading from 8.2.

The problem seems to arise in install/mysql/upgrade/bb.php from line 35, where it only adds the fields if the version is before 8.2 - however, bbattach was not a standard install for 8.2.

btw, unless I missed something, the bug reporter needs an "installer" category.

Reproduce code:
---------------
// 8.1 -> 8.2
if ($version < 8.2) {
// phpBB attach_mod
$installer->add_query('ADD', 'bbauth_access', 'auth_download TINYINT(1) DEFAULT "0" NOT NULL', 'auth_download');

$installer->add_query('ADD', 'bbforums', 'auth_download TINYINT(1) DEFAULT "0" NOT NULL', 'auth_download');
$installer->add_query('ADD', 'bbposts', 'post_attachment TINYINT(1) DEFAULT "0" NOT NULL', 'post_attachment');
$installer->add_query('ADD', 'bbprivmsgs', 'privmsgs_attachment TINYINT(1) DEFAULT "0" NOT NULL', 'privmsgs_attachment');
$installer->add_query('ADD', 'bbtopics', 'topic_attachment TINYINT(1) DEFAULT "0" NOT NULL', 'topic_attachment');
}
by: DJMaze
This bug has been fixed in the CVS.

Snapshots of the sources are packaged every 6 hours; this change
will be in the next snapshot. You can grab the snapshot at the
Downloads section.

Thank you for the report, and for helping us to make CPG-Nuke CVS for 9.0 better.
User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español