2

我尝试将 dokuwiki 与螳螂集成。-> DokuWiki 集成

我使用 mantis 1.1.6 和最新的 dokuwiki(angua)。这些应用程序在 apache 2.2.14 上运行,后者集成在 xampp 1.7.4 中

我的配置如下所示:

mantis/config_inc.php 和 mantis/config_defaults_inc.php:

    #####################
# Wiki Integration
#####################

# Wiki Integration Enabled?
$g_wiki_enable = OFF;

# Wiki Engine
$g_wiki_engine = 'dokuwiki';

# Wiki namespace to be used as root for all pages relating to this mantis installation.
$g_wiki_root_namespace = 'mantis';

# URL under which the wiki engine is hosted.  Must be on the same server.
$g_wiki_engine_url = $t_protocol . '://' . $t_host . '/%wiki_engine%/';

dokuwiki/conf/local.php:

<?php

 define( 'MANTIS_ROOT', 'c:/xampp/htdocs/mantis2/' ); 
 define( 'MANTIS_URL', 'http://localhost/mantis2/' );    


 $conf['useacl']       = 1;               
 $conf['authtype']     = 'mantis';        
 $conf['defaultgroup'] = 'VIEWER';       
 $conf['superuser'] = '@ADMINISTRATOR';   

 require_once( MANTIS_ROOT . 'core.php' );

 ?>

其他一切都与描述的文档中的相同。

现在我使用 mantis 中的管理员帐户登录。我可以看到新的菜单选项“Wiki”。遵循此菜单选项“Wiki”会给我带来以下错误消息:

致命错误:在第 41 行调用 C:\xampp\htdocs\dokuwiki\inc\auth\mantis.class.php 中未定义的函数 auth_prepare_username()

我没有修改 mantis.class.php。

有人知道现在该怎么办吗?

最好的祝愿克里斯汀

4

1 回答 1

2

我建议您尝试更新版本的 MantisBT - 1.1.6 已经很老了。

于 2012-06-19T16:26:22.233 回答