2

私はdokuwikiをカマキリと統合しようとしています。-> DokuWiki統合

私はmantis1.1.6と最新のdokuwiki(angua)を使用しています。これらのアプリケーションは、xampp1.7.4に統合されているApache2.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」が表示されます。このメニューオプション「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 に答える