Hi,

I am using Linux (Fedora 4). I have installed Bugzilla 3.0.6 (Stable Release) using the following installation steps. Bugzilla works fine.

1. Downloaded bugzilla-3.0.6.tar.gz (Stable Release) from http://www.bugzilla.org/download/
2. tar zxvf bugzilla-3.0.6.tar.gz to /var/www/html/bugzilla
3. Ran perl ./checksetup.pl
4. Installed the Dependencies.
5. Created Database account for Bugzilla.
6. Once again ran the perl ./checksetup.pl
7. Created administrator user accounts when it was asked.
8. Restarted httpd service.

Opened the browser and entered my Bugzilla URL. Bugzilla works fine.

Then I tried to install Testopia 2.1 on my Bugzilla 3.0.6, I have not been successful at all.

I have followed the below steps to install testopia:

1. Downloaded testopia-2.1.tar.gz from http://www.mozilla.org/projects/testopia/
2. untar the tarball in my bugzilla top level directory
tar xzvf testopia-2.1.tar.gz
3. Then started patching the Bugzilla files.
patch -p0 -i testopia/patch-3.0.x

When applied the patch i have noticed that one of the patch failed to apply...

[root@localhost bugzilla]# patch -p0 -i testopia/patch-3.0.x
patching file Bugzilla/User.pm
patching file Bugzilla/Error.pm
patching file Bugzilla/Constants.pm
Hunk #2 succeeded at 353 (offset 1 line).
patching file template/en/default/global/header.html.tmpl
patching file template/en/default/global/common-links.html.tmpl
Hunk #1 FAILED at 103.
1 out of 1 hunk FAILED -- saving rejects to file template/en/default/global/common-links.html.tmpl.rej
patching file editusers.cgi
patching file votes.cgi
patching file Bugzilla/WebService/User.pm
Hunk #1 succeeded at 116 (offset 6 lines).
patching file Bugzilla/Install/Filesystem.pm
Hunk #2 succeeded at 153 with fuzz 1.
Hunk #3 succeeded at 169 (offset 2 lines).
patching file Bugzilla/DB/Mysql.pm
Hunk #1 succeeded at 625 (offset 12 lines).
patching file Bugzilla/Bug.pm
Hunk #1 succeeded at 1339 (offset 25 lines).

4. Finally ran the perl ./checksetup.pl

[root@localhost bugzilla]# perl ./checksetup.pl

* This is Bugzilla 3.0.6 on perl 5.8.6
* Running on Linux 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005

Checking perl modules...
Checking for CGI.pm (v2.93) ok: found v3.42
Checking for TimeDate (v2.21) ok: found v2.22
Checking for DBI (v1.41) ok: found v1.48
Checking for PathTools (v0.84) ok: found v3.01
Checking for Template-Toolkit (v2.12) ok: found v2.20
Checking for Email-Send (v2.00) ok: found v2.192
Checking for Email-MIME (v1.861) ok: found v1.861
Checking for Email-MIME-Modifier (v1.442) ok: found v1.442
Checking for JSON (v2.10) ok: found v2.10
Checking for Text-Diff (v0.35) ok: found v0.35
Checking for GD-Graph3d (v0.63) ok: found v0.63

Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v2.9003) ok: found v2.9007

The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.41
Checking for Template-GD (any) ok: found v1.56
Checking for Chart (v1.0) ok: found v2.4.1
Checking for GDGraph (any) ok: found v1.44
Checking for GDTextUtil (any) ok: found v0.86
Checking for XML-Twig (any) ok: found v3.17
Checking for MIME-tools (v5.406) ok: found v5.427
Checking for libwww-perl (any) ok: found v2.033
Checking for PatchReader (v0.9.4) ok: found v0.9.5
Checking for PerlMagick (any) not found
Checking for perl-ldap (any) ok: found v0.33
Checking for SOAP-Lite (any) ok: found v0.710.08
Checking for HTML-Parser (v3.40) ok: found v3.45
Checking for HTML-Scrubber (any) ok: found v0.08
Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.315
Checking for Email-Reply (any) ok: found v1.202
Checking for mod_perl (v1.999022) not found
Checking for CGI.pm (v3.11) ok: found v3.42
Checking for Text-CSV (v1.06) ok: found v1.10

* NOTE: You must run any commands listed below as root.

**********************************************************************
* 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. If you want to install *
* one of these modules, just run the appropriate command in the *
* "COMMANDS TO INSTALL" section. *
**********************************************************************

***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* PerlMagick * Optionally Convert BMP Attachments to PNGs *
* mod_perl * mod_perl *
***********************************************************************
COMMANDS TO INSTALL:

PerlMagick: /usr/bin/perl -MCPAN -e 'install "Image::Magick"'
mod_perl: /usr/bin/perl -MCPAN -e 'install "mod_perl2"'
Reading ./localconfig...
Checking for DBD-mysql (v2.9003) ok: found v2.9007
Checking for MySQL (v4.1.2) ok: found v4.1.11

