Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bugzilla with XAMPP Installation

2,793 views
Skip to first unread message

Michael Freeman

unread,
Jun 19, 2008, 6:08:34 AM6/19/08
to support-...@lists.mozilla.org
I want to run Bugzilla for our local group. We do not have install rights on our PCs, so for a lot of other web testing work we use XAMPP. I want to add Bugzilla to the toolset but I am unable to find any coherent documentation that explains how to do this completely.

1) I have XAMPP setup and running without problem
2) I have the Perl Add-On for XAMPP installed without problem
3) I put Bugzilla in the htdoc folder of XAMPP ("M:\XAMPP\htdocs\Bugzilla-3.0.4")
4) I am supposed to install the perl modules for Bugzilla. It seems that they are installed using PPM to verify (I am on Win XP).
5) I try to run checksetup.pl from my browser and from cmd line and no luck. In browser I get this error:

Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
Can't locate Bugzilla/Constants.pm
in @INC (@INC contains: . M:/xampp/perl/site/lib/
M:/xampp/perl/site/lib M:/xampp/perl/lib M:/xampp/apache) at
M:/xampp/htdocs/bugzilla-3.0.4/checksetup.pl line 55.
BEGIN failed--compilation aborted at
M:/xampp/htdocs/bugzilla-3.0.4/checksetup.pl line 55.
,
If you think this is a server error, please contact
the webmaster.
Error 500
localhost
19/06/2008 12:06:04 PM
Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8
from cmd line I get this:
M:\xampp\htdocs\bugzilla-3.0.4>perl
checksetup.pl --check-modules
Bareword found where operator expected at - line 1, near "--check"

Any ideas, please help!!!

Thanks,
Michael



Max Kanat-Alexander

unread,
Jun 19, 2008, 8:04:06 AM6/19/08
to support-...@lists.mozilla.org
On Thu, 19 Jun 2008 03:08:34 -0700 (PDT) Michael Freeman
<mc_fr...@yahoo.com> wrote:
> line I get this: M:\xampp\htdocs\bugzilla-3.0.4>perl
> checksetup.pl --check-modules
> Bareword found where operator expected at - line 1, near "--check"

Um, that's a command, not perl code. You're running the "perl"
command and then giving it that line as Perl code!

That command should all be on one line.

-Max

Michael Freeman

unread,
Jun 20, 2008, 1:55:14 AM6/20/08
to Bugzilla Support
Thank you Max. Now I have gone through all of the steps but when I try to access bugzilla using its locationhttp://localhost/bugzilla-3.0.4/
(located in D:\xampp\htdocs\bugzilla-3.0.4)

I get a 500 error (see below). I am using the apache configuration with mod_cgi, because mod_perl uses too much RAM. Any suggestions would be appreciated!

Thanks
Michael

Server error!
The server encountered an internal error and was unable to complete your request.
Error message:

couldn't create child process: 720003: index.cgi

If you think this is a server error, please contact
the webmaster.
Error 500
localhost

06/20/08 07:50:29


Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5

-Max
_______________________________________________
support-bugzilla mailing list
support-...@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put support-...@lists.mozilla.org in the To: field when you reply.


Max Kanat-Alexander

unread,
Jun 20, 2008, 3:57:34 AM6/20/08
to support-...@lists.mozilla.org
On Thu, 19 Jun 2008 22:55:14 -0700 (PDT) Michael Freeman
<mc_fr...@yahoo.com> wrote:
> couldn't create child process: 720003: index.cgi

You missed one of the instructions in the Windows install
instructions:

http://www.bugzilla.org/docs/win32install.html

Look for "ScriptInterpreterSource"

-Max
--
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.

Michael Freeman

unread,
Jun 20, 2008, 4:13:45 AM6/20/08
to Max Kanat-Alexander, support-...@lists.mozilla.org
It says that ScriptInterpreterSource should put RegistryStrict and then I need a Registry Setting. In our environment we do not have Registry Access and I am trying to set this up with XAMPP so it can be somewhat portable. Is there another way to do this without touching the registry?

Also, there I saw no mention of this in the main documentation for 3.0.4 installation guide.

Thanks,
Michael

Michael Freeman
mc_fr...@yahoo.com

----- Original Message ----
From: Max Kanat-Alexander <mka...@bugzilla.org>
To: support-...@lists.mozilla.org
Sent: Friday, June 20, 2008 9:57:34 AM
Subject: Re: Bugzilla with XAMPP Installation

http://www.bugzilla.org/docs/win32install.html

Look for "ScriptInterpreterSource"

Michael Freeman

unread,
Jun 20, 2008, 4:33:38 AM6/20/08
to support-...@lists.mozilla.org
I added the ScriptInterpreterSource directive in the Directory setting of httpd.conf with the Script option after looking at the Apache documentation. I then did a global find and replace in the cgi and pl files for bugzilla and replaced:
#!usr/bin/perl -wT with the actual location of perl #!L:/comun/xampp/perl/bin/perl.exe -wT

