From: SourceForge.net <no...@so...> - 2005-06-24 06:32:43
|
Bugs item #1226805, was opened at 2005-06-23 23:32 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Admin Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Incorrect User ID or Password, or your account has been... Initial Comment: When trying to update a designer or respondent. if you click on the update cancel or delete buttons you are chucked out to the login form. Version phpESP, v1.7.5-rc1. Creating a designer or respondent works fine. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 |
From: SourceForge.net <no...@so...> - 2005-07-13 08:00:51
|
Bugs item #1226805, was opened at 2005-06-24 16:32 Message generated for change (Comment added) made by angek You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Admin Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Incorrect User ID or Password, or your account has been... Initial Comment: When trying to update a designer or respondent. if you click on the update cancel or delete buttons you are chucked out to the login form. Version phpESP, v1.7.5-rc1. Creating a designer or respondent works fine. ---------------------------------------------------------------------- >Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 18:00 Message: Logged In: YES user_id=198398 can you tell me what version of mysql you are running. There may be a problem with ResponseCount() function calls which always return 0 and it could be related to a specific mysql release however I do need to have a closer look to verify if this is indeed the case. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 |
From: SourceForge.net <no...@so...> - 2005-07-13 13:34:26
|
Bugs item #1226805, was opened at 2005-06-24 01:32 Message generated for change (Comment added) made by greggmc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Admin Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Incorrect User ID or Password, or your account has been... Initial Comment: When trying to update a designer or respondent. if you click on the update cancel or delete buttons you are chucked out to the login form. Version phpESP, v1.7.5-rc1. Creating a designer or respondent works fine. ---------------------------------------------------------------------- >Comment By: Matthew Gregg (greggmc) Date: 2005-07-13 08:34 Message: Logged In: YES user_id=14116 It's probably a problem with session variables not being saved properly. I haven't had a chance to look into it yet. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 03:00 Message: Logged In: YES user_id=198398 can you tell me what version of mysql you are running. There may be a problem with ResponseCount() function calls which always return 0 and it could be related to a specific mysql release however I do need to have a closer look to verify if this is indeed the case. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 |
From: SourceForge.net <no...@so...> - 2005-07-13 21:37:14
|
Bugs item #1226805, was opened at 2005-06-24 16:32 Message generated for change (Comment added) made by angek You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Admin Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Incorrect User ID or Password, or your account has been... Initial Comment: When trying to update a designer or respondent. if you click on the update cancel or delete buttons you are chucked out to the login form. Version phpESP, v1.7.5-rc1. Creating a designer or respondent works fine. ---------------------------------------------------------------------- >Comment By: Kon Angelopoulos (angek) Date: 2005-07-14 07:37 Message: Logged In: YES user_id=198398 there's a function called response_count in admin/include/lib/espdatalib.inc which was giving me grief (returning 0). having made some changes to the function allowed the script to function correctly and take me back to the designers page and not the login screen. However now when I updated a designer account I keep getting an error message "This account does not have permission to access this form." checking session vars did indicate that superuser now equaled N instead of Y. If you like I'll keep looking into it. ---------------------------------------------------------------------- Comment By: Matthew Gregg (greggmc) Date: 2005-07-13 23:34 Message: Logged In: YES user_id=14116 It's probably a problem with session variables not being saved properly. I haven't had a chance to look into it yet. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 18:00 Message: Logged In: YES user_id=198398 can you tell me what version of mysql you are running. There may be a problem with ResponseCount() function calls which always return 0 and it could be related to a specific mysql release however I do need to have a closer look to verify if this is indeed the case. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 |
From: SourceForge.net <no...@so...> - 2005-07-13 23:28:46
|
Bugs item #1226805, was opened at 2005-06-24 16:32 Message generated for change (Comment added) made by angek You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Admin Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Incorrect User ID or Password, or your account has been... Initial Comment: When trying to update a designer or respondent. if you click on the update cancel or delete buttons you are chucked out to the login form. Version phpESP, v1.7.5-rc1. Creating a designer or respondent works fine. ---------------------------------------------------------------------- >Comment By: Kon Angelopoulos (angek) Date: 2005-07-14 09:28 Message: Logged In: YES user_id=198398 the same problem occurs when trying to edit/update respondent accounts. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-14 07:37 Message: Logged In: YES user_id=198398 there's a function called response_count in admin/include/lib/espdatalib.inc which was giving me grief (returning 0). having made some changes to the function allowed the script to function correctly and take me back to the designers page and not the login screen. However now when I updated a designer account I keep getting an error message "This account does not have permission to access this form." checking session vars did indicate that superuser now equaled N instead of Y. If you like I'll keep looking into it. ---------------------------------------------------------------------- Comment By: Matthew Gregg (greggmc) Date: 2005-07-13 23:34 Message: Logged In: YES user_id=14116 It's probably a problem with session variables not being saved properly. I haven't had a chance to look into it yet. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 18:00 Message: Logged In: YES user_id=198398 can you tell me what version of mysql you are running. There may be a problem with ResponseCount() function calls which always return 0 and it could be related to a specific mysql release however I do need to have a closer look to verify if this is indeed the case. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 |
From: SourceForge.net <no...@so...> - 2005-07-14 00:23:56
|
Bugs item #1226805, was opened at 2005-06-24 16:32 Message generated for change (Comment added) made by angek You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Admin Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Incorrect User ID or Password, or your account has been... Initial Comment: When trying to update a designer or respondent. if you click on the update cancel or delete buttons you are chucked out to the login form. Version phpESP, v1.7.5-rc1. Creating a designer or respondent works fine. ---------------------------------------------------------------------- >Comment By: Kon Angelopoulos (angek) Date: 2005-07-14 10:23 Message: Logged In: YES user_id=198398 OK when the auth_mode is set to basic none of these problems exist. They only occur when $ESPCONFIG['auth_mode']='form'; ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-14 09:28 Message: Logged In: YES user_id=198398 the same problem occurs when trying to edit/update respondent accounts. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-14 07:37 Message: Logged In: YES user_id=198398 there's a function called response_count in admin/include/lib/espdatalib.inc which was giving me grief (returning 0). having made some changes to the function allowed the script to function correctly and take me back to the designers page and not the login screen. However now when I updated a designer account I keep getting an error message "This account does not have permission to access this form." checking session vars did indicate that superuser now equaled N instead of Y. If you like I'll keep looking into it. ---------------------------------------------------------------------- Comment By: Matthew Gregg (greggmc) Date: 2005-07-13 23:34 Message: Logged In: YES user_id=14116 It's probably a problem with session variables not being saved properly. I haven't had a chance to look into it yet. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 18:00 Message: Logged In: YES user_id=198398 can you tell me what version of mysql you are running. There may be a problem with ResponseCount() function calls which always return 0 and it could be related to a specific mysql release however I do need to have a closer look to verify if this is indeed the case. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 |
From: SourceForge.net <no...@so...> - 2005-07-14 02:52:25
|
Bugs item #1226805, was opened at 2005-06-24 16:32 Message generated for change (Comment added) made by angek You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Admin Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Incorrect User ID or Password, or your account has been... Initial Comment: When trying to update a designer or respondent. if you click on the update cancel or delete buttons you are chucked out to the login form. Version phpESP, v1.7.5-rc1. Creating a designer or respondent works fine. ---------------------------------------------------------------------- >Comment By: Kon Angelopoulos (angek) Date: 2005-07-14 12:52 Message: Logged In: YES user_id=198398 so a conflict exists with the use of the $username variable. When a designer or respondent are being edited the session var for username changes to that of the edited designer or respondent. A simple work around/fix would be to utilise a different variable for capturing and processing the login credentials: for example: in admin/include/lib/esphtml.forms.inc beginning at line 171: $str .= '<label for="username">'; $str .= "Username:"; $str .= '</label>'; $str .= mktext("username"); change line 174 to: $str .= mktext("user"); then in admin/manage.php beginning at line 46 and ending at line 53: 46 elseif ($ESPCONFIG['auth_mode'] == 'form') { 47 if (isset($HTTP_POST_VARS['Login'])) { 48 if (!isset($HTTP_POST_VARS['username'])) { 49 $HTTP_POST_VARS['username'] = ""; 50 } 51 if ($HTTP_POST_VARS['username'] != "") { 52 $_SESSION['username'] = $HTTP_POST_VARS['username']; 53 } change the occurance of 'username' to 'user' this should fix the problem for those using $ESPCONFIG['auth_mode']='form'; Given that I haven't had a chance to catch up on all the changes made to phpESP to date there may be an easier way of fixing this problem. From my testing the above solution doesn't seem to have broken anything else. Could someone else please take a look at it and report back. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-14 10:23 Message: Logged In: YES user_id=198398 OK when the auth_mode is set to basic none of these problems exist. They only occur when $ESPCONFIG['auth_mode']='form'; ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-14 09:28 Message: Logged In: YES user_id=198398 the same problem occurs when trying to edit/update respondent accounts. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-14 07:37 Message: Logged In: YES user_id=198398 there's a function called response_count in admin/include/lib/espdatalib.inc which was giving me grief (returning 0). having made some changes to the function allowed the script to function correctly and take me back to the designers page and not the login screen. However now when I updated a designer account I keep getting an error message "This account does not have permission to access this form." checking session vars did indicate that superuser now equaled N instead of Y. If you like I'll keep looking into it. ---------------------------------------------------------------------- Comment By: Matthew Gregg (greggmc) Date: 2005-07-13 23:34 Message: Logged In: YES user_id=14116 It's probably a problem with session variables not being saved properly. I haven't had a chance to look into it yet. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 18:00 Message: Logged In: YES user_id=198398 can you tell me what version of mysql you are running. There may be a problem with ResponseCount() function calls which always return 0 and it could be related to a specific mysql release however I do need to have a closer look to verify if this is indeed the case. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 |
From: SourceForge.net <no...@so...> - 2005-07-14 13:25:56
|
Bugs item #1226805, was opened at 2005-06-24 01:32 Message generated for change (Comment added) made by greggmc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Admin Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Matthew Gregg (greggmc) Summary: Incorrect User ID or Password, or your account has been... Initial Comment: When trying to update a designer or respondent. if you click on the update cancel or delete buttons you are chucked out to the login form. Version phpESP, v1.7.5-rc1. Creating a designer or respondent works fine. ---------------------------------------------------------------------- >Comment By: Matthew Gregg (greggmc) Date: 2005-07-14 08:25 Message: Logged In: YES user_id=14116 Sigh.. yeah that is it. I'll get this fixed for the next RC release. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 21:52 Message: Logged In: YES user_id=198398 so a conflict exists with the use of the $username variable. When a designer or respondent are being edited the session var for username changes to that of the edited designer or respondent. A simple work around/fix would be to utilise a different variable for capturing and processing the login credentials: for example: in admin/include/lib/esphtml.forms.inc beginning at line 171: $str .= '<label for="username">'; $str .= "Username:"; $str .= '</label>'; $str .= mktext("username"); change line 174 to: $str .= mktext("user"); then in admin/manage.php beginning at line 46 and ending at line 53: 46 elseif ($ESPCONFIG['auth_mode'] == 'form') { 47 if (isset($HTTP_POST_VARS['Login'])) { 48 if (!isset($HTTP_POST_VARS['username'])) { 49 $HTTP_POST_VARS['username'] = ""; 50 } 51 if ($HTTP_POST_VARS['username'] != "") { 52 $_SESSION['username'] = $HTTP_POST_VARS['username']; 53 } change the occurance of 'username' to 'user' this should fix the problem for those using $ESPCONFIG['auth_mode']='form'; Given that I haven't had a chance to catch up on all the changes made to phpESP to date there may be an easier way of fixing this problem. From my testing the above solution doesn't seem to have broken anything else. Could someone else please take a look at it and report back. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 19:23 Message: Logged In: YES user_id=198398 OK when the auth_mode is set to basic none of these problems exist. They only occur when $ESPCONFIG['auth_mode']='form'; ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 18:28 Message: Logged In: YES user_id=198398 the same problem occurs when trying to edit/update respondent accounts. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 16:37 Message: Logged In: YES user_id=198398 there's a function called response_count in admin/include/lib/espdatalib.inc which was giving me grief (returning 0). having made some changes to the function allowed the script to function correctly and take me back to the designers page and not the login screen. However now when I updated a designer account I keep getting an error message "This account does not have permission to access this form." checking session vars did indicate that superuser now equaled N instead of Y. If you like I'll keep looking into it. ---------------------------------------------------------------------- Comment By: Matthew Gregg (greggmc) Date: 2005-07-13 08:34 Message: Logged In: YES user_id=14116 It's probably a problem with session variables not being saved properly. I haven't had a chance to look into it yet. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 03:00 Message: Logged In: YES user_id=198398 can you tell me what version of mysql you are running. There may be a problem with ResponseCount() function calls which always return 0 and it could be related to a specific mysql release however I do need to have a closer look to verify if this is indeed the case. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 |
From: SourceForge.net <no...@so...> - 2005-07-25 18:01:51
|
Bugs item #1226805, was opened at 2005-06-24 01:32 Message generated for change (Settings changed) made by greggmc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Admin Group: None >Status: Closed >Resolution: Works For Me Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Matthew Gregg (greggmc) Summary: Incorrect User ID or Password, or your account has been... Initial Comment: When trying to update a designer or respondent. if you click on the update cancel or delete buttons you are chucked out to the login form. Version phpESP, v1.7.5-rc1. Creating a designer or respondent works fine. ---------------------------------------------------------------------- Comment By: Matthew Gregg (greggmc) Date: 2005-07-14 08:25 Message: Logged In: YES user_id=14116 Sigh.. yeah that is it. I'll get this fixed for the next RC release. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 21:52 Message: Logged In: YES user_id=198398 so a conflict exists with the use of the $username variable. When a designer or respondent are being edited the session var for username changes to that of the edited designer or respondent. A simple work around/fix would be to utilise a different variable for capturing and processing the login credentials: for example: in admin/include/lib/esphtml.forms.inc beginning at line 171: $str .= '<label for="username">'; $str .= "Username:"; $str .= '</label>'; $str .= mktext("username"); change line 174 to: $str .= mktext("user"); then in admin/manage.php beginning at line 46 and ending at line 53: 46 elseif ($ESPCONFIG['auth_mode'] == 'form') { 47 if (isset($HTTP_POST_VARS['Login'])) { 48 if (!isset($HTTP_POST_VARS['username'])) { 49 $HTTP_POST_VARS['username'] = ""; 50 } 51 if ($HTTP_POST_VARS['username'] != "") { 52 $_SESSION['username'] = $HTTP_POST_VARS['username']; 53 } change the occurance of 'username' to 'user' this should fix the problem for those using $ESPCONFIG['auth_mode']='form'; Given that I haven't had a chance to catch up on all the changes made to phpESP to date there may be an easier way of fixing this problem. From my testing the above solution doesn't seem to have broken anything else. Could someone else please take a look at it and report back. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 19:23 Message: Logged In: YES user_id=198398 OK when the auth_mode is set to basic none of these problems exist. They only occur when $ESPCONFIG['auth_mode']='form'; ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 18:28 Message: Logged In: YES user_id=198398 the same problem occurs when trying to edit/update respondent accounts. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 16:37 Message: Logged In: YES user_id=198398 there's a function called response_count in admin/include/lib/espdatalib.inc which was giving me grief (returning 0). having made some changes to the function allowed the script to function correctly and take me back to the designers page and not the login screen. However now when I updated a designer account I keep getting an error message "This account does not have permission to access this form." checking session vars did indicate that superuser now equaled N instead of Y. If you like I'll keep looking into it. ---------------------------------------------------------------------- Comment By: Matthew Gregg (greggmc) Date: 2005-07-13 08:34 Message: Logged In: YES user_id=14116 It's probably a problem with session variables not being saved properly. I haven't had a chance to look into it yet. ---------------------------------------------------------------------- Comment By: Kon Angelopoulos (angek) Date: 2005-07-13 03:00 Message: Logged In: YES user_id=198398 can you tell me what version of mysql you are running. There may be a problem with ResponseCount() function calls which always return 0 and it could be related to a specific mysql release however I do need to have a closer look to verify if this is indeed the case. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=1226805&group_id=8956 |