Support Forums
ATutor Bug Reports
Cannot Edit Profile
You must be signed-in to post.
| Author | Subject | |
|---|---|---|
| Page: 1 | ||
| george | Subject: Cannot Edit Profile | |
| Although new users can register, none of the users can change their profile. Same applies to admin. Error message is "You must supply a password" - of course I have done so (twice). System Info: Atutor Version 1.1 Linux - RH 8 Apache 2.0.45 mysql 4.0.13 php 4.3.2 zlib 1.1.4 using IE 6 SP1 I am admin Any suggestions? Posted: 2003-06-30 21:30:18 | ||
greg![]() | Subject: Register Globals is Off | |
| replace lines 35 - 43 in users/edit.php // password check if ($password == '') { $errors[] =AT_ERROR_PASSWORD_MISSING; } // check for valid passwords if ($password != $password2){ $valid= 'no'; $errors[]=AT_ERROR_PASSWORD_MISMATCH; } with: // password check if ($_POST['password'] == '') { $errors[] = AT_ERROR_PASSWORD_MISSING; } // check for valid passwords if ($_POST['password'] != $_POST['password2']){ $errors[] = AT_ERROR_PASSWORD_MISMATCH; } Posted: 2003-06-30 22:51:21 | ||
| Page: 1 | ||
You must be signed-in to post.


