Closed
Bug 386700
Opened 19 years ago
Closed 19 years ago
Error Occur when i dump mysql data from already existing bugs - database
Categories
(Bugzilla :: Installation & Upgrading, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: rchilappagari, Unassigned)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)
Build Identifier: Bugzilla 3.0 , MySQL 5
Bugzilla has suffered an internal error. Please save this page and send it to THE MAINTAINER HAS NOT YET BEEN SET with details of what you were doing at the time this message appeared.
Template->process() failed twice.
First error: undef error - DBD::mysql::db selectrow_array failed: Unknown column 'subclass' in 'field list' [for Statement "SELECT subclass FROM setting WHERE name = ?"] at Bugzilla/User/Setting.pm line 102 Bugzilla::User::Setting::new('Bugzilla::User::Setting', 'comment_sort_order', 0, 1, 'oldest_to_newest', 'oldest_to_newest', 1) called at Bugzilla/User/Setting.pm line 214 Bugzilla::User::Setting::get_defaults() called at Bugzilla/User.pm line 344 Bugzilla::User::settings('Bugzilla::User=HASH(0x2af2e4)') called at D:/Perl/site/lib/Template/Stash.pm line 752 eval {...} called at D:/Perl/site/lib/Template/Stash.pm line 752 Template::Stash::_dotop('Template::Stash=HASH(0x38f7058)', 'Bugzilla::User=HASH(0x2af2e4)', 'settings', 0) called at D:/Perl/site/lib/Template/Stash.pm line 517 Template::Stash::get('Template::Stash=HASH(0x38f7058)', 'ARRAY(0x39a8f2c)') called at data\template\template\en\default\global\header.html.tmpl line 112 eval {...} called at data\template\template\en\default\global\header.html.tmpl line 16 Template::Provider::__ANON__('Template::Context=HASH(0x38c0080)') called at D:/Perl/site/lib/Template/Document.pm line 155 eval {...} called at D:/Perl/site/lib/Template/Document.pm line 153 Template::Document::process('Template::Document=HASH(0x3986ff8)', 'Template::Context=HASH(0x38c0080)') called at D:/Perl/site/lib/Template/Context.pm line 350 eval {...} called at D:/Perl/site/lib/Template/Context.pm line 320 Template::Context::process('Template::Context=HASH(0x38c0080)', 'global/header.html.tmpl', 'HASH(0x39438e0)') called at data\template\template\en\default\index.html.tmpl line 25 eval {...} called at data\template\template\en\default\index.html.tmpl line 16 Template::Provider::__ANON__('Template::Context=HASH(0x38c0080)') called at D:/Perl/site/lib/Template/Document.pm line 155 eval {...} called at D:/Perl/site/lib/Template/Document.pm line 153 Template::Document::process('Template::Document=HASH(0x3929c14)', 'Template::Context=HASH(0x38c0080)') called at D:/Perl/site/lib/Template/Context.pm line 350 eval {...} called at D:/Perl/site/lib/Template/Context.pm line 320 Template::Context::process('Template::Context=HASH(0x38c0080)', 'Template::Document=HASH(0x3929c14)') called at D:/Perl/site/lib/Template/Service.pm line 97 eval {...} called at D:/Perl/site/lib/Template/Service.pm line 94 Template::Service::process('Template::Service=HASH(0x3661b6c)', 'index.html.tmpl', 'HASH(0x3536ed8)') called at D:/Perl/site/lib/Template.pm line 71 Template::process('Bugzilla::Template=HASH(0x36246fc)', 'index.html.tmpl', 'HASH(0x3536ed8)') called at C:\Bugzilla\index.cgi line 71
Second error: undef error - DBD::mysql::db selectrow_array failed: Unknown column 'subclass' in 'field list' [for Statement "SELECT subclass FROM setting WHERE name = ?"] at Bugzilla/User/Setting.pm line 102 Bugzilla::User::Setting::new('Bugzilla::User::Setting', 'comment_sort_order', 0, 1, 'oldest_to_newest', 'oldest_to_newest', 1) called at Bugzilla/User/Setting.pm line 214 Bugzilla::User::Setting::get_defaults() called at Bugzilla/User.pm line 344 Bugzilla::User::settings('Bugzilla::User=HASH(0x2af2e4)') called at D:/Perl/site/lib/Template/Stash.pm line 752 eval {...} called at D:/Perl/site/lib/Template/Stash.pm line 752 Template::Stash::_dotop('Template::Stash=HASH(0x35515d4)', 'Bugzilla::User=HASH(0x2af2e4)', 'settings', 0) called at D:/Perl/site/lib/Template/Stash.pm line 517 Template::Stash::get('Template::Stash=HASH(0x35515d4)', 'ARRAY(0x3943d18)') called at data\template\template\en\default\global\header.html.tmpl line 112 eval {...} called at data\template\template\en\default\global\header.html.tmpl line 16 Template::Provider::__ANON__('Template::Context=HASH(0x38c0080)') called at D:/Perl/site/lib/Template/Document.pm line 155 eval {...} called at D:/Perl/site/lib/Template/Document.pm line 153 Template::Document::process('Template::Document=HASH(0x3986ff8)', 'Template::Context=HASH(0x38c0080)') called at D:/Perl/site/lib/Template/Context.pm line 350 eval {...} called at D:/Perl/site/lib/Template/Context.pm line 320 Template::Context::process('Template::Context=HASH(0x38c0080)', 'global/header.html.tmpl') called at data\template\template\en\default\global\code-error.html.tmpl line 1780 eval {...} called at data\template\template\en\default\global\code-error.html.tmpl line 16 Template::Provider::__ANON__('Template::Context=HASH(0x38c0080)') called at D:/Perl/site/lib/Template/Document.pm line 155 eval {...} called at D:/Perl/site/lib/Template/Document.pm line 153 Template::Document::process('Template::Document=HASH(0x3a4b2f4)', 'Template::Context=HASH(0x38c0080)') called at D:/Perl/site/lib/Template/Context.pm line 350 eval {...} called at D:/Perl/site/lib/Template/Context.pm line 320 Template::Context::process('Template::Context=HASH(0x38c0080)', 'Template::Document=HASH(0x3a4b2f4)') called at D:/Perl/site/lib/Template/Service.pm line 97 eval {...} called at D:/Perl/site/lib/Template/Service.pm line 94 Template::Service::process('Template::Service=HASH(0x3661b6c)', 'global/code-error.html.tmpl', 'HASH(0x35fcae8)') called at D:/Perl/site/lib/Template.pm line 71 Template::process('Bugzilla::Template=HASH(0x36246fc)', 'global/code-error.html.tmpl', 'HASH(0x35fcae8)') called at Bugzilla/Error.pm line 130 Bugzilla::Error::ThrowTemplateError('Template::Exception=ARRAY(0x39a5e48)') called at C:\Bugzilla\index.cgi line 71
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•19 years ago
|
||
Did you run checksetup.pl before going to index.cgi? Could you paste its output?
Yes, the scenario is before i dump the existing bugs database from other server, it was working fine. but the above error comes after i import the bugs database from other server to this server.
and the below error i got when i run checksetup.pl
Adding new table component_cc ...
DBD::mysql::db do failed: Table 'component_cc' already exists at Bugzilla/DB.pm
line 595
Bugzilla::DB::_bz_add_table_raw('Bugzilla::DB::Mysql=HASH(0x5a6c158)', '
component_cc') called at Bugzilla/DB.pm line 570
Bugzilla::DB::bz_add_table('Bugzilla::DB::Mysql=HASH(0x5a6c158)', 'compo
nent_cc') called at Bugzilla/DB.pm line 413
Bugzilla::DB::bz_setup_database('Bugzilla::DB::Mysql=HASH(0x5a6c158)') c
alled at Bugzilla/DB/Mysql.pm line 466
Bugzilla::DB::Mysql::bz_setup_database('Bugzilla::DB::Mysql=HASH(0x5a6c1
58)') called at checksetup.pl line 144
Comment 3•19 years ago
|
||
This is some support problem. Make sure you drop the entire database and re-create it before you import the mysql dump. If you have further questions, ask on the support list:
http://www.bugzilla.org/support/
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•