Warning: Cannot modify header information

Hi,
When I submit a form I get
Warning: Cannot modify header information - headers already sent by (output started at /home/aiop/public_html/events/registerEventWA.php:4) in /home/aiop/public_html/includes/common/KT_functions.inc.php on line 464
I know this usually means i have a space either before the

I have encountered that a few times, and always figured it out, it fixed itself, or, some other standard task remedied it, unknowingly to me.
my mantra: I'm no guru!
but ive seen this a few times and cant remember much details.
I'm thinking it may have came once with SSI situations. Or it may have been something with improper syntax in my connection file. Sorry that's not a LOT of help, but i'll be lookin out and if i see it again soon, and / or if i remember the cause / remedy, i'll post.
Best,
ben blue

Similar Messages

  • Error says: Warning: Cannot modify header information

    I keep receiving an error message after my form is sent (the form still send the information I need just wont re-direct to the next page)
    It redirects to a page that says:
    Warning: Cannot modify header information - headers already sent by (output started at /home/tommyle/public_html/newp.php:10) in /home/tommyle/public_html/newp.php on line 41
    my php code looks like this:
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Tommy Lemonade Beta</title>
    <link href="style1.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <?php
    /* Set e-mail recipient */
    $myemail = "profiles@tommylemonade";
    /* Check all form inputs using check_input function */
    $name = check_input($_POST['name'], "Enter your name");
    $subject = check_input($_POST['subject'], "Enter a subject");
    $email = check_input($_POST['email']);
    $message = check_input($_POST['message'], "Write your message");
    /* If e-mail is not valid show error message */
    if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $email))
    show_error("E-mail address not valid");
    /* Let's prepare the message for the e-mail */
    $message = "
    Name: $name
    E-mail: $email
    Subject: $subject
    Message:
    $message
    /* Send the message using mail() function */
    mail($myemail, $subject, $message);
    /* Redirect visitor to the thank you page */
    header('Location: thanks.html');
    exit();
    /* Functions we used */
    function check_input($data, $problem='')
    $data = trim($data);
    $data = stripslashes($data);
    $data = htmlspecialchars($data);
    if ($problem && strlen($data) == 0)
    show_error($problem);
    return $data;
    function show_error($myError)
    ?>
    <html>
    <body>
    <p>Please correct the following error:</p>
    <strong><?php echo $myError; ?></strong>
    <p>Hit the back button and try again</p>
    </body>
    </html>
    <?php
    exit();
    ?>
    </body>
    </html>
    This is line 41:
    header('Location: thanks.html');
    Can anybody see what I'm missing?

    Yeah, rework the code so you don't get any output before the php code is executed (like below):
    <?php
    /* Set e-mail recipient */
    $myemail = "profiles@tommylemonade";
    /* Check all form inputs using check_input function */
    $name = check_input($_POST['name'], "Enter your name");
    $subject = check_input($_POST['subject'], "Enter a subject");
    $email = check_input($_POST['email']);
    $message = check_input($_POST['message'], "Write your message");
    /* If e-mail is not valid show error message */
    if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $email))
    show_error("E-mail address not valid");
    /* Let's prepare the message for the e-mail */
    $message = "
    Name: $name
    E-mail: $email
    Subject: $subject
    Message: $message
    /* Send the message using mail() function */
    mail($myemail, $subject, $message);
    /* Redirect visitor to the thank you page */
    header('Location: thanks.html');
    exit();
    /* Functions we used */
    function check_input($data, $problem='')
    $data = trim($data);
    $data = stripslashes($data);
    $data = htmlspecialchars($data);
    if ($problem && strlen($data) == 0)
    show_error($problem);
    return $data;
    function show_error($myError)
    ?>
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Tommy Lemonade Beta</title>
    <link href="style1.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <p>Please correct the following error:</p>
    <strong><?php echo $myError; ?></strong>
    <p>Hit the back button and try again</p>
    </body>
    </html>
    <?php
    exit();
    ?>

  • Warning: Cannot modify header information..../includes/common/KT_functions.inc.php on line 465

    Hi,
    I've moved a website from a server to another, and have got this little issue,
    I've a form witch gets submit and the user redirects to a "thank you" page, on the submittion I've added mail send so I get an email when the form is submitted, the mail part works fine, I get the emails. but after clicking the submit button this error comes up instead of redirecting to the thank you page.
    Warning:  Cannot modify header information - headers already sent by (output started at ..../index.php:79) in /...../includes/common/KT_functions.inc.php on line 465
    This is the KT_functions.inc.php part,
    function KT_redir($url) {
        $protocol = "http://";
        $server_name = $_SERVER["HTTP_HOST"];
        if ($server_name != '') {
            $protocol = "http://";
            if (isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == "on")) {
                $protocol = "https://";
            if (preg_match("#^/#", $url)) {
                $url = $protocol.$server_name.$url;
            } else if (!preg_match("#^[a-z]+://#", $url)) {
                $script = KT_getPHP_SELF();
                if (isset($_SERVER['PATH_INFO']) && $_SERVER['PATH_INFO'] != '' && $_SERVER['PATH_INFO'] != $_SERVER['PHP_SELF']) {
                    $script = substr($script, 0, strlen($script) - strlen($_SERVER['PATH_INFO']));
                $url = $protocol.$server_name.(preg_replace("#/[^/]*$#", "/", $script)).$url;
                    session_write_close();
            $url = str_replace(" ","%20",$url);
            if (KT_is_ajax_request()) {
                header("Kt_location: ".$url);
                echo "Redirecting to: " . $url;
            else {
                header("Location: ".$url);
        exit;
    I'm not a coder and appreciate any help.
    Thanks in advance.

    addField("fornamn", true, "text", "", "", "", "Vänligen skriv ditt namn"); $formValidation->addField("efternamn", true, "text", "", "", "", "Vänligen skriv efternamn"); $formValidation->addField("gatu", true, "text", "", "", "", "Vänligen skriv gatuadress"); $formValidation->addField("postnummer", true, "text", "", "", "", "Vänligen ange postnummer"); $formValidation->addField("ort", true, "text", "", "", "", "Vänligen skriv ort"); $formValidation->addField("telefon", true, "numeric", "int", "5", "", "Vänligen skriv ett giltilgt telefon nummer"); $formValidation->addField("epost", true, "text", "email", "", "", "Vänligen skriv en e-post adress. dit skickar vi status på din service"); $tNGs->prepareValidation($formValidation); // End trigger //start Trigger_SendEmail trigger //remove this line if you want to edit the code by hand function Trigger_SendEmail(&$tNG) {   $emailObj = new tNG_Email($tNG);   $emailObj->setFrom("[email protected]");   $emailObj->setTo("{epost}");   $emailObj->setCC("");   $emailObj->setBCC("[email protected]");   $emailObj->setSubject("Upplåsning: {modell} Nr: {id}");   //WriteContent method   $emailObj->setContent("Hej {fornamn},
    \n");   $emailObj->setEncoding("UTF-8");   $emailObj->setFormat("HTML/Text");   $emailObj->setImportance("Normal");   return $emailObj->Execute(); } //end Trigger_SendEmail trigger if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") {   $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 "defined":       $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;       break;   }   return $theValue; } } $colname_phone = "-1"; if (isset($_GET['mobil_id'])) {   $colname_phone = $_GET['mobil_id']; } mysql_select_db($database_wd, $wd); $query_phone = sprintf("SELECT * FROM mobiler WHERE id = %s", GetSQLValueString($colname_phone, "int")); $phone = mysql_query($query_phone, $wd) or die(mysql_error()); $row_phone = mysql_fetch_assoc($phone); $totalRows_phone = mysql_num_rows($phone); // Make an insert transaction instance $ins_bestall = new tNG_insert($conn_wd); $tNGs->addTransaction($ins_bestall); // Register triggers $ins_bestall->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1"); $ins_bestall->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation); $ins_bestall->registerTrigger("END", "Trigger_Default_Redirect", 99, "http://domain.com/---------.html"); $ins_bestall->registerTrigger("AFTER", "Trigger_SendEmail", 98); // Add columns $ins_bestall->setTable("bestall"); $ins_bestall->addColumn("fornamn", "STRING_TYPE", "POST", "fornamn"); $ins_bestall->addColumn("deb", "STRING_TYPE", "POST", "deb", "{phone.deb}"); $ins_bestall->addColumn("efternamn", "STRING_TYPE", "POST", "efternamn"); $ins_bestall->addColumn("gatu", "STRING_TYPE", "POST", "gatu"); $ins_bestall->addColumn("postnummer", "STRING_TYPE", "POST", "postnummer"); $ins_bestall->addColumn("ort", "STRING_TYPE", "POST", "ort"); $ins_bestall->addColumn("telefon", "NUMERIC_TYPE", "POST", "telefon"); $ins_bestall->addColumn("epost", "STRING_TYPE", "POST", "epost"); $ins_bestall->addColumn("modell", "STRING_TYPE", "POST", "modell"); $ins_bestall->addColumn("imei", "STRING_TYPE", "POST", "imei"); $ins_bestall->setPrimaryKey("id", "NUMERIC_TYPE"); // Execute all the registered transactions $tNGs->executeTransactions(); // Get the transaction recordset $rsbestall = $tNGs->getRecordset("bestall"); $row_rsbestall = mysql_fetch_assoc($rsbestall); $totalRows_rsbestall = mysql_num_rows($rsbestall); ?>  displayValidationRules();?> getErrorMsg(); ?>
    Modell:
    Pris:
    ------: Kr      -----      ----- ----
    Postförskott (Vi bjuder på postförskotts avgiften)       
    Förnamn:
              displayFieldHint("fornamn");?> displayFieldError("bestall", "fornamn"); ?>
    Efternamn:
              displayFieldHint("efternamn");?> displayFieldError("bestall", "efternamn"); ?>
    Gatuadress:
              displayFieldHint("gatu");?> displayFieldError("bestall", "gatu"); ?>
    Postnummer:
              displayFieldHint("postnummer");?> displayFieldError("bestall", "postnummer"); ?>
    Ort:
              displayFieldHint("ort");?> displayFieldError("bestall", "ort"); ?>
    Telefon:
              displayFieldError("bestall", "telefon"); ?>
    E-Post:
               displayFieldError("bestall", "epost"); ?>
              displayFieldHint("modell");?> displayFieldError("bestall", "modell"); ?>
    IMEI:
                    displayFieldHint("imei");?> displayFieldError("bestall", "imei"); ?>         -----.
    Debranding:
                Ja                        Nej
              ------           ";         }        else{           echo "Denna telefon kan ej debrandas!    Nej";         }?>         
    Here is the complete code for the form page, I've replaced some textes with "-------------"

  • PHP login - Warning: Cannot modify header information

    I don't know much about PHP so if this is a FAQ / basic
    problem then sorry
    ... but I get this warning message on a page after logging in
    Warning: Cannot modify header information - headers already
    sent by (output
    started at /home/.sites/78/site58/web/elite/index.php:2) in
    /home/.sites/78/site58/web/elite/index.php on line 40
    Any help appreciated!
    Gerry

    Ah - I get it, a space before the code.
    G
    "G" <[email protected]> wrote in message
    news:e34m08$3kv$[email protected]..
    >I don't know much about PHP so if this is a FAQ / basic
    problem then sorry
    >... but I get this warning message on a page after
    logging in ...
    >
    >
    > Warning: Cannot modify header information - headers
    already sent by
    > (output started at
    /home/.sites/78/site58/web/elite/index.php:2) in
    > /home/.sites/78/site58/web/elite/index.php on line 40
    >
    > Any help appreciated!
    >
    > Gerry
    >

  • Cannot modify header information

    As a newby on databases. I am trying to forward a visitor to
    another page after completing their details on an insert record...
    But whatever I do I keep getting this error:
    Warning: Cannot modify header information - headers already
    sent by (output started at
    /content/StartupHostPlus/r/e/relishlunch.com/web/SignMeUp.php:1) in
    /content/StartupHostPlus/r/e/relishlunch.com/web/SignMeUp.php on
    line 52
    If I take out the redirection in the script it works ok but
    of course I don't get the redirection...
    Any ideas?

    colinwalton wrote:
    > As a newby on databases. I am trying to forward a
    visitor to another page after
    > completing their details on an insert record...
    >
    > But whatever I do I keep getting this error:
    > Warning: Cannot modify header information - headers
    already sent by (output
    > started at
    /content/StartupHostPlus/r/e/relishlunch.com/web/SignMeUp.php:1) in
    >
    /content/StartupHostPlus/r/e/relishlunch.com/web/SignMeUp.php on
    line 52
    "Headers already sent" is one of the most common errors that
    beginners
    run into. The header() function cannot perform the redirect
    if any
    output has been sent to the browser. This includes new lines
    or any
    whitespace outside the PHP tags.
    According to the error message, output was started at line 1
    of
    SignMeUp.php. Make sure there is nothing before the opening
    PHP tag.
    Also make sure there's no whitespace outside the PHP tags in
    RelishConnection.php.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Cannot Modify Header Information Errors

    Hello all,
    I am working on building an members only area to my website, and have used the "turorial" provided in dreamweaver help.  After creating the pages though I am encountering erros which I believe have to do with the redirecting.
    On my registration page (www.hondovfd.org/newsite/register.php) I am getting the error:
    Warning:  Cannot modify header information - headers already sent in /var/home/hondovfd/hondovfd.org/www/newsite/register.php on line 50
    The registration goes through, as I can see it in my database, but the error prevents anything further.
    On my login page (www.hondovfd.org/newsite/login.php) I immediatly get these two errors when loading the page:
    Warning:  session_start() [function.session-start]: Cannot send session cookie - headers already sent in /var/home/hondovfd/hondovfd.org/www/newsite/login.php on line 1074249146
    Warning:  session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/home/hondovfd/hondovfd.org/www/newsite/login.php:1074249146) in /var/home/hondovfd/hondovfd.org/www/newsite/login.php on line 1074249146
    And once I enter a valid username/password this error is also added:
    Warning: Cannot modify header information - headers already sent by (output started at /var/home/hondovfd/hondovfd.org/www/newsite/login.php:1074249146) in /var/home/hondovfd/hondovfd.org/www/newsite/login.php on line 68
    If you would like to try and diagnose the username/password I have been using is"test" for both fields.
    Anyone have any ideas why this is occuring?
    Thanks,
    David

    Here is the code from my login page:
    <?php virtual('/newsite/Connections/hondovfd.php');?>
    <?php if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (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 "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    ?>
    <?php
    // *** Validate request to login to this site.
    if (!isset($_SESSION)) {
      session_start();
    $loginFormAction = $_SERVER['PHP_SELF'];
    if (isset($_GET['accesscheck'])) {
      $_SESSION['PrevUrl'] = $_GET['accesscheck'];
    if (isset($_POST['username'])) {
      $loginUsername=$_POST['username'];
      $password=$_POST['password'];
      $MM_fldUserAuthorization = "";
      $MM_redirectLoginSuccess = "/newsite/membersonly.php";
      $MM_redirectLoginFailed = "/newsite/loginfailed.html";
      $MM_redirecttoReferrer = true;
      mysql_select_db($database_hondovfd, $hondovfd);
      $LoginRS__query=sprintf("SELECT username, password FROM login WHERE username=%s AND password=%s",
        GetSQLValueString($loginUsername, "text"), GetSQLValueString($password, "text"));
      $LoginRS = mysql_query($LoginRS__query, $hondovfd) or die(mysql_error());
      $loginFoundUser = mysql_num_rows($LoginRS);
      if ($loginFoundUser) {
         $loginStrGroup = "";
        //declare two session variables and assign them
        $_SESSION['MM_Username'] = $loginUsername;
        $_SESSION['MM_UserGroup'] = $loginStrGroup;          
        if (isset($_SESSION['PrevUrl']) && true) {
          $MM_redirectLoginSuccess = $_SESSION['PrevUrl'];     
        header("Location: " . $MM_redirectLoginSuccess );
      else {
        header("Location: ". $MM_redirectLoginFailed );
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="Title" -->
    <title>Login</title>
    <!-- InstanceEndEditable -->
    <meta name="description" content="Hondo Fire and Rescue serves the Arroyo Hondo and Canada Village areas of Santa Fe County, NM." />
    <meta name="keywords" content="hondo, hondo fire, hondo vfd, hondo fire department, santa fe county fire department, santa fe county, volunteer fire department, hondo volunteer fire department" />
    <link href="/newsite/stylesheet.css" type="text/css" rel="stylesheet" />
    <!--[if IE]>
    <style type="text/css">
    #mainContent, #sidebar1 { zoom: 1;}
    </style>
    <![endif]-->
    <script src="/newsite/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="/newsite/SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="thrColLiqHdr">
    <div id="container">
    <div id="header"></div>
      <div id="sidebar1">
      <h3>Navigation : </h3>
      <ul id="MenuBar1" class="MenuBarVertical">
      <li><a href="/newsite/index.html">Home</a></li>
    <li><a href="/newsite/support.html">Support Hondo</a></li>
      <li><a class="MenuBarItemSubmenu" href="#">Information Menu</a>
        <ul>
          <li><a href="/newsite/people.html">Our People</a></li>
          <li><a href="http://www.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=101620713606637979698.00045b6ead4ab4ea70b78&z=11" target="_blank">Response Area</a></li>
          <li><a href="/newsite/medical.html">Medical</a></li>
          <li><a href="/newsite/apparatus.html">Apparatus</a></li>
          <li><a href="/newsite/training.html">Training</a></li>
          <li><a href="/newsite/volunteer.html">Volunteer</a></li>
          <li><a href="/newsite/statistics.html">Statistics</a></li>
          <li><a href="/newsite/patchtrading.html">Patch Trading</a></li>
        </ul>
      </li>
      <li><a href="#">Photo Gallery</a></li>
      <li><a href="/newsite/calendar.html">Calendar</a></li>
      <li><a href="/newsite/news.html">Blog/News</a></li>
      <li><a href="/newsite/links.html">Links</a></li>
      <li><a href="/newsite/contact.html">Contact Us</a></li>
    </ul>
    <br />
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
      <span class="lefttext">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="8567201">
    <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" />
    <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </img></input></input>
      </span>
    </form>
    <span class="lefttext"><br />
    </span>
    <center>
      <span class="lefttext"><a href="http://www.facebook.com/pages/Santa-Fe-NM/Hondo-Volunteer-Fire-Department/74284233488" target="_blank" class="lefttext">Hondo VFD on Facebook</a></span>
    </center>
      <!-- end #sidebar1 --></div>
      <div id="sidebar2"> 
        <p>Call Statistics for November</p>
      <table width="90%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="60%">EMS Calls</td>
        <td width="40%">##</td>
      </tr>
      <tr>
        <td>Fire Calls</td>
        <td>##</td>
      </tr>
      <tr>
        <td>Other Calls</td>
        <td>##</td>
      </tr>
    </table>
      <hr />
        <div id="cse" style="width:100%;">Loading</div>
    <script src="http://www.google.com/jsapi" type="text/javascript"></script>
    <script type="text/javascript">
      google.load('search', '1');
      google.setOnLoadCallback(function(){
        new google.search.CustomSearchControl().draw('cse');
      }, true);
    </script>
         <!-- End Google Search Element -->
      </div>
      <!-- end #sidebar2 -->
      <div id="mainContent">
      <div class="top"></div><div class="wrap"><!-- InstanceBeginEditable name="Main Content" -->
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="47" class="h2">Members Only Login</td>
      </tr>
      <tr>
        <td><form id="login" name="login" method="POST" action="<?php echo $loginFormAction; ?>">
        <table width="40%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="31%">Username:</td>
        <td width="69%"><input name="username" type="text" /></td>
      </tr>
      <tr>
        <td>Password</td>
        <td><input name="password" type="password" /></td>
      </tr>
    </table>
    <input name="Submit" type="submit" />
        </form></td>
      </tr>
    </table>
      <!-- InstanceEndEditable -->
    </div>
    <div class="bottom"></div>
    </div>
         <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --> <br class="clearfloat" />
      <div id="footer">
        <p align="center">&copy; Copyright 2009 Hondo Volunteer Fire Department | <a href="mailto:[email protected]">Contact Us</a><a href="http://www.legalhelpers.com/chapter-13-bankruptcy/chapter13.html"></a><br />Hosting provided by <a href="http://studiox.com/" target="_blank">Studio X</a></p>
      <!-- end #footer --></div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    <!-- InstanceEnd --></html>
    Here is the code from my registration page:
    <?php virtual('/newsite/Connections/hondovfd.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (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 "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    // *** Redirect if username exists
    $MM_flag="MM_insert";
    if (isset($_POST[$MM_flag])) {
      $MM_dupKeyRedirect="/newsite/registerinvalidusername.html";
      $loginUsername = $_POST['username'];
      $LoginRS__query = sprintf("SELECT username FROM login WHERE username=%s", GetSQLValueString($loginUsername, "text"));
      mysql_select_db($database_hondovfd, $hondovfd);
      $LoginRS=mysql_query($LoginRS__query, $hondovfd) or die(mysql_error());
      $loginFoundUser = mysql_num_rows($LoginRS);
      //if there is a row in the database, the username was found - can not add the requested username
      if($loginFoundUser){
        $MM_qsChar = "?";
        //append the username to the redirect page
        if (substr_count($MM_dupKeyRedirect,"?") >=1) $MM_qsChar = "&";
        $MM_dupKeyRedirect = $MM_dupKeyRedirect . $MM_qsChar ."requsername=".$loginUsername;
        header ("Location: $MM_dupKeyRedirect");
        exit;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO login (username, password, email, name) VALUES (%s, %s, %s, %s)",
                           GetSQLValueString($_POST['username'], "text"),
                           GetSQLValueString($_POST['password'], "text"),
                           GetSQLValueString($_POST['email'], "text"),
                           GetSQLValueString($_POST['name'], "text"));
      mysql_select_db($database_hondovfd, $hondovfd);
      $Result1 = mysql_query($insertSQL, $hondovfd) or die(mysql_error());
      $insertGoTo = "/newsite/registersuccess.html";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO login (username, password, email, name) VALUES (%s, %s, %s, %s)",
                           GetSQLValueString($_POST['username'], "text"),
                           GetSQLValueString($_POST['password'], "text"),
                           GetSQLValueString($_POST['email'], "text"),
                           GetSQLValueString($_POST['name'], "text"));
      mysql_select_db($database_hondovfd, $hondovfd);
      $Result1 = mysql_query($insertSQL, $hondovfd) or die(mysql_error());
      $insertGoTo = "/newsite/registersuccess.html";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location:", $insertGoTo));
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="Title" -->
    <title>Register</title>
    <!-- InstanceEndEditable -->
    <meta name="description" content="Hondo Fire and Rescue serves the Arroyo Hondo and Canada Village areas of Santa Fe County, NM." />
    <meta name="keywords" content="hondo, hondo fire, hondo vfd, hondo fire department, santa fe county fire department, santa fe county, volunteer fire department, hondo volunteer fire department" />
    <link href="stylesheet.css" type="text/css" rel="stylesheet" />
    <!--[if IE]>
    <style type="text/css">
    #mainContent, #sidebar1 { zoom: 1;}
    </style>
    <![endif]-->
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="thrColLiqHdr">
    <div id="container">
    <div id="header"></div>
      <div id="sidebar1">
      <h3>Navigation : </h3>
      <ul id="MenuBar1" class="MenuBarVertical">
      <li><a href="/newsite/index.html">Home</a></li>
    <li><a href="/newsite/support.html">Support Hondo</a></li>
      <li><a class="MenuBarItemSubmenu" href="#">Information Menu</a>
        <ul>
          <li><a href="/newsite/people.html">Our People</a></li>
          <li><a href="http://www.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=101620713606637979698.00045b6ead4ab4ea70b78&z=11" target="_blank">Response Area</a></li>
          <li><a href="/newsite/medical.html">Medical</a></li>
          <li><a href="/newsite/apparatus.html">Apparatus</a></li>
          <li><a href="/newsite/training.html">Training</a></li>
          <li><a href="/newsite/volunteer.html">Volunteer</a></li>
          <li><a href="/newsite/statistics.html">Statistics</a></li>
          <li><a href="/newsite/patchtrading.html">Patch Trading</a></li>
        </ul>
      </li>
      <li><a href="#">Photo Gallery</a></li>
      <li><a href="/newsite/calendar.html">Calendar</a></li>
      <li><a href="/newsite/news.html">Blog/News</a></li>
      <li><a href="/newsite/links.html">Links</a></li>
      <li><a href="/newsite/contact.html">Contact Us</a></li>
    </ul>
    <br />
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
      <span class="lefttext">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="8567201">
    <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" />
    <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </img></input></input>
      </span>
    </form>
    <span class="lefttext"><br />
    </span>
    <center>
      <span class="lefttext"><a href="http://www.facebook.com/pages/Santa-Fe-NM/Hondo-Volunteer-Fire-Department/74284233488" target="_blank" class="lefttext">Hondo VFD on Facebook</a></span>
    </center>
      <!-- end #sidebar1 --></div>
      <div id="sidebar2"> 
        <p>Call Statistics for November</p>
      <table width="90%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="60%">EMS Calls</td>
        <td width="40%">##</td>
      </tr>
      <tr>
        <td>Fire Calls</td>
        <td>##</td>
      </tr>
      <tr>
        <td>Other Calls</td>
        <td>##</td>
      </tr>
    </table>
      <hr />
        <div id="cse" style="width:100%;">Loading</div>
    <script src="http://www.google.com/jsapi" type="text/javascript"></script>
    <script type="text/javascript">
      google.load('search', '1');
      google.setOnLoadCallback(function(){
        new google.search.CustomSearchControl().draw('cse');
      }, true);
    </script>
         <!-- End Google Search Element -->
      </div>
      <!-- end #sidebar2 -->
      <div id="mainContent">
      <div class="top"></div><div class="wrap"><!-- InstanceBeginEditable name="Main Content" -->
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="47" class="h2">Create an Account</td>
      </tr>
      <tr>
        <td><p>Please fill in the following information to create an account:</p>
        <form action="<?php echo $editFormAction; ?>" id="form1" name="form1" method="POST">
          <table width="53%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="38%">Name</td>
        <td width="62%"><input name="name" type="text" /></td>
      </tr>
      <tr>
        <td>E-Mail Address</td>
        <td><input name="email" type="text" /></td>
      </tr>
      <tr>
        <td>Desired Username</td>
        <td><input name="username" type="text" /></td>
      </tr>
      <tr>
        <td>Desired Password</td>
        <td><input name="password" type="password" /></td>
      </tr>
    </table><input name="submit" type="submit" />
    <input type="hidden" name="MM_insert" value="form1" />
    </p></form></td>
      </tr>
    </table>
      <!-- InstanceEndEditable -->
    </div>
    <div class="bottom"></div>
    </div>
         <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --> <br class="clearfloat" />
      <div id="footer">
        <p align="center">&copy; Copyright 2009 Hondo Volunteer Fire Department | <a href="mailto:[email protected]">Contact Us</a><a href="http://www.legalhelpers.com/chapter-13-bankruptcy/chapter13.html"></a><br />Hosting provided by <a href="http://studiox.com/" target="_blank">Studio X</a></p>
      <!-- end #footer --></div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    <!-- InstanceEnd --></html>
    Dreamweaver also created this file:  hondovfd.php
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_hondovfd = "localhost";
    $database_hondovfd = "hondovfd_org";
    $username_hondovfd = "silver";
    $password_hondovfd = "m3d1c4u2c";
    $hondovfd = mysql_pconnect($hostname_hondovfd, $username_hondovfd, $password_hondovfd) or trigger_error(mysql_error(),E_USER_ERROR);
    ?>

  • Login failure (cannot modify header) PHP/MySQL

    I have a login form 100% Dreamweaver8 built using PHP/MySQL.
    After logging in it fails to goto the $MM_redirectLoginSuccess page
    (index.php). I did not have this issue prior to the 8.02 update. I
    designed it the same way as I had before the 8.02 update. I have
    checked multiple times for whitespace before and after the PHP open
    and close tags in Dreamweaver and other text editors.
    Below is what info is needed I hope.
    Error
    PHP Warning: Cannot modify header information - headers
    already sent by (output started at /var/www/web4/web/login.php:4)
    in /var/www/web4/web/login.php on line 72, referer:
    Code (All Dreamweaver 8 Generated)
    <?php
    // *** Validate request to login to this site.
    if (!isset($_SESSION)) {
    session_start();
    $loginFormAction = $_SERVER['PHP_SELF'];
    if (isset($_GET['accesscheck'])) {
    $_SESSION['PrevUrl'] = $_GET['accesscheck'];
    if (isset($_POST['username'])) {
    $loginUsername=$_POST['username'];
    $password=$_POST['password'];
    $MM_fldUserAuthorization = "Account_Type";
    $MM_redirectLoginSuccess = "index.php";
    $MM_redirectLoginFailed = "loginfailed.php";
    $MM_redirecttoReferrer = false;
    mysql_select_db($database_dnsturtle, $dnsturtle);
    $LoginRS__query=sprintf("SELECT Email, Password,
    Account_Type FROM accounts WHERE Email=%s AND Password=%s",
    GetSQLValueString($loginUsername, "text"),
    GetSQLValueString($password, "text"));
    $LoginRS = mysql_query($LoginRS__query, $dnsturtle) or
    die(mysql_error());
    $loginFoundUser = mysql_num_rows($LoginRS);
    if ($loginFoundUser) {
    $loginStrGroup = mysql_result($LoginRS,0,'Account_Type');
    //declare two session variables and assign them
    $_SESSION['MM_Username'] = $loginUsername;
    $_SESSION['MM_UserGroup'] = $loginStrGroup;
    if (isset($_SESSION['PrevUrl']) && false) {
    $MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
    header("Location: " . $MM_redirectLoginSuccess );
    --------------------Line 72
    else {
    header("Location: ". $MM_redirectLoginFailed );
    ?>

    I take it you have an include file as well on the page, to
    reference the
    database? Check in there for whitespace.
    Gareth
    http://www.phploginsuite.co.uk/
    PHP Login Suite V2 - 34 Server Behaviors to build a complete
    Login system.

  • Cannot modify purchase order

    Hello experts,
    Do you have any idea about the following issue:
    In SAP 2007, I cannot modify any information in the purchase order (contents tab) even
    if the order is still open. And if I copy this order to a Goods Receipt PO, I  cannot also change the items' information in the goods receipt. In addition, the icons "target document" and "base document " are grayed out.
    Thank you.
    Nadia.

    Hi Nadia,
    "I cannot modify any information in the purchase order (contents tab) even if the order is still open" maybe the PO was created through approval steps? If yes, that's the reason it can't be amended
    Best Regards,
    Hendry Wijaya

  • CatalogDeployer issue - "Cannot set header. Response already committed"

    Whenever we are trying to deploy any package we immediately get a 'deployment successful' message though the package is not deployed and remnains in the received for deployment queue. This is only found in the log 00000048 SRTServletRes W WARNING: Cannot set header. Response already committed.
    Very much appreciated if you could provide the resolution.
    We have a production service release tomorrow so we need assistance on this one asap. Thanks a lot

    You can not write to the response after you have forwarded the request to another servlet/JSP.

  • I keep getting a message "safari cannot open page [page name with header information] because you are not connected to the internet.

    I keep getting a message "safari cannot open page [page name with header information] because you are not connected to the internet.  Then I check CNN for a time stamp, and I am connected to the internet.  I have reset everything suggested in other posts, ensured any other device that could be hogging bandwidth is off, the router is reset, the iPad is reset.  The other devices are not having this problem, and it happens on both places I use the iPad, the university library, (getting a second degree after a change in a long time career and at home. Any insight into this issue would be appreciated.

    Saing yu tried everthing provides little information to us.  We do not know what you tied.
    Have you tried:
    - Resetting the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Powering off and then back on your router- Resetting network setting: Settings>General>Reset>Reset Network Settings
    The toubleshooting here:
    iPhone and iPod touch: Troubleshooting Wi-Fi networks and connections
    - Does you iPod conenct to other networks?
    - Do other devices connect to your network?

  • HELP !!!  "Cannot modify the user entry because no matching user was found"

    I have read all I have found about ISW (identity synchronization for windows).
    However I keep bumping into this exact same problem. I am desperate since I cannot seem to
    figure out the cause. Can someone please help a very desperate person ??
    On the AD side the user test5 resides in an OU called "Admin Users". Even if I add test5 into the windows OU of people it still does not work.
    Solaris 10, update 8
    Directory Server 6.3.1 (DS)
    Identity Manager 8.1.0 (IDM)
    System Identity Synchronization for Windows 6.0
    MySql 5.1.41 (CE)
    /// Warning message
    [28/Dec/2009:10:47:18.197 -0500] WARNING 19 CNN101 idmserver "Cannot modify the user entry because no matching user was found, action=Type: MODIFY SUL: SUL1 {Data Attrs: [REPL unicodepwd: ****]} {Other Attrs: cn: test five nsuniqueid: df2cb501-ef1e11de-8029a367-1c30f1b6 objectclass: top, person, organizationalPerson, inetorgperson, account, posixAccount, shadowAccount, machineuser, dspswuser dn: uid=test5,ou=people,dc=host,dc=company,dc=com changenumber: 27323}." (Action ID=CNN100-125D5CFBF36-13600, SN=5)
    /// SUL definition
    Sun Java System=> Directory source: dc=host,dc=company,dc=com Base DN: dc=host,dc=company,dc=com
    Windows => Directory source: host.company.com Base DN: dc=host,dc=company,dc=com
    /// unix ldap information
    root@idmserver /: ldaplist -l passwd test5
    dn: uid=test5,ou=people,dc=host,dc=company,dc=com
    givenName: test
    sn: five
    loginShell: /bin/bash
    machinegroup: admin
    uidNumber: 1427
    gidNumber: 10
    objectClass: top
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetorgperson
    objectClass: account
    objectClass: posixAccount
    objectClass: shadowAccount
    objectClass: machineuser
    objectClass: dspswuser
    uid: test5
    gecos: test five
    cn: test five
    homeDirectory: /net/host/vol/vol1/home/test5
    userPassword: {crypt}SQDp2i8F9mAyc
    // AD windows ldap information
    Dn: CN=test five,OU=Admin Users,DC=host,DC=company,DC=com
         objectClass: top; person; organizationalPerson; user;
         cn: test five;
         sn: five;
         givenName: test;
         distinguishedName: CN=test five,OU=Admin Users,DC=host,DC=company,DC=com;
         instanceType: 0x4 = ( IT_WRITE );
         whenCreated: 12/28/2009 16:46:55 Eastern Standard Time Eastern Daylight Time;
         whenChanged: 12/28/2009 17:29:52 Eastern Standard Time Eastern Daylight Time;
         displayName: test five;
         uSNCreated: 36921;
         memberOf: CN=Domain Admins,CN=Users,DC=host,DC=company,DC=com;
         uSNChanged: 36935;
         name: test five;
         objectGUID: 1210235b-61b4-4fd8-bc4b-7455d1e31554;
         userAccountControl: 0x200 = ( UF_NORMAL_ACCOUNT );
         badPwdCount: 0;
         codePage: 0;
         countryCode: 0;
         homeDirectory: \\server\profile$\test5\home;
         homeDrive: H:;
         badPasswordTime: 01/01/1601 00:00:00 UNC ;
         lastLogoff: 01/01/1601 00:00:00 UNC ;
         lastLogon: 01/01/1601 00:00:00 UNC ;
         pwdLastSet: 01/01/1601 00:00:00 UNC ;
         primaryGroupID: 513;
         profilePath: \\server\profile$\test5\profile;
         objectSid: S-1-5-21-2511962931-1144655276-2379676629-1153;
         adminCount: 1;
         accountExpires: 09/14/30828 02:48:05 UNC ;
         logonCount: 0;
         sAMAccountName: test5;
         sAMAccountType: 805306368;
         objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=host,DC=company,DC=com;
    Edited by: mightbe on Dec 30, 2009 8:22 AM

    Hi,
    This might be a stupid question but what happens when you perform a recon against AD? Once complete does the index list the account as confirmed, unknown etc?
    Ant.

  • : Cannot find any information on property 'Product' in a bean of type '

    /********jsp file ********/
    <%@ page language="java" import="taxrate.*" %>
    <HTML>
    <BODY>
    <jsp:useBean id="TaxRate" scope="application" class="taxrate.TaxRate" />
    before modify
    <br>
    product :<jsp:getProperty name="TaxRate" property="Product"/>
    �@ <br>
    rate :<jsp:getProperty name="TaxRate" property="Rate" />
    <jsp:setProperty name="TaxRate" property="Product" value="Hello" />
    <jsp:setProperty name="TaxRate" property="Rate" value="2.9" />
    after modify�F
    <br>
    product : <jsp:getProperty name="TaxRate" property="Product" />
    �@ <br>
    rate : <jsp:getProperty name="TaxRate" property="Rate" />
    </BODY></HTML>="TaxRate" property="Rate" />
    </BODY></HTML>
    /*******bean file********/
    package taxrate;
    import java.sql.*;
    public class TaxRate{
    String Product;
    double Rate;
    public TaxRate(){
    this.Product = "A001";
    this.Rate = 5;}
    public void setProduct (String ProductName)
    {this.Product = ProductName;}
    public String getProduct(){return(this.Product);}
    public void setRate (double rateValue)
    this.Rate = rateValue;
    public double getRate()
    return (this.Rate);
    /******the error is********/
    Error: 500
    Location: /client/taxrate.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Cannot find any information on property 'Product' in a bean of type 'com.nokianeu.client.TaxRate'
         at org.apache.jasper.runtime.JspRuntimeLibrary.getReadMethod(JspRuntimeLibrary.java:619)
         at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerator.java:101)
         at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(JspParseEventListener.java:730)
         at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventListener.java:200)
         at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseEventListener.java:169)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:183)
         at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
         at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
         at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
         at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
         at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
         at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
         at java.lang.Thread.run(Unknown Source)
    /******* use tomcat 3.11**********/
    please give me the right answer
    thank you!

    Hi xzwsun.
    Where did you put your class taxrate.TaxRate ?
    In which folder? is it in \WEB-INF\classes ?
    so that you have \WEB-INF\classes\taxrate\TaxRate.class
    --Paul.                                                                                                                                                                                                                                                                                                                                               

  • Cannot find any information on property 'Name' in a bean of type 'UserBean'

    Hello,
    I was trying to solve this problem myself but never got through, its really routine. So please can you see this error message, html file, jsp file and say if there are mistakes or if I need to add something else somewhere?
    Error
    org.apache.jasper.JasperException: Cannot find any information on property 'Name' in a bean of type 'UserBean'
    HTML
    <html>
    <head>
    <title>jsp test</title>
    </head>
    <body bgcolor ="white">
    <form action ="course.jsp" method ="post">
    <table>
    <tr><td>userName:</td>
    <td><input type="text"      name ="Name">
    </td>
    </tr>
    <tr>
    <td>userID:</td>
    <td><input type ="text" name ="ID"></td>
    </tr>
    <tr>
    <td>userAddress</td>
    <td><textarea name ="Description"></textarea></td>
    </tr>
    <tr>
    <td><input type ="submit" name ="submit"></td>
    </table>
    </form>
    </body>
    </html>
    JSP
    <%@ page language="java" contentType="text/html" %>
    <html>
    <body bgcolor="white">
    <jsp:useBean id="courseBean" class="UserBean">
    <jsp:setProperty name="courseBean" property="*" />
    </jsp:useBean>
    The following was done:
    <jsp:getProperty name="courseBean" property="Name" />
    <jsp:getProperty name="courseBean" property="ID" />
    <jsp:getProperty name="courseBean" property="Description" />
    </body>
    </html>
    JAVABEAN:
    public class UserBean implements Serializable{
    private String Name;
    private String ID;
    private String Description;
    public UserBean(){
    public void setName(String Name){
    this.Name=Name;
    public String getName(){
    return ID;
    public void seID(int userID){
    this.ID=ID;
    public int getUserID(){
    return ID;
    public void setDescription(String Description){
    this.Description=Description;
    public String getDescription(){
    return Description;
    Thank you in advance
    Ajlear

    Use a lower case initial on a bean property name.
    Instead of:
    <jsp:getProperty name="courseBean" property="Name" />try:
    <jsp:getProperty name="courseBean" property="name" />The same will apply to other properties. Also, make sure you use the lower case initial on form field names. e.g. <input type="text" name ="name"> for use in <jsp:setProperty name="courseBean" property="*" />

  • When attempting to install add-ons, Firefox generates a message saying it is unable to install add-on because Firefox cannot modify the necessary file. To what file is this referring, and how do I fix this problem?

    When I download an add-on such as Colorful Tabs and start the installation process, I receive a message that Firefox cannot install the add-on because it cannot modify the necessary file. To what file is this referring?

    That is usually caused by Firefox not unpacking the extension.
    You can try to set the Boolean pref <b>extensions.alwaysUnpack</b> to <i>true</i> on the <b>about:config</b> page.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold (user set).
    *Preferences can be reset to the default via the right-click context menu if they are user set
    *Preferences can be changed via the right-click context menu: Modify (String or Integer) or Toggle (Boolean)

  • Error after compiling DFF at Title: Additional Header Information

    Hi All,
    The following error message is apeared after creating DFF at Title: Additional Header Information
    "The descriptive flexfield "Additional Header Information" of application "Order Management" uses features which are only supported in oracle forms. This flexfield may not function in other environment such as OA Framework or PL/SQL APIs."
    The numbers of warning messages: 3
    Can anyone advice please? Will this problem affect customizations?
    Best Regards,
    Hans Chang

    Hi everyone
    The issue is solved and here is the answer.
    "Logon to Oracle E-Business Suite.
    Go to System Administrator (or System Administration) --> Oracle Applications Manager --> License Manager
    In the license manager screen click on the link Languages.
    Click on the NEXT button.
    Verify whether American English is set as Base Language
    If American English is not set as Base Language. Select American English Radio button in the Lower part of the screen. Click on the Submit button."
    Thanks
    Engin

Maybe you are looking for