Author Topic: Password Plugin - HELP required Please ...  (Read 5505 times)

Offline jimbo5

  • Newbie
  • *
  • Posts: 1
Password Plugin - HELP required Please ...
« on: February 05, 2013, 05:06:18 PM »
Dear All,
I have a windows 7 machine running hmailserver. It's been running fine and am am pretty happy with it so far. Today I decided to install RoundCube so that I could get a web interface to it. After much tinkering around. I managed to get this working. Next, I try to get the Password plugin working. This is where my problems begin. I have been bashing my head against a wall.
I am running Apache 2.4 and MySQL.  This is what I have done.
config.inc.php - $rcmail_config['password_driver'] = 'hmail';

// hMail Driver options
// -----------------------
// Remote hMailServer configuration
// true:  HMailserver is on a remote box (php.ini: com.allow_dcom = true)
// false: Hmailserver is on same box as PHP
$rcmail_config['hmailserver_remote_dcom'] = false;
// Windows credentials
$rcmail_config['hmailserver_server'] = array(
    'Server' => 'localhost', // hostname or ip address
    'Username' => 'admin', // windows username
    'Password' => 'xxxxxxxxx' // windows user password
);


I have both PHP / Apache /MySQL / HmailServer running on the same machine just in case you are wondering why I havent enabled DCOM.

I get to the point where I enter my old password and then enter a new password then I get an error :

"The website encountered an error while retrieving http://localhost/?_task=settings&_action=plugin.password-save. It may be down for maintenance or configured incorrectly."

I have looked in the errors log file and each time I get the following error:

[06-Feb-2013 16:09:29 UTC] PHP Fatal error:  Class 'COM' not found in C:\xampp\htdocs\roundcube\plugins\password\drivers\hmail.php on line 26

Line 26 of this code says:
            $obApp = new COM("hMailServer.Application");


Any help from you boffins will be much appreciated.

Cheers,
Jimbo.





Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,518
    • http://SKaero.com/
Re: Password Plugin - HELP required Please ...
« Reply #1 on: February 06, 2013, 12:55:26 PM »
Make COM is part of your PHP install http://www.php.net/manual/en/com.installation.php