Ventzy / AuthMantis

Mantis authentication integration in DocuWiki
0 stars 0 forks source link

auth_prepare_username() #1

Open ptrj opened 10 years ago

ptrj commented 10 years ago

Hello, I use last version of Dokuwiki 2013-12-08 "Binky" and last version of MantisBT 1.2.17. I have used yours plugin and i do have a problem:

Fatal error: Call to undefined function auth_prepare_username() in /path/mantis/wiki/lib/plugins/authmantis/auth.php on line 47

Can you help me pleas? Thanks

dtavieres commented 9 years ago

Can you solve it ? Thanks

EdouardM commented 9 years ago

I have just faced the same issue.

Make sure you have the following in local.php:

define( 'MANTIS_ROOT', 'c:/path/www/mantis/' ); 
define( 'MANTIS_URL', 'http://server/mantis/' );    

require_once( MANTIS_ROOT . 'core.php' );
dregad commented 4 years ago

This is now properly documented in the plugin's installation instructions.

Also, please see #4.