ispCP - Board - Support
error when change password - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: error when change password (/thread-8980.html)



error when change password - theprincy - 12-28-2009 05:24 PM

by admin I tried to change the password of user retail get this error:

Notice: Undefined offset: 2 in /var/www/ispcp/gui/include/input-checks.php on line 255

while if the change from your dealer does not have any error like that?


RE: error when change password - Nuxwin - 12-28-2009 05:48 PM

Hi ;

What ispCP version you use ?

EDIT: Ok, you use trunk. I'll fix it ASAP. Wink

Fix:

In the /var/www/ispcp/gui/include/input-checks.php file (on line 255) changes the line as follow:
Code:
$validation_err_msg = "Wrong email local part: {$email_part[2]}";
to
Code:
$validation_err_msg = "Wrong email local part: {$email_part[0]}";

Note:
Only trunk issue.

Fixed in r2472 --> http://www.isp-control.net/ispcp/changeset/2472


RE: error when change password - theprincy - 12-28-2009 10:48 PM

(12-28-2009 05:48 PM)nuxwin Wrote:  Hi ;

What ispCP version you use ?

EDIT: Ok, you use trunk. Wink

do not tell me you got the new crystal ball ... Big Grin


RE: error when change password - Nuxwin - 12-29-2009 12:17 PM

Dr. HOUSE ATTITUDE MODE:

Sure, I have two crystal balls between my legs but they are not new, I can assure you. Big Grin

NORMAL MODE:

Ok, I go