HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   ISPConfig 3.0.5.1 Soap Error mail user update (http://www.howtoforge.com/forums/showthread.php?t=60886)

andypl 9th March 2013 19:22

ISPConfig 3.0.5.1 Soap Error mail user update
 
Hi,
I have a problem with changing passwords via a plugin in roundcube.
I get the following message if I want to change the password.

Quote:

Soap Error: quota_error_isint
The following code php plugin for roundcube ispconfig3_pass

PHP Code:

          $params $mail_user[0];
          
$params['password'] = $newpwd;

                                        
$uid $soap->client_get_id($session_id$mail_user[0]['sys_userid']);
                                        
$update $soap->mail_user_update($session_id$uid$mail_user[0]['mailuser_id'], $params);
                                        
$soap->logout($session_id);

                                        
$this->rcmail_inst->output->command('display_message'$this->gettext('successfullysaved'), 'confirmation');

                                        
$_SESSION['password'] = $this->rcmail_inst->encrypt($newpwd);

                                        
$this->rcmail_inst->user->data['password'] = $_SESSION['password'];
                                }
                                catch (
SoapFault $e)
                                {
                                        
$this->rcmail_inst->output->command('display_message''Soap Error: '.$e->getMessage(), 'error');
                                }
                        }
                } 

What should I add or change to properly be able to change your password?
Regards

till 11th March 2013 13:45

In $params array, the quota value seems to be missing. Check were the script gets $mail_user[0] from and ensurre that the quota field is set in that array.

vaio1 26th March 2013 11:20

Same problem for me:

There was a problem with Email account creation: quota_error_isint

Code:

<br />
"server_id":"3",
"email":"info@mydomain.com",
"login":"info@mydomain.com",
"password":"minihulo",
"uid":5000,
"gid":5000,
"maildir":"\/var\/vmail\/sparmi.com\/info",
"quota":2621440000,
"cc":"",
"homedir":"",
"autoresponder":"n",
"autoresponder_start_date":"",
"autoresponder_end_date":"",
"autoresponder_text":"",
"move_junk":"n",
"custom_mailfilter":"",
"postfix":"y",
"access":"n",
"disableimap":"n",
"disablepop3":"n",
"disabledeliver":"n",
"disablesmtp":"n"


dar_ek 13th November 2013 01:02

This is problem with modify/create user data with quota > 2048MB

I'd notice this on bugtrack

http://bugtracker.ispconfig.org/inde...s&task_id=3226


All times are GMT +2. The time now is 14:59.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.