>Форум Mozilla Россия http://forum.mozilla-russia.org/index.php >Bugzilla http://forum.mozilla-russia.org/viewforum.php?id=35 >Установка Bugzilla http://forum.mozilla-russia.org/viewtopic.php?id=41316 |
dima_s_d_s > 30-10-2009 15:33:01 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Вот пробую поставить всеми любимый БагТрекер на Debian. После этого скачал сам архив Bugzilla. скрытый текст CPAN: Storable loaded ok (v2.18) Going to read /root/.cpan/Metadata Database was generated on Thu, 29 Oct 2009 11:27:12 GMT Installing Template version 2.22... Running install for module 'Template' 'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs' Running make for A/AB/ABW/Template-Toolkit-2.22.tar.gz CPAN: Compress::Zlib loaded ok (v2.012) Checksum for /root/.cpan/source/authors/id/A/AB/ABW/Template-Toolkit-2.22.tar.gz ok Template-Toolkit-2.22/ Template-Toolkit-2.22/bin/ Template-Toolkit-2.22/bin/README Template-Toolkit-2.22/bin/tpage Template-Toolkit-2.22/bin/tt-bench.pl Template-Toolkit-2.22/bin/tt2inst Template-Toolkit-2.22/bin/ttree Template-Toolkit-2.22/Changes Template-Toolkit-2.22/HACKING Template-Toolkit-2.22/images/ Template-Toolkit-2.22/images/tt2power.gif Template-Toolkit-2.22/images/ttdotorg.gif Template-Toolkit-2.22/INSTALL Template-Toolkit-2.22/lib/ Template-Toolkit-2.22/lib/Template/ Template-Toolkit-2.22/lib/Template/Base.pm Template-Toolkit-2.22/lib/Template/Config.pm Template-Toolkit-2.22/lib/Template/Constants.pm Template-Toolkit-2.22/lib/Template/Context.pm Template-Toolkit-2.22/lib/Template/Directive.pm Template-Toolkit-2.22/lib/Template/Document.pm ...... Template-Toolkit-2.22/xs/Stash.xs CPAN.pm: Going to build A/AB/ABW/Template-Toolkit-2.22.tar.gz Template Toolkit Version 2.22 Using Unix defaults. Template::Stash::XS The Template::Stash module is a core part of the Template Toolkit, There is a high speed version, Template::Stash::XS, written in C. Note that as of version 2.15 the XS Stash now supports access to tied See 'perldoc Template::Config' for further details. Do you want to build the XS Stash module? [y] y Checking if your kit is complete... Configuration complete. You should now run 'make', 'make test' and Пошел в гугл, нашел стать. http://howto.landure.fr/gnu-linux/debian-4-0-etch-en/install-bugzilla-3-on-debian-4-0-etch скрытый текст Выделить код Код:apt-get install apache2 libapache2-mod-perl2 libtemplate-perl libmime-perl \ libappconfig-perl libdbd-mysql-perl libtimedate-perl \ libgd-gd2-perl libgd-text-perl libxml-twig-perl perlmagick \ libemail-send-perl libemail-mime-modifier-perl libchart-perl \ libgd-graph-perl libhtml-scrubber-perl и ещё Запустил checksetup.pl скрытый текст * This is Bugzilla 3.4.2 on perl 5.10.0 * Running on Linux 2.6.26-2-686 #1 SMP Sat Oct 17 17:59:23 UTC 2009 Checking perl modules... Checking available perl DBD modules... The following Perl modules are optional: PatchReader: /usr/bin/perl install-module.pl PatchReader COMMANDS TO INSTALL REQUIRED MODULES (You *must* run all these commands /usr/bin/perl install-module.pl Template To attempt an automatic install of every required and optional module /usr/bin/perl install-module.pl --all Из лога видно что одним из модулей просит поставить Template, но я уго ставил, libtemplate-perl. скрытый текст /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl Подскажите что мне делать дальше? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SnowyOwl > 02-11-2009 07:12:39 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
dima_s_d_s пишет
Для Bugzilla нужен Template Toolkit 2.22, версия libtemplate-perl по-видимому 2.18: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545553. На момент выхода статьи Landuré требования были ниже. Собрать TT средствами CPAN как правило можно -- если на машине установлены средства разработки. "На ура" при помощи install-module.pl не вышло, стоит попробовать врукопашную http://template-toolkit.org/download/index.html#cpan в надежде на более содержательную диагностику ошибок. Кстати, требование 2.22 появилось именно в связи с поддержкой данных на кириллице (UTF-8). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
testersoi > 08-04-2011 10:59:47 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ставил автоматическим инсталлятором (http://helpmate.ucoz.com/publ/ustanovka … a/2-1-0-23). ставится легко и быстро (минут 15 ушло), работает нормально. Делал на локалхосте. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
small75 > 08-04-2011 23:06:12 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
testersoi пишет
это такая реклама инсталлятора? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
testersoi > 22-04-2011 09:11:44 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
small75 пишет
опытом делюсь | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
littleleshy > 03-03-2015 13:23:43 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
О, какой некропост. 1. checksetup.pl зависает на строчке Полный результат выполнения: Выделить код Код:* This is Bugzilla 5.0rc2 on perl 5.20.1 * Running on Win8 Build 9200 Checking perl modules... Checking for CGI.pm (v3.51) ok: found v3.65 Checking for Digest-SHA (any) ok: found v5.92 Checking for TimeDate (v2.23) ok: found v2.24 Checking for DateTime (v0.75) ok: found v1.18 Checking for DateTime-TimeZone (v1.64) ok: found v1.85 Checking for DBI (v1.614) ok: found v1.631 Checking for Template-Toolkit (v2.24) ok: found v2.26 Checking for Email-Sender (v1.300011) ok: found v1.300016 Checking for Email-MIME (v1.904) ok: found v1.929 Checking for URI (v1.55) ok: found v1.64 Checking for List-MoreUtils (v0.32) ok: found v0.33 Checking for Math-Random-ISAAC (v1.0.1) ok: found v1.004 Checking for File-Slurp (v9999.13) ok: found v9999.19 Checking for JSON-XS (v2.01) ok: found v3.01 Checking for Win32 (v0.35) ok: found v0.49 Checking for Win32-API (v0.55) ok: found v0.75 Checking available perl DBD modules... Checking for DBD-Oracle (v1.19) ok: found v1.74 Checking for DBD-mysql (v4.001) ok: found v4.029 Checking for DBD-SQLite (v1.29) ok: found v1.42 Checking for DBD-Pg (v2.7.0) ok: found v3.2.1 The following Perl modules are optional: Checking for GD (v1.20) ok: found v2.53 defined(@array) is deprecated at C:/Perl64/site/lib/Chart/Base.pm line 181. (Maybe you should just omit the defined()?) defined(@array) is deprecated at C:/Perl64/site/lib/Chart/Base.pm line 233. (Maybe you should just omit the defined()?) Checking for Chart (v2.4.1) ok: found v2.4.6 Checking for Template-GD (any) ok: found v1.56 Checking for GDTextUtil (any) ok: found v0.86 Checking for GDGraph (any) ok: found v1.48 Checking for MIME-tools (v5.406) ok: found v5.505 Checking for libwww-perl (any) ok: found v6.06 Checking for XML-Twig (any) ok: found v3.48 Checking for PatchReader (v0.9.6) ok: found v0.9.6 Checking for perl-ldap (any) ok: found v0.64 Checking for Authen-SASL (any) ok: found v2.16 Checking for Net-SMTP-SSL (v1.01) ok: found v1.01 Checking for RadiusPerl (any) not found Checking for SOAP-Lite (v0.712) not found Checking for XMLRPC-Lite (v0.712) not found Checking for JSON-RPC (any) ok: found v1.06 Checking for Test-Taint (v1.06) ok: found v1.06 Checking for HTML-Parser (v3.67) ok: found v3.71 Checking for HTML-Scrubber (any) ok: found v0.11 Checking for Encode (v2.21) ok: found v2.62 Checking for Encode-Detect (any) not found Checking for Email-Reply (any) ok: found v1.203 Checking for HTML-FormatText-WithLinks (v0.13) ok: found v0.15 Checking for TheSchwartz (v1.07) not found Checking for Daemon-Generic (any) not found Checking for mod_perl (v1.999022) not found Checking for Apache-SizeLimit (v0.96) not found Checking for File-MimeInfo (any) not found Checking for IO-stringy (any) ok: found v2.110 Checking for Cache-Memcached (any) not found Checking for File-Copy-Recursive (any) ok: found v0.38 *********************************************************************** * 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) * *********************************************************************** * RadiusPerl * RADIUS Authentication * * SOAP-Lite * XML-RPC Interface * * XMLRPC-Lite * XML-RPC Interface * * Encode-Detect * Automatic charset detection for text attachments * * TheSchwartz * Mail Queueing * * Daemon-Generic * Mail Queueing * * mod_perl * mod_perl * * Apache-SizeLimit * mod_perl * * File-MimeInfo * Sniff MIME type of attachments * * Cache-Memcached * Memcached Support * *********************************************************************** COMMANDS TO INSTALL OPTIONAL MODULES: RadiusPerl: ppm install RadiusPerl SOAP-Lite: ppm install SOAP-Lite XMLRPC-Lite: ppm install XMLRPC-Lite Encode-Detect: ppm install Encode-Detect TheSchwartz: ppm install TheSchwartz Daemon-Generic: ppm install Daemon-Generic mod_perl: ppm install mod_perl Apache-SizeLimit: ppm install Apache-SizeLimit File-MimeInfo: ppm install File-MimeInfo Cache-Memcached: ppm install Cache-Memcached 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/software/patchutils/ Checking for DBD-Pg (v2.7.0) ok: found v3.2.1 2. при попытке перехода на адрес в браузере получаем Выделить код Код:Software error: The ./data/params.json file does not exist. You probably need to run checksetup.pl. at Bugzilla/Config.pm line 348. Compilation failed in require at C:/Bugzilla/index.cgi line 15. BEGIN failed--compilation aborted at C:/Bugzilla/index.cgi line 15. 3. результат выполнения checkserver.pl Выделить код Код:TEST-OK Got padlock picture. TEST-OK Webserver is executing CGIs via mod_cgi. TEST-OK Webserver is preventing fetch of http://localhost:8080/localconfig. TEST-FAILED GD returned: Failed to create ./data/testgd-local.png: No such file or directory defined(@array) is deprecated at C:/Perl64/site/lib/Chart/Base.pm line 181. (Maybe you should just omit the defined()?) defined(@array) is deprecated at C:/Perl64/site/lib/Chart/Base.pm line 233. (Maybe you should just omit the defined()?) TEST-FAILED Chart returned: Error: File "./data/testchart-local.png" could not b e created! at C:\Bugzilla\testserver.pl line 194. TEST-OK Template::Plugin::GD is installed. 4. ну и напоследок runtests.pl Выделить код Код:t/001compile.t ....... 35/227 # # It looks like you don't have a C compiler and make utility installed. Trying # to install dmake and the MinGW gcc compiler using the Perl Package Manager. # This may take a a few minutes... # # 3697 files installed # # Please use the `dmake` program to run commands from a Makefile! # t/001compile.t ....... 223/227 # Can't locate Pod/Coverage.pm in @INC (you may n eed to install the Pod::Coverage module) (@INC contains: t lib C:/Perl64/site/li b C:/Perl64/lib .) at t/011pod.t line 21. # BEGIN failed--compilation aborted at t/011pod.t line 21. # Failed test 't/011pod.t' # at t/001compile.t line 62. # --ERROR t/001compile.t ....... 227/227 # Looks like you failed 1 test of 227. t/001compile.t ....... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/227 subtests (less 23 skipped subtests: 203 okay) t/002goodperl.t ...... ok t/003safesys.t ....... ok t/004template.t ...... ok t/005whitespace.t .... ok t/006spellcheck.t .... ok t/007util.t .......... 1/17 Cannot determine local time zone # Looks like you planned 17 tests but ran 2. # Looks like your test exited with 2 just after 2. t/007util.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 15/17 subtests t/008filter.t ........ ok t/009bugwords.t ...... ok t/010dependencies.t .. ok t/011pod.t ........... Can't locate Pod/Coverage.pm in @INC (you may need to ins tall the Pod::Coverage module) (@INC contains: t lib C:/Perl64/site/lib C:/Perl6 4/lib .) at t/011pod.t line 21. BEGIN failed--compilation aborted at t/011pod.t line 21. t/011pod.t ........... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/012throwables.t .... ok t/013dbschema.t ...... ok Test Summary Report ------------------- t/001compile.t (Wstat: 256 Tests: 227 Failed: 1) Failed test: 225 Non-zero exit status: 1 t/007util.t (Wstat: 512 Tests: 2 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 17 tests but ran 2. t/011pod.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=13, Tests=5671, 324 wallclock secs ( 0.78 usr + 0.08 sys = 0.86 CPU) Result: FAIL Uncaught exception from user code: Failed 3/13 test programs. 1/5671 subtests failed. Test::Harness::runtests("t/001compile.t", "t/002goodperl.t", "t/003safes ys.t", "t/004template.t", "t/005whitespace.t", "t/006spellcheck.t", "t/007util.t ", "t/008filter.t", "t/009bugwords.t", ...) called at C:\Bugzilla\runtests.pl li ne 30 Конфигурация: Установленное ПО Windows x64 8.1 (9600) Perl x64 5.20.1.2000 (ActivePerl) PostgreSQL x64 9.4.1 Apache 2.4.12 x64 (Apache Lounge, VC11) Модули Perl (всё ставилось из репы, подключенной искаропки; всё, что не установлено, не установлено по причине отсутствия в данной репе) Основные модули (установлены все)
DPD-модули (установлены все)
установленные дополнительные модули
не установленные дополнительные модули RadiusPerl SOAP-Lite XMLRPC-Lite Encode-Detect TheSchwartz Daemon-Generic mod_perl Apache-SizeLimit File-MimeInfo Cache-Memcached Всё настраивалось по этой инструкции. Внимание, вопрос: как быть, что делать? 03-03-2015 13:52:14 checksetup.pl Выделить код Код:* This is Bugzilla 5.0rc2 on perl 5.20.1 * Running on Win8 Build 9200 Checking perl modules... Checking for CGI.pm (v3.51) ok: found v3.65 Checking for Digest-SHA (any) ok: found v5.92 Checking for TimeDate (v2.23) ok: found v2.24 Checking for DateTime (v0.75) ok: found v1.18 Checking for DateTime-TimeZone (v1.64) ok: found v1.85 Checking for DBI (v1.614) ok: found v1.631 Checking for Template-Toolkit (v2.24) ok: found v2.26 Checking for Email-Sender (v1.300011) ok: found v1.300016 Checking for Email-MIME (v1.904) ok: found v1.929 Checking for URI (v1.55) ok: found v1.64 Checking for List-MoreUtils (v0.32) ok: found v0.33 Checking for Math-Random-ISAAC (v1.0.1) ok: found v1.004 Checking for File-Slurp (v9999.13) ok: found v9999.19 Checking for JSON-XS (v2.01) ok: found v3.01 Checking for Win32 (v0.35) ok: found v0.49 Checking for Win32-API (v0.55) ok: found v0.75 Checking available perl DBD modules... Checking for DBD-Oracle (v1.19) ok: found v1.74 Checking for DBD-SQLite (v1.29) ok: found v1.42 Checking for DBD-mysql (v4.001) ok: found v4.029 Checking for DBD-Pg (v2.7.0) ok: found v3.2.1 The following Perl modules are optional: Checking for GD (v1.20) ok: found v2.53 defined(@array) is deprecated at C:/Perl64/site/lib/Chart/Base.pm line 181. (Maybe you should just omit the defined()?) defined(@array) is deprecated at C:/Perl64/site/lib/Chart/Base.pm line 233. (Maybe you should just omit the defined()?) Checking for Chart (v2.4.1) ok: found v2.4.6 Checking for Template-GD (any) ok: found v1.56 Checking for GDTextUtil (any) ok: found v0.86 Checking for GDGraph (any) ok: found v1.48 Checking for MIME-tools (v5.406) ok: found v5.505 Checking for libwww-perl (any) ok: found v6.06 Checking for XML-Twig (any) ok: found v3.48 Checking for PatchReader (v0.9.6) ok: found v0.9.6 Checking for perl-ldap (any) ok: found v0.64 Checking for Authen-SASL (any) ok: found v2.16 Checking for Net-SMTP-SSL (v1.01) ok: found v1.01 Checking for RadiusPerl (any) not found Checking for SOAP-Lite (v0.712) not found Checking for XMLRPC-Lite (v0.712) not found Checking for JSON-RPC (any) ok: found v1.06 Checking for Test-Taint (v1.06) ok: found v1.06 Checking for HTML-Parser (v3.67) ok: found v3.71 Checking for HTML-Scrubber (any) ok: found v0.11 Checking for Encode (v2.21) ok: found v2.62 Checking for Encode-Detect (any) not found Checking for Email-Reply (any) ok: found v1.203 Checking for HTML-FormatText-WithLinks (v0.13) ok: found v0.15 Checking for TheSchwartz (v1.07) not found Checking for Daemon-Generic (any) not found Checking for mod_perl (v1.999022) not found Checking for Apache-SizeLimit (v0.96) not found Checking for File-MimeInfo (any) not found Checking for IO-stringy (any) ok: found v2.110 Checking for Cache-Memcached (any) not found Checking for File-Copy-Recursive (any) ok: found v0.38 *********************************************************************** * 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) * *********************************************************************** * RadiusPerl * RADIUS Authentication * * SOAP-Lite * XML-RPC Interface * * XMLRPC-Lite * XML-RPC Interface * * Encode-Detect * Automatic charset detection for text attachments * * TheSchwartz * Mail Queueing * * Daemon-Generic * Mail Queueing * * mod_perl * mod_perl * * Apache-SizeLimit * mod_perl * * File-MimeInfo * Sniff MIME type of attachments * * Cache-Memcached * Memcached Support * *********************************************************************** COMMANDS TO INSTALL OPTIONAL MODULES: RadiusPerl: ppm install RadiusPerl SOAP-Lite: ppm install SOAP-Lite XMLRPC-Lite: ppm install XMLRPC-Lite Encode-Detect: ppm install Encode-Detect TheSchwartz: ppm install TheSchwartz Daemon-Generic: ppm install Daemon-Generic mod_perl: ppm install mod_perl Apache-SizeLimit: ppm install Apache-SizeLimit File-MimeInfo: ppm install File-MimeInfo Cache-Memcached: ppm install Cache-Memcached 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/software/patchutils/ Checking for DBD-Pg (v2.7.0) ok: found v3.2.1 Adding new table bz_schema... Initializing bz_schema... Creating tables... Removing index 'bugs_fulltext_comments_idx' from the bugs_fulltext table... Removing index 'bugs_fulltext_comments_noprivate_idx' from the bugs_fulltext tab le... Adding new index 'profiles_login_name_lower_idx' to the profiles table ... Adding new index 'fielddefs_name_lower_idx' to the fielddefs table ... Adding new index 'keyworddefs_name_lower_idx' to the keyworddefs table ... Adding new index 'products_name_lower_idx' to the products table ... Setting up choices for standard drop-down fields: priority resolution bug_status bug_severity rep_platform op_sys Creating ./data directory... Creating ./data/assets directory... Creating ./data/attachments directory... Creating ./data/db directory... Creating ./data/extensions directory... Creating ./data/mining directory... Creating ./data/webdot directory... Creating ./graphs directory... Creating ./skins/custom directory... Creating ./data/extensions/additional... Creating ./data/mailer.testfile... Creating ./Bugzilla/.htaccess... Creating ./data/.htaccess... Creating ./data/assets/.htaccess... Creating ./data/attachments/.htaccess... Creating ./data/webdot/.htaccess... Creating ./graphs/.htaccess... Creating ./lib/.htaccess... Creating ./template/.htaccess... Creating contrib/.htaccess... Creating t/.htaccess... Creating xt/.htaccess... Bugzilla requires an SMTP server to function on Windows. Please enter your SMTP server's hostname: smtp.live.com Precompiling templates...done. Initializing "Product/Component Changes" email_setting ... Initializing "Dependency Tree Changes" email_setting ... Marking closed bug statuses as such... Creating default classification 'Unclassified'... Setting up foreign keys... Setting up the default status workflow... Creating default groups... Setting up user preferences... Looks like we don't have an administrator set up yet. Either this is your first time using Bugzilla, or your administrator's privileges might have accidentally been deleted. Enter the e-mail address of the administrator: littleleshy@hotmail.com Enter the real name of the administrator: alex Enter a password for the administrator account: Ka2580 Please retype the password to verify: Ka2580 littleleshy@hotmail.com is now set up as an administrator. Creating initial dummy product 'TestProduct'... 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. checksetup.pl complete. Добро пожаловать! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SnowyOwl > 03-03-2015 14:01:22 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
littleleshy пишет
Навскидку: логично устанавливать только те драйверы БД, клиенты от которых уже установлены в системе. Использовать в любом случае собираетесь только с одним. А поведение модуля, не обнаружившего под собой Database Engine, может принимать самые разные формы. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
littleleshy > 03-03-2015 14:23:17 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SnowyOwl пишет
Согласен, можно (или даже нужно) удалить ненужные модули. Просто я, не вдаваясь в подробности, ставил все модули подряд (it's a bad practice), а уже потом озадачился данным вопросом, но успел про это дело забыть. Спасибо за напоминание. Кстати, мне показалось странным, что в инструкции разбирается IIS, но не рабираются nginx и MS SQL. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SnowyOwl > 03-03-2015 15:07:43 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
littleleshy пишет
Простите, но IIS это HTTP-сервер а MS SQL -- сервер баз данных. Какая связь? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
littleleshy > 03-03-2015 17:21:48 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SnowyOwl | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
littleleshy > 04-03-2015 10:02:15 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ещё немного мучений: при удалении Custom Field типа Integer Выделить код Код:Software error: DBD::Pg::db selectrow_array failed: ÐШÐÐÐÐ: невеÑное знаÑение Ð´Ð»Ñ Ñелого ÑиÑла: "" LINE 1: ...UNT(*) FROM bugs WHERE cf_test IS NOT NULL AND cf_test != '' ^ [for Statement "SELECT COUNT(*) FROM bugs WHERE cf_test IS NOT NULL AND cf_test != ''"] at Bugzilla/Field.pm line 979. Bugzilla::Field::remove_from_db(Bugzilla::Field=HASH(0x45d12c0)) called at C:/Bugzilla/editfields.cgi line 159 For help, please send mail to the webmaster (email here), giving this error message and the time and date of the error. (надо в PostgreSQL поменять локаль) Поле удалилось, когда я закомментировал участок кода в Field.pm. вот он Выделить код Код:if ($self->type != FIELD_TYPE_BUG_ID && $self->type != FIELD_TYPE_DATE && $self->type != FIELD_TYPE_DATETIME) { $bugs_query .= " AND $name != ''"; } #Ignore the default single select value if ($self->type == FIELD_TYPE_SINGLE_SELECT) { $bugs_query .= " AND $name != '---'"; } При попытке запостить баг получил ошибку Cannot determine local time zone. Всё решилось указанием параметра SetEnv TZ Europe/Moscow в файле httpd.conf и перезапуском Apache. |