2014-11-17 140 views
0

我想在我的Windows服務器上安裝Bugzilla。我使用的是草莓Perl & PostgreSQL。但是當我運行網站時,出現如下錯誤:當我嘗試在Windows服務器上安裝Bugzilla時出錯

Software error: 
'Pg' is not a valid choice for $db_driver in localconfig: Can't load 'C:/Strawberry/perl/vendor/lib/auto/DBD/Pg/Pg.xs.dll' for module DBD::Pg: load_file:The specified module could not be found at C:/Strawberry/perl/lib/DynaLoader.pm line 193. 
at Bugzilla/DB/Pg.pm line 30. 
Compilation failed in require at Bugzilla/DB/Pg.pm line 30. 
BEGIN failed--compilation aborted at Bugzilla/DB/Pg.pm line 30. 
Compilation failed in require at (eval 138) line 2. 


For help, please send mail to this site's webmaster, giving this error message and the time and date of the error. 
[Mon Nov 17 16:34:41 2014] config.cgi: 'Pg' is not a valid choice for $db_driver in localconfig: Can't load 'C:/Strawberry/perl/vendor/lib/auto/DBD/Pg/Pg.xs.dll' for module DBD::Pg: load_file:The specified module could not be found at C:/Strawberry/perl/lib/DynaLoader.pm line 193. [Mon Nov 17 16:34:41 2014] config.cgi: at Bugzilla/DB/Pg.pm line 30. [Mon Nov 17 16:34:41 2014] config.cgi: Compilation failed in require at Bugzilla/DB/Pg.pm line 30. [Mon Nov 17 16:34:41 2014] config.cgi: BEGIN failed--compilation aborted at Bugzilla/DB/Pg.pm line 30. [Mon Nov 17 16:34:41 2014] config.cgi: Compilation failed in require at (eval 138) line 2. 

我運行了checksetup.pl。所有模塊都已安裝。任何人都知道如何解決此問題?

回答

0

確保您的PATH包含Pg bin目錄。

相關問題