Author Topic: Hmail_plugins  (Read 7830 times)

Offline LucasinoCZ

  • Newbie
  • *
  • Posts: 3
Hmail_plugins
« on: September 14, 2009, 03:55:47 AM »
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?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Hmail_plugins
« Reply #1 on: September 14, 2009, 04:28:13 AM »
This is a known issue and will provide a fix next weekend.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Hmail_plugins
« Reply #2 on: September 14, 2009, 08:30:17 AM »
Please try fix @ myroundcube.googlecode.com
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline LucasinoCZ

  • Newbie
  • *
  • Posts: 3
Hmail_plugins
« Reply #3 on: September 14, 2009, 02:22:50 PM »
Hi, I tried your fix and it seems it´s OK. All hmail plugins are currently working......I´ll try to test them more......

Offline Wini

  • Newbie
  • *
  • Posts: 2
Hmail_plugins
« Reply #4 on: September 25, 2009, 04:13:47 PM »
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` = 'test@tiptip.org.tr', `accountforwardkeeporiginal` = '1' WHERE `accountaddress` = 'test@cipcip.org.tr' 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` = 'test@tiptip.org.tr', `accountforwardkeeporiginal` = '1' WHERE `accountaddress` = 'test@cipcip.org.tr' 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=)
« Last Edit: September 25, 2009, 04:17:58 PM by Wini »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Hmail_plugins
« Reply #5 on: September 26, 2009, 01:07:35 AM »
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
__________________
MyRoundcube Project (commercial)

Offline Wini

  • Newbie
  • *
  • Posts: 2
Hmail_plugins
« Reply #6 on: October 03, 2009, 12:00:35 PM »
Thanks a lot rosali. I have emailed required information to you.

Offline joksi

  • Jr. Member
  • **
  • Posts: 10
Hmail_plugins
« Reply #7 on: December 13, 2009, 07:40:56 AM »
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

Code: [Select]
  $enabled      = (NULL != get_input_value('_forwardingenabled', RCUBE_INPUT_POST));


add the following:

Code: [Select]
if(!$enabled)
      $enabled = 0;    


Result:

Code: [Select]
 $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.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Hmail_plugins
« Reply #8 on: December 13, 2009, 01:19:32 PM »
Thanks! I have never noticed the problem. It is only an issue if you are not using "dnsbl" plugin.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)