Adding new table test_attachment_data ...
Adding new table test_attachments ...
Adding new table test_builds ...
Adding new table test_case_activity ...
Adding new table test_case_attachments ...
Adding new table test_case_bugs ...
Adding new table test_case_categories ...
Adding new table test_case_components ...
Adding new table test_case_dependencies ...
Adding new table test_case_plans ...
Adding new table test_case_run_status ...
Adding new table test_case_runs ...
Adding new table test_case_status ...
Adding new table test_case_tags ...
Adding new table test_case_texts ...
Adding new table test_cases ...
Adding new table test_email_settings ...
Adding new table test_environment_category ...
Adding new table test_environment_element ...
Adding new table test_environment_map ...
Adding new table test_environment_property ...
Adding new table test_environments ...
Adding new table test_events ...
Adding new table test_fielddefs ...
Adding new table test_named_queries ...
Adding new table test_plan_activity ...
Adding new table test_plan_attachments ...
Adding new table test_plan_permissions ...
Adding new table test_plan_permissions_regexp ...
Adding new table test_plan_tags ...
Adding new table test_plan_texts ...
Adding new table test_plan_types ...
Adding new table test_plans ...
Adding new table test_relationships ...
Adding new table test_run_activity ...
Adding new table test_run_cc ...
Adding new table test_run_tags ...
Adding new table test_runs ...
Adding new table test_tags ...
Creating ./skins/custom/IE-fixes.css...
Creating ./skins/custom/admin.css...
Creating ./skins/custom/buglist.css...
Creating ./skins/custom/create_attachment.css...
Creating ./skins/custom/dependency-tree.css...
Creating ./skins/custom/duplicates.css...
Creating ./skins/custom/editusers.css...
Creating ./skins/custom/global.css...
Creating ./skins/custom/index.css...
Creating ./skins/custom/panel.css...
Creating ./skins/custom/params.css...
Creating ./skins/custom/release-notes.css...
Creating ./skins/custom/show_multiple.css...
Creating ./skins/custom/summarize-time.css...
Creating ./skins/custom/testopia.css...
Creating ./skins/custom/voting.css...
New parameter: allow-test-deletion
New parameter: testopia-allow-group-member-deletes
New parameter: testopia-default-plan-testers-regexp
New parameter: new-case-action-template
New parameter: new-case-results-template
New parameter: bug-to-test-case-summary
New parameter: bug-to-test-case-action
New parameter: bug-to-test-case-results
New parameter: default-test-case-status
New parameter: testopia-max-allowed-plan-testers
New parameter: testopia-debug
Removing existing compiled templates ...
Precompiling templates...
Fixing file permissions...

Checking Testopia setup ...
Populating test_case_run_status table ...
Populating test_case_status table ...
Populating test_plan_types table ...
Populating test_fielddefs table ...
Populating test_environment_category table ...
Populating test_environment_element table ...
Populating test plan ACLs ...
Creating group Testers...
Done checking Testopia setup.

Now that you have installed Bugzilla, you should visit the
'Parameters' page (linked in the footer of the Administrator
account) to ensure it is set up as you wish - this includes
setting the 'urlbase' option to the correct URL.
[root@localhost bugzilla]#

5. Restarted httpd service.

Opened the browser and entered my Bugzilla URL. Noticed the following error in browser page:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
--------------------------------------------------------------------------------
Apache/2.0.54 (Fedora) Server at 172.16.23.147 Port 80

6. I have checked the server log details placed under /etc/httpd/logs/ folder, please find the details below:

[Mon Nov 24 16:35:44 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Nov 24 16:35:44 2008] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 24 16:35:44 2008] [notice] Digest: done
[Mon Nov 24 16:35:44 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Mon Nov 24 16:35:44 2008] [notice] LDAP: SSL support unavailable
[Mon Nov 24 16:35:44 2008] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations
[Mon Nov 24 16:35:57 2008] [error] [client 172.16.23.41] Can't locate Bugzilla/Constants.pm in @INC (@INC contains: . /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.6/i386-linux-thread-multi /usr/lib/perl5/5.8.6) at Bugzilla/Config.pm line 36.
[Mon Nov 24 16:35:57 2008] [error] [client 172.16.23.41] BEGIN failed--compilation aborted at Bugzilla/Config.pm line 36.
[Mon Nov 24 16:35:57 2008] [error] [client 172.16.23.41] Compilation failed in require at Bugzilla.pm line 29.
[Mon Nov 24 16:35:57 2008] [error] [client 172.16.23.41] BEGIN failed--compilation aborted at Bugzilla.pm line 29.
[Mon Nov 24 16:35:57 2008] [error] [client 172.16.23.41] Compilation failed in require at /var/www/html/bugzilla/index.cgi line 34.
[Mon Nov 24 16:35:57 2008] [error] [client 172.16.23.41] BEGIN failed--compilation aborted at /var/www/html/bugzilla/index.cgi line 34.
[Mon Nov 24 16:35:57 2008] [error] [client 172.16.23.41] Premature end of script headers: index.cgi
~

I have tired with my R&D, but unable to succeed, Please help me to move forward.

Looking positive replay from your end.

Thanks & Regards,
Thilakraj D.