lancai990 发表于 2010-7-8 15:52:55

无法添加component

请问使用Bugzilla3.6时,能成功登录,但在给product添加component的时候出错:
Undef to trick_taint at Bugzilla/Util.pm line 64
      Bugzilla::Util::trick_taint(undef) called at Bugzilla/User.pm line 1702
      Bugzilla::User::login_to_id(undef, 1) called at Bugzilla/Component.pm line 248
      Bugzilla::Component::_check_cc_list('Bugzilla::Component', 'ARRAY(0x29f732c)', 'initial_cc') called at Bugzilla/Object.pm line 451
      Bugzilla::Object::run_create_validators('Bugzilla::Component', 'HASH(0x2d5d5dc)') called at Bugzilla/Component.pm line 134
      Bugzilla::Component::run_create_validators('Bugzilla::Component', 'HASH(0x2d5d5dc)') called at Bugzilla/Component.pm line 116
      Bugzilla::Component::create('Bugzilla::Component', 'HASH(0x2d5d5dc)') called at C:\Bugzilla\editcomponents.cgi line 132
windows xp下。perl5.10.1,IIS5及MySQL5.1
请问应该怎么解决呢。能否给予指教,非常感谢!

jigang.c 发表于 2013-8-31 22:48:01

安装成功,步骤每个文件都需要修改-wt为-t那里稍微有点麻烦。

lanxincao 发表于 2013-12-19 18:17:29

我的是 win7 系统,在安装perl modules 环节,总是失败,
提示:
C:\Perl64\bin>ppm install http://theoryx5.uwinnipeg.ca/ppms/TimeDate.ppd
ppm install failed: The PPD does not provide code to install for this platform

郁闷死了,不知道到哪去找这些支付 win7 系统的 ppd 文件了。。。:'(

lanxincao 发表于 2013-12-19 18:18:32

千辛万苦,装到这里,好不容易找到可解决的办法了,结果还是卡在这里,看来还真不是一般麻烦呀。。。

lanxincao 发表于 2013-12-20 11:30:40

一、回退 activeperl 版本至 5.10.0.1003 ,查询结果如下:
C:\Perl\bin>perl -v

This is perl, v5.10.0 built for MSWin32-x86-multi-thread
(with 5 registered patches, see perl -V for more detail)

Copyright 1987-2007, Larry Wall

Binary build 1003 provided by ActiveState http://www.ActiveState.com
Built May 13 2008 16:52:49

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

二、执行完 perl c:\bugzilla\checksetup.pl 命令后,提示以下模块必须安装:

COMMANDS TO INSTALL REQUIRED MODULES (You *must* run all these commands
and then re-run checksetup.pl):

    ppm install TimeDate
    ppm install DateTime
    ppm install DateTime-TimeZone
    ppm install Template-Toolkit
    ppm install Email-Send
    ppm install Email-MIME
    ppm install URI
    ppm install List-MoreUtils
    ppm install Math-Random-ISAAC
    ppm install Win32
*** Installation aborted. Read the messages above. ***

三、按提示要标注,找到了对应 PPD 资源,地址 http://cpan.uwinnipeg.ca/PPMPackages/10xx/
依次执行上述待安装模块,如下:

C:\Perl\bin>ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/TimeDate.ppd
Downloading TimeDate-1.16...done
Unpacking TimeDate-1.16...done
Generating HTML for TimeDate-1.16...done
Updating files in site area...done
30 files unchanged

四、再次执行 perl c:\bugzilla\checksetup.pl 命令后,依然提示上述模块必须要安装:
COMMANDS TO INSTALL REQUIRED MODULES (You *must* run all these commands
and then re-run checksetup.pl):

    ppm install TimeDate
    ppm install DateTime
    ppm install DateTime-TimeZone
    ppm install Template-Toolkit
    ppm install Email-Send
    ppm install Email-MIME
    ppm install URI
    ppm install List-MoreUtils
    ppm install Math-Random-ISAAC
    ppm install Win32
*** Installation aborted. Read the messages above. ***

五、下一步应该怎样才能得到想要的 localconfig 文件呢?

恳请各位大侠,不吝指教,在下将不胜感激。:handshake
页: 1 [2]
查看完整版本: BUGZILLA在windows下的安装