Closed Bug 585650 Opened 15 years ago Closed 15 years ago

got cf_ciphase doesn't exist problem when upgrading from 3.2.3 -> 3.6.2,

Categories

(Bugzilla :: Database, defect)

All
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: meghyx, Unassigned)

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; AskTbTRL/5.8.0.12304) Build Identifier: I am upgrading my Bugzilla from 3.2.3 to 3.6.2, in the last step of checksetup.pl, I am getting this error: Adding new column 'visibility_value_id' to the 'cf_ciphase' table... DBD::mysql::db do failed: Table 'bugs_hanna.cf_ciphase' doesn't exist [for State ment "ALTER TABLE cf_ciphase ADD COLUMN visibility_value_id smallint"] at Bugzil la/DB.pm line 511 Bugzilla::DB::bz_add_column('Bugzilla::DB::Mysql=HASH(0x5312854)', 'cf_c iphase', 'visibility_value_id', 'HASH(0x5e9c174)') called at Bugzilla/Install/DB .pm line 3226 Bugzilla::Install::DB::_add_visiblity_value_to_value_tables() called at Bugzilla/Install/DB.pm line 561 Bugzilla::Install::DB::update_table_definitions('HASH(0x1c4a014)') calle d at D:\Bugzilla\checksetup.pl line 198 Reproducible: Always Actual Results: When I log in to my Bugzilla, I try some functions, but got many excpetions. For example, when I go to the admin page and clieck on products, then I am getting this error: Software error: DBD::mysql::db selectall_arrayref failed: Unknown column 'isactive' in 'field list' [for Statement "SELECT id,name,classification_id,description,isactive,votesperuser,maxvotesperbug,votestoconfirm,defaultmilestone,allows_unconfirmed FROM products WHERE id IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ORDER BY name"] at Bugzilla/Object.pm line 271 Bugzilla::Object::_do_list_select('Bugzilla::Product', ' id IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?...', 'ARRAY(0x2ec4974)', undef) called at Bugzilla/Object.pm line 248 Bugzilla::Object::match('Bugzilla::Product', 'HASH(0x2ec29ec)') called at Bugzilla/Object.pm line 174 Bugzilla::Object::new_from_list('Bugzilla::Product', 'ARRAY(0x2d68bcc)') called at Bugzilla/User.pm line 701 Bugzilla::User::get_selectable_products('Bugzilla::User=HASH(0x2c84374)') called at D:\Bugzilla\editproducts.cgi line 116 For help, please send mail to this site's webmaster, giving this error message and the time and date of the error. [Mon Aug 9 11:51:56 2010] editproducts.cgi: DBD::mysql::db selectall_arrayref failed: Unknown column 'isactive' in 'field list' [for Statement "SELECT id,name,classification_id,description,isactive,votesperuser,maxvotesperbug,votestoconfirm,defaultmilestone,allows_unconfirmed FROM products WHERE id IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ORDER BY name"] at Bugzilla/Object.pm line 271 [Mon Aug 9 11:51:56 2010] editproducts.cgi: Bugzilla::Object::_do_list_select('Bugzilla::Product', ' id IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?...', 'ARRAY(0x2ec4974)', undef) called at Bugzilla/Object.pm line 248 [Mon Aug 9 11:51:56 2010] editproducts.cgi: Bugzilla::Object::match('Bugzilla::Product', 'HASH(0x2ec29ec)') called at Bugzilla/Object.pm line 174 [Mon Aug 9 11:51:56 2010] editproducts.cgi: Bugzilla::Object::new_from_list('Bugzilla::Product', 'ARRAY(0x2d68bcc)') called at Bugzilla/User.pm line 701 [Mon Aug 9 11:51:56 2010] editproducts.cgi: Bugzilla::User::get_selectable_products('Bugzilla::User=HASH(0x2c84374)') called at D:\Bugzilla\editproducts.cgi line 116
This is the completed output for the checksetup.pl D:\Bugzilla>checksetup.pl * This is Bugzilla 3.6.2 on perl 5.10.0 * Running on Win2003 Build 3790 (Service Pack 2) Checking perl modules... Checking for CGI.pm (v3.33) ok: found v3.41 Checking for Digest-SHA (any) ok: found v5.47 Checking for TimeDate (v2.21) ok: found v2.22 Checking for DateTime (v0.28) ok: found v0.61 Checking for DateTime-TimeZone (v0.79) ok: found v1.20 Checking for DBI (v1.41) ok: found v1.607 Checking for Template-Toolkit (v2.22) ok: found v2.22 Checking for Email-Send (v2.16) ok: found v2.198 Checking for Email-MIME (v1.861) ok: found v1.903 Checking for Email-MIME-Encodings (v1.313) ok: found v1.313 Checking for Email-MIME-Modifier (v1.442) ok: found v1.903 Checking for URI (any) ok: found v1.37 Checking for Data-Dumper (any) ok: found v2.121_14 Checking available perl DBD modules... Checking for DBD-Pg (v1.45) not found Checking for DBD-mysql (v4.00) ok: found v4.011 Checking for DBD-Oracle (v1.19) ok: found v1.21 The following Perl modules are optional: Checking for GD (v1.20) ok: found v2.41 Checking for Chart (v2.1) ok: found v2.4.1 Checking for Template-GD (any) ok: found v1.56 Checking for GDTextUtil (any) ok: found v0.86 Checking for GDGraph (any) ok: found v1.44 Checking for XML-Twig (any) ok: found v3.34 Checking for MIME-tools (v5.406) ok: found v5.428 Checking for libwww-perl (any) ok: found v5.814 Checking for PatchReader (v0.9.4) ok: found v0.9.5 Checking for perl-ldap (any) ok: found v0.4001 Checking for Authen-SASL (any) ok: found v2.15 Checking for RadiusPerl (any) ok: found v0.17 Checking for SOAP-Lite (v0.710.06) not found Checking for JSON-RPC (any) ok: found v0.96 Use of uninitialized value in open at C:/Perl/site/lib/Test/Taint.pm line 334, < DATA> line 522. Checking for Test-Taint (any) ok: found v1.04 Checking for HTML-Parser (v3.40) ok: found v3.56 Checking for HTML-Scrubber (any) ok: found v0.08 Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.316 Checking for Email-Reply (any) ok: found v1.202 Checking for TheSchwartz (any) not found Checking for Daemon-Generic (any) not found Checking for mod_perl (v1.999022) ok: found v2.000004 Checking for Acme (v1.11) ok: found v1.11111 *********************************************************************** * OPTIONAL MODULES * *********************************************************************** * Certain Perl modules are not required by Bugzilla, but by * * installing the latest version you gain access to additional * * features. * * * * The optional modules you do not have installed are listed below, * * with the name of the feature they enable. Below that table are the * * commands to install each module. * *********************************************************************** * MODULE NAME * ENABLES FEATURE(S) * *********************************************************************** * SOAP-Lite * XML-RPC Interface * * TheSchwartz * Mail Queueing * * Daemon-Generic * Mail Queueing * *********************************************************************** * Note For Windows Users * *********************************************************************** * In order to install the modules listed below, you first have to run * * the following command as an Administrator: * * * * ppm repo add theory58S http://cpan.uwinnipeg.ca/PPMPackages/10xx/ *********************************************************************** COMMANDS TO INSTALL OPTIONAL MODULES: SOAP-Lite: ppm install SOAP-Lite TheSchwartz: ppm install TheSchwartz Daemon-Generic: ppm install Daemon-Generic Reading ./localconfig... OPTIONAL NOTE: If you want to be able to use the 'difference between two patches' feature of Bugzilla (which requires the PatchReader Perl module as well), you should install patchutils from: http://cyberelk.net/tim/patchutils/ Checking for DBD-mysql (v4.00) ok: found v4.011 Checking for MySQL (v4.1.2) ok: found v5.1.30-community Removing existing compiled templates... Precompiling templates...done. Adding new column 'visibility_value_id' to the 'cf_ciphase' table... DBD::mysql::db do failed: Table 'bugs_hanna.cf_ciphase' doesn't exist [for State ment "ALTER TABLE cf_ciphase ADD COLUMN visibility_value_id smallint"] at Bugzil la/DB.pm line 511 Bugzilla::DB::bz_add_column('Bugzilla::DB::Mysql=HASH(0x5312854)', 'cf_c iphase', 'visibility_value_id', 'HASH(0x5ebb734)') called at Bugzilla/Install/DB .pm line 3226 Bugzilla::Install::DB::_add_visiblity_value_to_value_tables() called at Bugzilla/Install/DB.pm line 561 Bugzilla::Install::DB::update_table_definitions('HASH(0x1c4a014)') calle d at D:\Bugzilla\checksetup.pl line 198
Assignee: Jan.Varga → database
Component: SQL → Database
Product: Core → Bugzilla
QA Contact: omarshall → default-qa
Thanks for your bug report. The error indicates that you have customized your database in some way having to do with the cf_ciphase field--some way that checksetup.pl doesn't understand. Probably your best bet at this point is to search the archives of the support-bugzilla mailing list, which is described here: http://www.bugzilla.org/support/
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.