Unable to update record access

Hello

I have a page that I use to document the issue of a part of the database.
It is supposed to create a record in the 'Question' table, documenting the reduction of parts (that part works)
It is also supposed to increment the amount of part in the 'Main_Table' table by an update record server behavior.

This is the part that doesn't work. I enclose the code in this CFM file (sorry, its a little long...) Any ideas what I'm doing wrong here?

Thank you in advance,

Eric

PS You can see the actual page at: http://devo.dns2go.com/Issue.cfm?PartNumber=1234 & Contract = Aries % 201 X
You will need to log in. Use Name: user password: user

Thank you very much for the help. For the base of the other viewing this thread, I am attaching the labour code. When the Send button is enabled, the data is updated in the table and a new record is written to the Main_Table table.

Thank you

Eric

Tags: ColdFusion

Similar Questions

  • Update record

    I've created a form that allows the user to enter information in a database where each user has a record. Now, I want to create a page that allows the user to update their records. What I've done so far is created a 'my profile page' that the user is able to access once that they identify you that contains all of the information they provided on the registration page. Also on this page, I put a link change so that they stop the "edit my profile page. from there, I created a query of update folder, but when I tested it to see if it worked don't update the database. I do not know where the data is going at this point. Any help would be appreciated.

    Here is the code for my profile page:

    <? php require_once('Connections/rescue.php');? >

    <? PHP

    initialize the session

    If (! isset {})

    session_start();

    }

    * Log out the current user. **

    $logoutAction = $_SERVER ['PHP_SELF']. » ? doLogout = true;

    If ((isset & & ($_SERVER ['QUERY_STRING']! = "")) {})

    $logoutAction. = '& '. htmlentities($_SERVER['QUERY_STRING']);

    }

    {If ((isset($_GET['doLogout'])) & & ($ {_GET ['doLogout'] == "true"))}

    //to completely disconnect a visitor you must delete the session varialbles

    $_SESSION ['MM_Username'] = NULL;

    $_SESSION ['MM_UserGroup'] = NULL;

    $_SESSION ['PrevUrl'] = NULL;

    unset($_SESSION['MM_Username']);

    unset($_SESSION['MM_UserGroup']);

    unset($_SESSION['PrevUrl']);

    $logoutGoTo = "logout.php";

    if {($logoutGoTo)

    header ("Location: $logoutGoTo");

    "output";

      }

    }

    ? >

    <? PHP

    If (! isset {})

    session_start();

    }

    $MM_authorizedUsers = "";

    $MM_donotCheckaccess = "true";

    Restrict access to Page: grant or deny access to this page

    Function isAuthorized ($strUsers, $UserGroup, $strGroups, $UserName) {}

    / / For safety, first assuming that the visitor is NOT allowed.

    $isValid = false;

    / / When a visitor is connected to this site, the Session value variable MM_Username equal to their username.

    / / So, we know that a user is NOT logged if this Session variable is empty.

    if (! empty ($UserName)) {}

    / / In addition to be connected, you can restrict access to only certain users based on a created ID when they connect.

    / / Parse strings in the tables.

    $arrUsers = explode (",", $strUsers);

    $arrGroups = explode (",", $strGroups);

    if (in_array ($UserName, $arrUsers)) {}

    $isValid = true;

        }

    / / Or you can restrict access to only certain users based on their user name.

    if (in_array ($UserGroup, $arrGroups)) {}

    $isValid = true;

        }

    if (($strUsers == "") & & true) {}

    $isValid = true;

        }

      }

    return $isValid;

    }

    $MM_restrictGoTo = 'login.php ';

    If (!) ((isset($_SESSION['MM_Username']))) & & (isAuthorized ("", $MM_authorizedUsers, $_SESSION ['MM_Username'], $_SESSION ['MM_UserGroup']))) { }

    $MM_qsChar = ';?

    $MM_referrer = $_SERVER ['PHP_SELF'];

    if (strpos ($MM_restrictGoTo, "?")) $MM_qsChar = "&";

    if (isset($_SERVER['QUERY_STRING']) & & strlen($_SERVER['QUERY_STRING']) > 0)

    $MM_referrer. = « ? ». $_SERVER ['QUERY_STRING'];

    $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar. "accesscheck =". UrlEncode ($MM_referrer);

    header ("Location:".) $MM_restrictGoTo);

    "output";

    }

    ? >

    <? PHP

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    if (via PHP_VERSION < 6) {}

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

      }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;   

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

      }

    return $theValue;

    }

    }

    $colname_rsmyprofile = "-1";

    If (isset($_SESSION['register_login'])) {}

    $colname_rsmyprofile = $_SESSION ["register_login"];

    }

    @mysql_select_db ($database_rescue, $rescue);

    $query_rsmyprofile = sprintf ("" SELECT * from user_registration WHERE register_login = %s ", GetSQLValueString ($colname_rsmyprofile,"text")");

    $rsmyprofile = mysql_query ($query_rsmyprofile, $rescue) or die (mysql_error ());

    $row_rsmyprofile = mysql_fetch_assoc ($rsmyprofile);

    $totalRows_rsmyprofile = mysql_num_rows ($rsmyprofile); $colname_rsmyprofile = "-1";

    If (isset($_SESSION['MM_Username'])) {}

    $colname_rsmyprofile = $_SESSION ['MM_Username"];

    }

    @mysql_select_db ($database_rescue, $rescue);

    $query_rsmyprofile = sprintf ("" SELECT * from user_registration WHERE register_login = %s ", GetSQLValueString ($colname_rsmyprofile,"text")");

    $rsmyprofile = mysql_query ($query_rsmyprofile, $rescue) or die (mysql_error ());

    $row_rsmyprofile = mysql_fetch_assoc ($rsmyprofile);

    $totalRows_rsmyprofile = mysql_num_rows ($rsmyprofile);

    ? >

    < table width = "591" cellpadding = "2" cellspacing = "2" >

    < class tr = "mainlabels" >

    < td colspan = "4" bgcolor = "#FFFFFF" style = "color: #FFF;" do-family: "Arial Black", Gadget, without serif. do-size: 16px; make-weight: bold; ' > < div align = "left" > < / div > < table >

    < /tr >

    < class tr = "mainlabels" >

    < td colspan = "4" bgcolor = "#FF0000" style = "color: #FFF;" do-family: "Arial Black", Gadget, without serif. do-size: 16px; make-weight: bold; ' > < div align = "left" > news < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" style = "do-size: 12px;" do-family: Arial, Helvetica, without serif. Color: #000; make-weight: normal; ' > < table >

    < class td = "mainlabels" > < table >

    < class td = "mainlabels" > < table >

    < class td = "mainlabels" > < a href = "editmyprofile.php" style ="color: #F00; make-weight: bold; "> < u > < /u > < /a > < table > Edit

    < /tr >

    < tr >

    < td width = "93" class = "mainlabels" style = "do-size: 12px;" do-family: Arial, Helvetica, without serif. Color: #000; make-weight: normal; ' > < div align = "left" > name: < / div > < table >

    < td width = "192" class = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["register_name"];? > < / div > < table >

    < td width = "107" class = "mainlabels" > < div align = "left" > < / div > < table >

    < td width = "175" class = "mainlabels" > < div align = "left" > < img src = "images/small_logo.jpg" width = "100" height = "25" alt = "Petit Logo" / > < / div > < table > "

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > < span class = "mainlabels" > </span > PrimaryEmail: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["register_pemail"];? > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > Second E-mail: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["register_semail"];? > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > land line: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["register_phone"];? > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > cell phone: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["register_cellphone"];? > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > user name: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["register_login"];? > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > password: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["register_pass"];? > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < /tr >

    < class tr = "mainlabels" >

    < td colspan = "4" bgcolor = "#FF0000" style = "do-family:"Arial Black", Gadget, without serif;" do-size: 16px; color: #FFF; ' > < div align = "left" > Information of emergency Contact < / div > < table >

    < /tr >

    < tr >

    < td colspan = "2" class = "mainlabels" > < table >

    < class td = "mainlabels" > < table >

    < class td = "mainlabels" > < table >

    < /tr >

    < tr >

    < td colspan = "2" class = "mainlabels" > < div align = "left" > Emergency Contact 1 < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > name: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con1_name"];? > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > Email: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con1_email"];? > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > land line: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con1_land"];? > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > cell phone: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con1_cell"];? > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < td rowspan = "2" class = "mainlabels" > < div align = "center" > < img src = "images/emg_contact_btn_edited - 1.png" width = "75" height = "97" alt = "Emergency Contact button" / > < / div > < table >

    < /tr >

    < tr >

    < td colspan = "2" class = "mainlabels" > < div align = "left" > Emergency Contact 2 < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > name: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con2_name"];? > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > Email: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con2_email"];? > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > landline < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con2_land"];? > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > cell phone: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con2_cell"];? > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < /tr >

    < tr >

    < td colspan = "2" class = "mainlabels" > < div align = "left" > Emergency Contact 3 < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > name: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con3_name"];? > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > Email: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con3_email"];? > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > land line: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con3_land"];? > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > cell phone: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con3_cell"];? > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < /tr >

    < tr >

    < td colspan = "2" class = "mainlabels" > < div align = "left" > Emergency Contact 4 < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > name: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con4_name"];? > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > Email: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con4_email"];? > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > land line: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con4_land"];? > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > cell phone: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con4_cell"];? > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < /tr >

    < tr >

    < td colspan = "2" class = "mainlabels" > < div align = "left" > Emergency Contact 5 < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > name: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con5_name"];? > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > Email: < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con5_email"];? > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > landline < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con5_land"];? > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > cell phone < / div > < table >

    < class td = "mainlabels" > < div align = "left" > <? PHP echo $row_rsmyprofile ["con5_cell"];? > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < class td = "mainlabels" > < div align = "left" > < / div > < table >

    < /tr >

    < tr >

    < class td = "mainlabels" > < table >

    < class td = "mainlabels" > < div align = "center" > < / div > < table >

    < class td = "mainlabels" > < table >

    < class td = "mainlabels" > < table >

    < /tr >

    < /table >

    Here is the code for the update of the folder page:

    <? php require_once('Connections/rescue.php');? >

    <? PHP

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    if (via PHP_VERSION < 6) {}

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

      }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;   

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

      }

    return $theValue;

    }

    }

    $editFormAction = $_SERVER ['PHP_SELF'];

    If (isset {}

    $editFormAction. = « ? ». htmlentities($_SERVER['QUERY_STRING']);

    }

    If ((isset($_POST["MM_update"])) & & ($_POST ["MM_update"] == "form1")) {}

    $updateSQL = sprintf ("UPDATE user_registration SET register_name = %s register_semail = %s register_pemail = %s, register_cellphone = %s, register_phone = %s, register_login = %s, register_pass = %s WHERE ID = %s",

    GetSQLValueString ($_POST ['register_name'], "text").

    GetSQLValueString ($_POST ['register_semail'], "text").

    GetSQLValueString ($_POST ['register_pemail'], "text").

    GetSQLValueString ($_POST ['register_cellphone'], "text").

    GetSQLValueString ($_POST ['register_phone'], "text").

    GetSQLValueString ($_POST ['register_login'], "text").

    GetSQLValueString ($_POST ['register_pass'], "text").

    GetSQLValueString ($_POST ['ID'], "int"));

    @mysql_select_db ($database_rescue, $rescue);

    $Result1 = mysql_query ($updateSQL, $rescue) or die (mysql_error ());

    $updateGoTo = "myprofile.php;

    if (isset {}

    $updateGoTo. = (strpos ($updateGoTo, '?'))? « & » : « ? » ;

    $updateGoTo. = $_SERVER ['QUERY_STRING'];

      }

    header (sprintf ("location: %s", $updateGoTo));

    }

    $colname_rseditmyprofile = "-1";

    If (isset($_SESSION['MM_Username'])) {}

    $colname_rseditmyprofile = $_SESSION ['MM_Username"];

    }

    @mysql_select_db ($database_rescue, $rescue);

    $query_rseditmyprofile = sprintf ("" SELECT * from user_registration WHERE register_login = %s ", GetSQLValueString ($colname_rseditmyprofile,"text")");

    $rseditmyprofile = mysql_query ($query_rseditmyprofile, $rescue) or die (mysql_error ());

    $row_rseditmyprofile = mysql_fetch_assoc ($rseditmyprofile);

    $totalRows_rseditmyprofile = mysql_num_rows ($rseditmyprofile);

    ? >

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < title > Untitled Document < /title >

    < / head >

    < body >

    < do action = "<?" PHP echo $editFormAction;? ">" method = "post" name = "form1" id = "form1" >

    < table align = "center" >

    < tr valign = "basic" >

    < td nowrap = "nowrap" align = "right" > name: < table >

    < td > < input type = "text" name = "register_name" value = "<?" PHP echo htmlentities ($row_rseditmyprofile ['register_name'], ENT_COMPAT, ' utf - 8');? ">" size = "32" / > < table >

    < /tr >

    < tr valign = "basic" >

    < td nowrap = "nowrap" align = "right" > main E-mail: < table >

    < td > < input type = "text" name = "register_pemail" value = "<?" PHP echo htmlentities ($row_rseditmyprofile ['register_pemail'], ENT_COMPAT, ' utf - 8');? ">" size = "32" / > < table >

    < /tr >

    < tr valign = "basic" >

    < td nowrap = "nowrap" align = "right" > Second E-mail: < table >

    < td > < input type = "text" name = "register_semail" value = "<?" PHP echo htmlentities ($row_rseditmyprofile ['register_semail'], ENT_COMPAT, ' utf - 8');? ">" size = "32" / > < table >

    < /tr >

    < tr valign = "basic" >

    < td nowrap = "nowrap" align = "right" > cell phone: < table >

    < td > < input type = "text" name = "register_cellphone" value = "<?" PHP echo htmlentities ($row_rseditmyprofile ['register_cellphone'], ENT_COMPAT, ' utf - 8');? ">" size = "32" / > < table >

    < /tr >

    < tr valign = "basic" >

    < td nowrap = "nowrap" align = "right" > land line: < table >

    < td > < input type = "text" name = "register_phone" value = "<?" PHP echo htmlentities ($row_rseditmyprofile ['register_phone'], ENT_COMPAT, ' utf - 8');? ">" size = "32" / > < table >

    < /tr >

    < tr valign = "basic" >

    < td nowrap = "nowrap" align = "right" > user name: < table >

    < td > < input type = "text" name = "register_login" value = "<?" PHP echo htmlentities ($row_rseditmyprofile ['register_login'], ENT_COMPAT, ' utf - 8');? ">" size = "32" / > < table >

    < /tr >

    < tr valign = "basic" >

    < td nowrap = "nowrap" align = "right" > password: < table >

    < td > < input type = "text" name = "register_pass" value = "<?" PHP echo htmlentities ($row_rseditmyprofile ['register_pass'], ENT_COMPAT, ' utf - 8');? ">" size = "32" / > < table >

    < /tr >

    < tr valign = "basic" >

    < td nowrap = "nowrap" align = "right" > < table >

    < td > < input type = "submit" value = "Update file" / > < table >

    < /tr >

    < /table >

    < input type = "hidden" name = "MM_update" value = "form1" / >

    < input type = "hidden" name = "ID" value = "<?" PHP echo $row_rseditmyprofile ['ID'];? ">" / >

    < / make >

    < p > < / p >

    < / body >

    < / html >

    <? PHP

    mysql_free_result ($rseditmyprofile);

    ? >

    This topic has been moved to the Dreamweaver application development forum, which deals with PHP and other issues aside server.

    During the validation of the questions, it is useful to see your code, but he expects many others to trawl through hundreds of lines of code. You say the problem lies in the update page, so why put the profile if it does not work properly? However, in looking at the code of your profile page, it seems incomplete. In any case, we will not go if it doesn't work OK.

    When you describe a problem, it helps if you explain what happens when you load the page. Looking at your code, I'm pretty sure that the details of the user are never loaded in the update form. So, the update record server behavior has no way of knowing that you want to update the record.

    The problem is that you are using $_SESSION ['MM_Username'] to retrieve the details of the user in the rseditmyprofile recordset object, but there is no active session on the page.

    You need to add session_start() at the beginning of the update page. I suggest you add it here:

    
    		   
  • Why the iphone 4 is unable to update version? Latest version 7.1.2

    Why the iphone 4 is unable to update version? Latest version 7.1.2

    because the material is too slow

  • iOS 10: unable to update the applications due to Conditions General timeout

    I updated my iPhone 6s to iOS 10 a couple of days and now seem to be unable to update applications. The issue seems to stem from a prompt to read and accept the new "Apple Media Services terms and Conditions." When I click the button to proceed with conditions, a new empty window appears and then things churning just until the request times out (see photos). The same thing happens when I click on "View the apple ID" in the app store or through settings, even if in this case the terms guest does not appear and it charges only up to the time limit. It seems to me that the problem lies in the redirection of the terms of apple. Anyone who has experienced this since the update or does anyone have advice?

    I already tried things:

    -force settings, closed and app store

    -restart the phone

    -disconnected and signed apple ID (this feature works in the app store and the parameters)

    -tested 'show apple ID them' on the phone to my wife (6 s on the same wifi network), successful but the phone still is iOS 9

    -tested "show the apple ID" via iTunes with my macbook, successful and I seem not to be invited to accept the new conditions

    Thank you!

    Post edited by: cstrand_apple
    Added pictures and corrected typos

    The issue seems to have resolved itself. The terms and conditions page is loaded and now updates are allowed. Just a temporary problem, I guess.

  • Unable to update WatchOs 3

    Hi guys,.

    Since the official update is available for 3 WatchOs, I can't seem to do the update on my watch.

    I click on software update as you would, and it comes up with ' watch OS 3 - awaiting installation... ". »

    then click on install and enter my password,.

    THEN...

    It says "Unable to Install Update - an error has occurred in install the latest version of Watch OS on your Apple Watch".

    and just ask you to close the application.

    I updated my phone to iOS 10.

    Watch OS is currently in 2.2.1

    The phone and Apple Watch and iPhone are fully charged.

    Watch is on charge while I attempt it.

    I'm also on the wifi while I attempt it.

    Also, I tried to make a reset (when you hold the 2 buttons together) on the watch and the iPhone and STILL nothing!

    I don't really know why it does not work.

    I'm not a developer, so I have not installed betas, profiles or even jailbreaks. Just a standard user!

    SOMEONE PLEASE HELP! ....

    Thank you

    Swaad

    Hello iSwaad,

    Welcome to the communities of Apple Support!

    If you are unable to update watch OS 3, turn on the wireless router/modem to re-establish a connection to the internet.  Then follow the steps in the resource below.  I've highlighted the key here information.  Click on the link for more details.

    Update the software on your Apple Watch

    If you need help updating

    Try the following steps:

    1. Make sure your Apple Watch connects to its charger.
    2. Restart your Apple Watch. Hold down the side button until you see off the power, then drag the slider. To turn on your watch, press and hold the side button.
    3. Restart your iPhone matched. Press on and press and hold the sleep/wake button until the Red slider appears, and then drag the slider. To turn your iPhone, press and hold the sleep/wake button.
    4. Try to start updating again.

    If the update does not start, Open the Apple Watch app on your iPhone, tap on general > use > software update, and then delete the update file. After you delete the file, try to download and install new watch OS.

    Take care.

  • Update iOS 9.3.5 failed on iPad. Now unable to update or restore to factory presets. "An unknown error has occurred (52).

    I tried to update my iPad for iOS 9.3.4 iOS 9.3.5 directly since the latest version of iTunes on Macbook Pro running the latest update of El Capitan. I tried the update of the iPad without iTunes, but he failed and showed the photo to connect to iTunes.

    The update failed to halfway through (don't remember the exact message) so I unplugged the iPad, restarted iTunes, and tried the update, but the update constantly fails with the message "an unknown error has occurred (52). I also tried via iTunes on my iMac running Yosemite, but has not as well.

    I did all the things listed here:

    https://support.Apple.com/en-us/HT201210

    The iPad was working fine before the update attempt.

    Is there than anything left to try? This iOS update broken my iPad?

    Have you tried to put the iPad into recovery mode?

    If you are unable to update or restore your iPhone, iPad or iPod touch - Apple supports

  • can someone please help, unable to update or restore error-1

    can someone please help I'm unable to update or restore my iphone 5 c due to an error (- 1).

    It is usually a hardware error and you will need to get it repaired. You can also get the same message if the iPhone was jailbroken.

  • My PC says that my version of Safari is no longer supported, but I'm unable to update

    My PC says that my version of Safari is no longer supported, but I'm unable to update.

    Apple dropped the version of Safari Windows after 5.1.7. You need spend browsers.

    (138603)

  • Unable to update or buy apps, family message appears

    Rerecently when I tried to update an app, I got this message that says "there is a problem of billing with previous purchase a family member." Ask the family Organizer to update their billing information. We do not know what to do. My husband can download apps and updating, but I can't. I should mention that we were virgins iPhone until 2 weeks ago. We signed up for family and I are the beginning of the 90-day trial period.

    I don't know if they can help me at the Verizon (?) store

    Any suggestions?

    Betsy

    Hello there, Betsy!

    First of all, welcome to the iPhone family! Looks like you are unable to update your applications because of this message indicates that there was a billing issue. The following article offers some steps on how to solve the problems with payment in iTunes on your computer:

    Pay an outstanding balance on the iTunes Store

    If your payment method was declined, update your billing information. You may need to use a different payment method. When you update your billing information, do not forget to check these things:

    • Make sure that your name and address match the information on file with your financial institution.
    • Make sure that the payment account you are using is in the proper manner.

    If you use family sharing, your method of payment may be denied because there is a billing problem with a previous purchase to the account of a member of the family. The family organizer shall follow the steps described in this article to resolve the problem.

    You can't pay for unpaid orders on an iPhone, iPad or iPod touch.

    If there is a problem with a previous purchase, you will see a message when you connect to the iTunes Store or try to make a purchase.

    When you connect to the iTunes Store

    If you have an outstanding balance, you will see this message: "there is a problem of billing with a previous purchase. Please modify your billing information to fix the problem. »

    You can pay your balance by following these steps:

    1. Click on the message billing information. Change payment information screen.
    2. Update your payment information. You can use one of these payment methods.
    3. Click done. If your payment is declined, iTunes will warn you.

    When you try to make a purchase

    If you have an outstanding balance from a previous purchase, you will see this message: "there is a problem of billing with a previous purchase. Click purchase history to view and correct the problem. If you cancel you won't be able to buy until this billing issue has been resolved. »

    You can pay your balance by following these steps:

    1. Click purchase on the message history. You can see the outstanding balance on your purchase history. Your purchase history will display your most recent purchases first. To view the details of any purchase, click on the arrow to the left of the order date.

  • Click Info or compensation of billing. If you do not store credit, you won't have the ability to click on pay.
    • If click you on pay, you can use your credit to pay your balance.
    • If you click on billing information, you can update your payment information. You can use one of these payment methods.
  • Click done. If your payment is declined, iTunes will warn you.
  • Thank you for reaching out to the communities of Apple Support.

    Kind regards.

  • Error code: 0x800A0046 while windows update sites access & installation of updates... ?

    Error code: 0x800A0046 while windows update sites access & installation of updates... ? Regds, 'a journey of a thousand miles begins with a first step."

    "Resolution of the error code: 0x800A0046".

    To resolve this problem, follow these steps on the client computers. Step 1: Verify the DCOM security

    1. Click Start and run, type Dcomcnfg, and then click OK.
    2. Expand Component Services and then expand computers.
    3. Do right click my computer and then click Properties.
    4. Click the COM Security tab
    5. Under access permissions, click on change by default.
    6. Check that the following accounts are listed:

      On Microsoft Windows XP-based and Microsoft Windows Server 2003 clients

      The collapse of this Expand table this table
      Account name Permission type Permission
      Gites, administrators or a user who belongs to the Administrators group Local access Allow
      System Local access Allow

      On clients based on Microsoft Windows 2000

      The collapse of this Expand table this table
      Account name Permission type Permission
      Directors Local access Allow
      System Local access Allow
    7. If either of these accounts is missing in the access permission box, follow these steps:
      1. Click Add, click Advanced and then click locations.
      2. In the location box, click the Local_Computer_Name and then click OK.
      3. Click Find now.
      4. Press CTRL and click the required account names, and then click OK twice.
      5. In the group or user names box, click an account that you have added, click Local access in the permissions for box Account_Name and then click to select the check box in the column allow.
      6. Repeat step 7 for all accounts that you just added, and then click OK.
    Step 2: Check the DCOM default properties
    1. Click the default properties tab.
    2. Make sure that the following configuration:
      • The Enable Distributed COM on this computer check box is selected.
      • In the default authentication level box, the connection is selected.
      • In the default impersonation level box, the identification is selected.
    3. Make the necessary changes and then click OK.
    4. Restart the computer.

    Step 3: Verify that your user account is not a member of the guests group note this step applies only to computers that are running Windows Server 2003, Windows XP Professional, or Windows 2000 and that are not joined to a domain.

    1. Click Start, click settings, and then click Control Panel.
    2. Double-click Administrative Tools.
    3. Expand computer management, and then expand local users and groups.
    4. Click users.
    5. In the right pane, double-click the account that you used to log on the computer.
    6. Click on the Member tab of.
    7. Click guests, click on remove and then click OK.

    Step 4: Check the security descriptor in customers service updates automatic-based on Windows Server 2003 and Windows XP-based

    1. Click Start, run, type cmd, and then click OK.
    2. At the command prompt, type the following command and press ENTER to reset the security descriptor:
      SC tisb wuauserv D: (A; CCLCSWRPWPDTLOCRRC; SELLERS) (A; CCDCLCSWRPWPDTLOCRSDRCWDWO; (BA) (A; CCLCSWLOCRRC; AU) (A; CCLCSWRPWPDTLOCRRC; CENTRAL UNIT)

      Note in a domain environment, this security setting may be configured by a Group Policy object. If the problem is resolved temporarily after you type this command, a Group Policy object is probably configured. The domain administrator must modify group policy to include the appropriate security settings.

    Windows 2000-based clients

    1. Download the Subinacl utility. To do this, visit the following Microsoft Web site:

      http://www.Microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4A91-93Cf-ed6985e3927b & amp; amp; displaylang = in (http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b & amp; amp; DisplayLang = en)
    2. Double-click on the downloaded file and follow the instructions in the Windows Resource Kit Tools Setup Wizard. By default, the Subinacl utility is installed in the following directory:
      C:\Program Files\Windows Resource Kits\Tools
    3. Click Start, run, type cmd, and then click OK.
    4. At the command prompt, type cd C:\Program Files\Windows Resource Kits\Tools to move to the directory where the Subinacl utility has been installed.
    5. Type the following command and press ENTER:
      Subinacl/service wuauserv /sddl = D:(A;;) CCLCSWRPWPDTLOCRRC; SELLERS) (A; CCDCLCSWRPWPDTLOCRSDRCWDWO; (BA) (A; CCLCSWLOCRRC; AU) (A; CCLCSWRPWPDTLOCRRC; CENTRAL UNIT)
    1. Note in a domain environment, this security setting may be configured by a Group Policy object. If the problem is resolved temporarily after you type this command, a Group Policy object is probably configured. The domain administrator must modify group policy to include the appropriate security settings.
    Step 5: Check the local security policy

    Notes

    • This step applies only to the Windows Server 2003-based, Windows 2000-based, or Windows XP Professional computers.
    • If your user account is in a domain, this security setting may be configured by a Group Policy object that is located on the network. Contact the network administrator, or see the following article for more information Microsoft Knowledge Base:
      810739 (http://support.microsoft.com/kb/810739/) white paper: Troubleshooting Group Policy in Windows 2000
    1. Click Start and run, type gpedit.msc, and then click OK.
    2. Expand Computer Configuration, expand Windows settings, expand Security settings, and then expand local policies.
    3. Click user rights assignment.
    4. In the right pane, double-click on impersonate a client after authentication.
    5. Verify that the Service accounts and directors are included.
    6. If the Service account or the Administrators account is missing, follow these steps to add the account:
      1. Click on add a user or group, click Advanced, and then click locations.
      2. In the location box, click Local_Computer_Name, and then click OK.
      3. Click Find now.
      4. Press CTRL and click the required account names, and then click OK three times.
    7. Restart the computer.

    Step 6: Enable the persistence of user data in Microsoft Internet Explorer

    1. Open Internet Explorer.
    2. On the Tools menu, click Internet Options.
    3. Click the Security tab, and then click Internet.
    4. Click on custom level.
    5. In the settings dialog box, scroll down to the Miscellaneous section.
    6. Under the Userdata persistence, click Activate.
    7. Click OK two times.

    Kind regards
    Sohail Patel

    Regds, 'a journey of a thousand miles begins with a first step."

  • Windows 2008 Server: unable to update the password. the value provided for the new password does not respect length, complexity, or history of the field requirements

    Unable to update the password. the value provided for the new password does not respect length, complexity, or history of the field requirements

    Hello

    I suggest you to send your request in this forum for better support.
  • due to the infection by the virus, I am unable to update windows and essential security. What is the solution permanently if I face this problem again

    Unable to update windows sp3 and security essential.mesage appears when try it to update.internet Explorer cannot open this page.i have to install a new copy

    When (date about) don't you install Microsoft Security Essentials (MSE)?

    What antivirus application was installed before you installed MSE, was your subscription always news, and in fact you uninstall it before installing MSE?

    A (another) Norton or McAfee application ever been installed on the computer (for example, a free trial version which is preinstalled when you bought it)?

    More...

    Support Microsoft Security Essentials forums
    http://social.answers.Microsoft.com/forums/en-us/category/MSE

    Can I install Microsoft Security Essentials [or any other anti-virus/anti-spyware application] to clean my already infected computer?
    http://social.answers.Microsoft.com/forums/en-us/msescan/thread/87058857-D181-4019-a723-efd9a49d9275

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Microsoft Security Essentials unable to update the definitions of spyware, error code 0 x 8000-4004

    Microsoft Security Essentials is unable to update the definitions of spyware, my computer is essentially unprotected right now.

    * original title - error code 0 x 8000-4004 (says that there is internet connectivity or network issue/no prlblem with my internet or connectivity *)

    Hello

    Try the steps listed in the links below and check, if this can help: install the latest Microsoft Security Essentials definition updates: http://www.microsoft.com/security/portal/Definitions/HowToMSE.aspx

    How to manually download the latest Microsoft Security Essentials definition updates: http://support.microsoft.com/kb/971606

    For more assistance, you can post your request in the Sub forum: http://answers.microsoft.com/enus/protect/forum

  • Windows update update exceptional error 0x8DDD0001 & 80246008 unable to update 36

    Windows Update error exceptional 0x8DDD0001 & 80246008 unable to update 36!

    One thread will do, thank you.

    To avoid confusion and duplication of effort, please post a follow-up later all replies to your thread of origin-online http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_update/i-cannot-update-windows-showing-error-code/f4f79719-330f-49b5-b51b-839e712f0711

  • I m unable to update windows Defender... it shows always a few code.what of the error to do nw?

    I m unable to update windows Defender... it shows always a few code.what of the error to do nw?

    How to troubleshoot Windows Defender definition update
    http://support.Microsoft.com/kb/918355

Maybe you are looking for

  • Download of Microsoft Problems__

    While I have successfully downloaded a program (Kaspersky) and had a successful download from Microsoft Update, I had many, many failures in automatic and launched the Microsoft Updates downloads. Is - is this another symptom of a problem with my com

  • I now have two copies of each song on my computer. An mp3 and a mp4. Which one should I keep?

    Original title: mp3 or mp4? I now have two copies of each song on my computer. An mp3 and a mp4. Which one should I keep?

  • PlayStation Vita undetected. Running Windows 7 64-bit on Dell XPS15 L501X

    Hi, I installed the content Assistant Manager Playstation and runs in the background. In law, I should be able to simply plug the Vita and Windows will detect the device and I'll be able to transfer files between my PC and my Vita However, this is no

  • Content bearing AEM to MEA Mobile Apps?

    HelloI managed to follow the article here and integrate the AEM and AEM Mobile on demand portal. Now, I would like to know if there is a way to bring in any content with AEM in MEA Mobile Apps. After the integration, when I open the imported project,

  • Comment and mark the text cursor

    Does anyone know how to enter a comment or to mark a part of a pdf without using the slider text? I need to know that to a blind student. We know how to turn on the tool with the shortcuts, but we have not found how to select text, which must be mark