Hi, we using MW 1.4.10 with POP3 authentication without any problems. We try to upgrade (Testupgrade) and run into some problems. After Upgrade,with the script, we cant login. We see
Fatal error: Call to undefined function: validdomain() in /var/www/html/wiki3/includes/SpecialUserlogin.php on line 67
Here are the contents of Local* (parts of content ;)) ----------------- require_once( "includes/DefaultSettings.php" ); require_once( 'extensions/MyAuthPlugin.php' ); $wgAuth = new MyAuthPlugin(); -----------------
content of MyAuthPlugin.php ------------------
<?php class MyAuthPlugin { function userExists( $username ) { # Override this! return true; }
function authenticate( $username, $password ) { return imap_open("{127.0.0.1:10110/POP3}", "$username", "$password"); }
function autoCreate() { return true; }
function strict() { return false; }
function initUser( &$user ) { # Override this to do something. } }
?>
---------------------
Any ideas why this dont work in 1.5.1?
Regards