Roundcube Community Forum

 

Hmail_plugins

Started by LucasinoCZ, September 14, 2009, 03:55:47 AM

Previous topic - Next topic

LucasinoCZ

HI, i have a problem with plugins for functionality between hmailserver and roundcube. Exactly hmail_autoresponder, forwarding, password change.

I installed roundcube 0.3 stable
loaded plugins trunk  2953
configured mai.inc.php plugins to load : "settings","hmail_autoresponder"
cretaed config.inc.php in each plugin directory

So...in properties menu in roundcube, there i found new item account administration - but when i click on that, there is nothink.
But now I see another error, after loading settigs plugin, in properties menu >  special folder i get error 500....service unavailable......

can someone help me?

rosali

This is a known issue and will provide a fix next weekend.
Regards,
Rosali

rosali

Regards,
Rosali

LucasinoCZ

Hi, I tried your fix and it seems it´s OK. All hmail plugins are currently working......I´ll try to test them more......

Wini

#4
hmail_forwarding plugin can set, but can not remove forwarding back. Below is the roundcubemail error message log:

[25-Sep-2009 23:11:02] PHP Warning:  include(hmail_login.php) [function.include]: failed to open stream: No such file or directory in C:\Webmail\roundcubemail\program\include\iniset.php on line 104

[25-Sep-2009 23:11:02] PHP Warning:  include() [function.include]: Failed opening 'hmail_login.php' for inclusion (include_path='C:\Webmail\roundcubemail/;C:\Webmail\roundcubemail/program;C:\Webmail\roundcubemail/program/lib;C:\Webmail\roundcubemail/program/include;.;C:\php5\pear') in C:\Webmail\roundcubemail\program\include\iniset.php on line 104

[25-Sep-2009 23:11:21] PHP Warning:  include(hmail_login.php) [function.include]: failed to open stream: No such file or directory in C:\Webmail\roundcubemail\program\include\iniset.php on line 104

[25-Sep-2009 23:11:21] PHP Warning:  include() [function.include]: Failed opening 'hmail_login.php' for inclusion (include_path='C:\Webmail\roundcubemail/;C:\Webmail\roundcubemail/program;C:\Webmail\roundcubemail/program/lib;C:\Webmail\roundcubemail/program/include;.;C:\php5\pear') in C:\Webmail\roundcubemail\program\include\iniset.php on line 104

[25-Sep-2009 23:11:21] MDB2 Error: unknown error (-1): _doQuery: [Error message: Could not execute statement]
[Last executed query: UPDATE `hm_accounts` SET `accountlastlogontime` = '2009-09-25 23:11:21', `accountforwardenabled` = '', `accountforwardaddress` = '[email protected]', `accountforwardkeeporiginal` = '1' WHERE `accountaddress` = '[email protected]' LIMIT 1;]
[Native code: 1366]
[Native message: Incorrect integer value: '' for column 'accountforwardenabled' at row 1]


[25-Sep-2009 23:11:21 +0300]: DB Error: MDB2 Error: unknown error Query: _doQuery: [Error message: Could not execute statement] [Last executed query: UPDATE `hm_accounts` SET `accountlastlogontime` = '2009-09-25 23:11:21', `accountforwardenabled` = '', `accountforwardaddress` = '[email protected]', `accountforwardkeeporiginal` = '1' WHERE `accountaddress` = '[email protected]' LIMIT 1;] [Native code: 1366] [Native message: Incorrect integer value: '' for column 'accountforwardenabled' at row 1]  in C:\Webmail\roundcubemail\program\include\rcube_mdb2.php on line 627 (POST /roundcubemail/index.php?_task=settings&_action=plugin.hmail_forwarding-save?_task=&_action=)

rosali

I can't reproduce the issue. It is working fine for me with current RoundCube SVN trunk, hMail 5.2/5.3. Could you give me access to your installation to track this back? I would need a imap test account, the http url and ftp access.
Regards,
Rosali

Wini

Thanks a lot rosali. I have emailed required information to you.

joksi

I installed this plugin the other day, and now im experiencing some similar problems.
I can set the forwarding, but when set its not possible to remove. When unticking "active" and submitting i get the checkbox ticked again, and nothing have changed (no error message).

So i went and googled my problem and found this post, but with no solution mentioned. I did however solve it by my own, and would like to share the solution.

In hmail_forwarding.php, below

  $enabled      = (NULL != get_input_value('_forwardingenabled', RCUBE_INPUT_POST));


add the following:

if(!$enabled)
      $enabled = 0;    


Result:

 $enabled      = (NULL != get_input_value('_forwardingenabled', RCUBE_INPUT_POST));
    if(!$enabled)
      $enabled = 0;    


Rosali, I guess you are managing this plugin repository?
well, please update the plugin.

rosali

Thanks! I have never noticed the problem. It is only an issue if you are not using "dnsbl" plugin.
Regards,
Rosali