我试着把dokuwiki和mantis结合起来。-> DokuWiki Integration
我使用mantis 1.1.6和最新的dokuwiki(angua)。这些应用程序运行在集成在xampp 1.7.4中的apache 2.2.14上
我的配置如下所示:
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“将显示以下错误消息:
致命错误:在第41行的C:\xampp\htdocs\dokuwiki\inc\auth\mantis.class.php中调用未定义的函数auth_prepare_username()
我没有修改mantis.class.php。
现在有人知道该怎么做了吗?
祝克莉丝汀幸福
发布于 2012-06-20 00:26:22
我建议您尝试更新版本的MantisBT - 1.1.6太旧了。
https://stackoverflow.com/questions/11105192
复制相似问题