I also tried just using #!perl -wT because I have perl setup in the path variable.

neither worked and I get a new 500 error:
Error message:
Premature end of script headers: index.cgi

Thanks for your help in advance!

Thorsten Schöning

unread,
Jun 20, 2008, 4:44:54 AM6/20/08
to support-...@lists.mozilla.org
Guten Tag Michael Freeman,
am Freitag, 20. Juni 2008 um 10:13 schrieben Sie:

> In our environment we do not have
> Registry Access and I am trying to set this up with XAMPP so it can be
> somewhat portable.

Maybe saving the needed registry entries as a .reg-file is an option,
I know some installations were regedit, cmd etc. are forbidden but the
users are able to execute and include .reg-files.

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig

Telefon: Potsdam: 0331-743881-0
E-Mail: tscho...@am-soft.de
Web: http://www.am-soft.de

AM-SoFT Potsdam GmbH, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 12480, Geschäftsführer Andreas Muchow

Michael Freeman

unread,
Jun 20, 2008, 5:33:21 AM6/20/08
to support-...@lists.mozilla.org
Thorsten,
How would I setup a reg-file and include it? Sorry but I am a newbe to all of this configuration type of activities.

Thanks,
Michael

Michael Freeman
mc_fr...@yahoo.com

----- Original Message ----
From: Thorsten Schöning <tscho...@am-soft.de>
To: support-...@lists.mozilla.org

Mit freundlichen Grüßen,

Thorsten Schöning

_______________________________________________

Message.html

Max Kanat-Alexander

unread,
Jun 20, 2008, 5:42:53 AM6/20/08
to support-...@lists.mozilla.org
On Fri, 20 Jun 2008 01:33:38 -0700 (PDT) Michael Freeman
<mc_fr...@yahoo.com> wrote:
> neither worked and I get a new 500 error:
> Error message:
> Premature end of script headers: index.cgi

That's an improvement! That means that it executed, but didn't
output anything, or it outputted an error.

Try running the script from the command line and see what
happens. (Change to that directory and do perl -wT index.cgi.)

Thorsten Schöning

unread,
Jun 20, 2008, 5:46:18 AM6/20/08
to support-...@lists.mozilla.org
Guten Tag Michael Freeman,
am Freitag, 20. Juni 2008 um 10:58 schrieben Sie:

> How would I setup a reg-file and include it? Sorry but I am a
> newbe to all of this configuration type of activities.

Please send all communication to the list.

.reg-files contain the data needed to be created in the registry as
simple text, the content below should be saved in two different files
with ending .reg and executed afterwards. The first part associates
.cgi-files with a perl-handler, the second specifies the details where
to find perl etc. It's just a copy of my entries after installing perl
and should be changed according to your system. NEWLINE is just to
indicate that those newlines are necessary, not the text. The files
should be created with the editor in windows and saved with unicode
encoding.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.cgi]
@="Perl"
"PerceivedType"="text"
NEWLINE
NEWLINE

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Perl]

[HKEY_CLASSES_ROOT\Perl\DefaultIcon]
@="C:\\WINDOWS\\Installer\\{B7A1E737-0347-4B8A-B1A8-1D4624C3C45A}\\_95fe01f856ebc8574541b8763179eadc,0"

[HKEY_CLASSES_ROOT\Perl\shell]

[HKEY_CLASSES_ROOT\Perl\shell\Open]

[HKEY_CLASSES_ROOT\Perl\shell\Open\command]
@="\"C:\\Programme\\Perl\\bin\\perl.exe\" \"%1\" %*"
NEWLINE
NEWLINE

Michael Freeman

unread,
Jun 20, 2008, 6:09:05 AM6/20/08
to support-...@lists.mozilla.org
Success! Running it as a cmd I saw the stack-trace and found that the error was coming from Errno.pm line 11

Errno architecture (MSWin32-x86-multi-thread-4.0) does not match executable architecture (MSWin32-x86-multi-thread-5.00) at L:/comun/xampp/perl/site/lib/Errno.pm line 11.

I don't know why it needed "4.0" and my machine (xp Pro SP3) shows 5.00, but I went in and adjusted the test in line11 so now it works fine. thank you for your help!!!

Michael

Michael Freeman
mc_fr...@yahoo.com

----- Original Message ----
From: Max Kanat-Alexander <mka...@bugzilla.org>
To:
Sent: Friday, June 20, 2008 11:42:53 AM
Subject: Re: Bugzilla with XAMPP Installation

Saul

unread,
Jul 2, 2008, 4:57:08 PM7/2/08
to
I have the same error and I'm couldn´t resolve.
This file (errno.pm), it doesn´t exist in mi configuration.

"Michael Freeman" <mc_fr...@yahoo.com> escribió en el mensaje
news:mailman.232.1213956579...@lists.mozilla.org...

0 new messages