Parse errors in lightbox.css

Hi all,
I have this line in my lightbox css file:
#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data;image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
and validating gives me this error message:
13
#prevLink, #nextLink
Value Error : background-image Parse Error                                              data
13
#prevLink, #nextLink
Parse Error                                              image/gif
13
#prevLink, #nextLink
Parse Error                                              base64,AAAA)
I am completely blank on what parse error is. Anybody know how the line should be corrected?
Thanks in advance for any help.
Best regards,
Ivan

IvanMolde wrote:
I am completely blank on what parse error is.
It simply means that the CSS rule is invalid. The problem lies here
background-image: url(data;image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
As the comment indicates, it's a hack to trick Internet Explorer. The hack uses invalid code. That's why you get the error.
How can you fix it? You can't, without your CSS failing in older versions of IE. It's your choice: styles that work, or valid code.

Similar Messages

  • Themes are useless after the latest GTK3 update - Theme parsing errors

    Hi!
    I have this problem, all my themes became useless.
    The main problem was the url format in the gtk.css and gtk-widgets.css files, there were "url (" but only "url(" works. I fixed it in some themes, but still none of them are working correctly. I still get error messages like this:
    Gtk-WARNING **: Theme parsing error: gtk-widgets.css:598:21: Expected ')'
    here are only tabulators
    or like this:
    Gtk-WARNING **: Theme parsing error: gtk-widgets.css:378:41: Expected valid border
    there's a correct url to an existing image
    What should I do?
    Last edited by freyr (2011-10-02 18:36:30)

    I have this too after tonight's update to gtk3.2 and I'm guessing its a bug so hopefully someone more experienced with gtk3 is already on it.
    I've got work in the morning so can't really look into it but if its not fixed by wednesday I'll give  it my best shot.
    TBH I'm starting to get sick of gtk breaking things.
    With GNOME 3.2 almost upon us there is some bad news about theme support. The current themes for GNOME Shell and GTK3 will probably break in 3.2, so I'll yet again have to adapt them. 3.2 will add much needed features in GTK 3, like border image, which will make themes look better.
    On the positive side as said though, GNOME 3.2 will be better for making themes.
    So I would guess the themes just need tweaking. I'll look into it when I have  more time.
    Last edited by llawwehttam (2011-10-02 23:09:26)

  • Parse error when trying to use form

    When i load the PHP,form page and thank you page im getting this error when i hit send.
    No email is sent from form.
    Parse error: syntax error, unexpected T_STRING in /home/owendaws/public_html/owendawsonpga/contactformprocess_original_db.php on line 38
    PHP page
    <?
    $fname = $HTTP_POST_VARS['textfield'];
    $lname = $HTTP_POST_VARS['textfield2'];
    $phone = $HTTP_POST_VARS['textfield3'];
    $email = $HTTP_POST_VARS['textfield4'];
    $address = $HTTP_POST_VARS['textfield5'];
    $state = $HTTP_POST_VARS['textfield6'];
    $zip = $HTTP_POST_VARS['textfield7'];
    $find = $HTTP_POST_VARS['select'];
    $goals = $HTTP_POST_VARS['select2'];
    $practice = $HTTP_POST_VARS['select3'];
    $learn = $HTTP_POST_VARS['select4'];
    $handicap = $HTTP_POST_VARS['select5'];
    $timeplaying = $HTTP_POST_VARS['select6'];
    $lesson = $HTTP_POST_VARS['select7'];
    $additional = $HTTP_POST_VARS['textfield8'];
    mail('[email protected]','Owen Dawson PGA Contact Form Submission',"First Name: $fname\nLast Name: $lname\nPhone Number: $phone\nEmail: $email\nAddress: $address\nState: $state\nZip Code: $zip\nHow did you find me? $find\nWhat are your goals? $goals\nHow much can you practice? $practice\nWhat would you like to learn? $learn\nWhat is your handicap? $handicap\nHow long have you been playing golf? $timeplaying\nHave you ever taken a lesson? $lesson\nAdditional Information: $additional\n",'From: [email protected]');
    header("Location: http://www.owendawsonpga.com/thankyouform.html");
    ?>
    form page
    <!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/PGATEMPLATE3.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Golf Lessons in Baltimore Owen Dawson PGA, GOLF INSTRUCTION IN MARYLAND, GOLF LESSONS IN BALTIMORE</title>
    <meta name="Keywords" content="GOLF INSTRUCTION, GOLF LESSONS IN BALTIMORE, BALTIMORE, MARYLAND, GOLF INSTRUCTION BALTIMORE,SHORT GAME,BUNKER PLAY" />
    <meta name="Description" content="Golf Instruction in Baltimore Maryland" />
    <!-- InstanceEndEditable -->
    <link href="twoColFixRtHdr.css" rel="stylesheet" type="text/css" />
    <!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .twoColFixRtHdr #sidebar1 { width: 220px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixRtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixRtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    .style1 {
        font-size: small
    .style2 {
        font-family: "Comic Sans MS", Papyrus;
        font-size: small;
    .style6 {font-size: smaller; font-family: "Comic Sans MS", Papyrus; }
    .style7 {font-family: "Comic Sans MS", Papyrus}
    .style8 {
        color: #0000FF;
        font-family: Georgia, "Times New Roman", Times, serif;
    a:link {
        text-decoration: none;
        color: #000000;
        background-color: #EBEBEB;
    a:visited {
        text-decoration: none;
        color: #000000;
    a:hover {
        text-decoration: none;
        border-top-style: none;
        border-right-style: none;
        border-bottom-style: none;
        border-left-style: none;
        border-top-color: #001EF1;
        border-right-color: #001EF1;
        border-bottom-color: #001EF1;
        border-left-color: #001EF1;
        color: #000000;
        background-color: #EBEBEB;
    a:active {
        text-decoration: none;
    .style9 {font-family: Georgia, "Times New Roman", Times, serif}
    .style10 {font-family: Georgia, "Times New Roman", Times, serif; font-size: small; }
    .style11 {color: #000000}
    .style12 {
        font-family: Georgia, "Times New Roman", Times, serif;
        color: #FF0000;
        font-weight: bold;
    .style13 {color: #FF0000}
    -->
    </style>
    <!-- InstanceBeginEditable name="head" -->
    <script type="text/javascript">
    function submitForm(){
        var myform = document.getElementById('form1');
        var fname = document.getElementById('textfield');
        var lname = document.getElementById('textfield2');
        var phone = document.getElementById('textfield3');
        if (fname.value == ''){
            alert('First name is a required field.  Please enter your first name to continue.');
            fname.focus();
            return false;
        if (lname.value == ''){
            alert('Last name is a required field.  Please enter your last name to continue.');
            fname.focus();
            return false;
        if (phone.value == ''){
            alert('Phone number is a required field.  Please enter your preferred phone number to continue.');
            fname.focus();
            return false;
        myform.submit();
    function messageSent(){
        var status = document.getElementById('msg');
        status.innerHTML = 'Message sent successfully.';
    </script>
    <!-- InstanceEndEditable -->
    </head>
    <body class="twoColFixRtHdr">
    <div id="container">
      <div id="header">
        <h1><img src="photos/newpgabannerfinal3_2_10.png" width="739" height="210" /></h1>
        <!-- InstanceBeginEditable name="EditRegion4" -->
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="V1Login.html" class="style1">V1 Student Videos</a></li>
          <li><a href="Private_Lessons.html" class="style1">Private Lessons</a></li>
          <li><a href="Clinics.html" class="style1">Clinics</a></li>
          <li><a href="Gift_Certificates.html" class="style1">Gift Certificates</a></li>
          <li><a href="Instructional_Video.html" class="style1">Instructional Video</a></li>
          <li><a href="mailto:[email protected]" class="style1">Contact Owen</a></li>
        </ul>
        <!-- InstanceEndEditable -->
        <p align="center"> </p>
      <!-- end #header --></div>
      <div id="sidebar1">
        <p class="style12"><a href="newfor2010.html" class="style13">New V1 Swing Analysis Software for 2010</a></p>
        <p class="style7"><a href="contactformprocess_original_db.html">Instructional Form </a></p>
        <p class="style7"><span class="style9"><span class="style9"><a href="Sample_Lesson.html">Sample Lesson</a></span></span></p>
        <p class="style9"><a href="http://www.youtube.com/user/owenpga" target="_blank">Video tutorials</a></p>
        <p class="style9"><a href="http://owendawsonpga.blogspot.com" target="_blank">Instructional Blog</a></p>
        <p class="style7 style8"><a href="PGAPHOTOGALLERY/index.html" target="_blank" class="style9">Photo Gallery</a></p>
        <p class="style7 style8 style11"><a href="Instructional_Video.html">Intructional Video</a></p>
        <p class="style7 style8"> </p>
        <p class="style10">Testimonials</p>
        <p class="style6 style9">“I have been working with Owen Dawson for the past 7 years. During that time my swing has dramatically changed and improved. This has happened through Owen's drills and use of video. It is because of these techniques, that I understand how to hit good shots but just as importantly why I hit a shot poorly. I’m glad I’ve had the opportunity to work with Owen and would highly recommend him. ” <strong>Sam Young - Country Club of Maryland - 2009 Men's Club Champion </strong></p>
        <p class="style2">.............................................</p>
        <p class="style6 style9">“Owen does two things  particularly well, in my opinion.  First, he is a master of recording  technology, and it really helps me to see what I need correcting, and what the  new move needs to be.  Second, Owen knows what the best next step should be  in your own journey to a better swing.  I have taken one or two lessons  from Owen each year for the last three or four years – one relatively small  step at a time, and then worked on grooving that step.  In that period, my  index has dropped about 8 strokes, and in 2007 I won the Club’s “Most Improved  Player” award.  Kudos to Owen!”</p>
        <p class="style6 style9"><strong>Bill Smillie -CCofMD</strong></p>
        <h3 class="style2"><a href="Testimonials.html">Read other testimonials  </a></h3>
        <!-- end #sidebar1 -->
      </div>
      <!-- InstanceBeginEditable name="MAINCONTENT" -->
      <div id="mainContent">
          <form action="contactformprocess_original_db.php" method="post" enctype="multipart/form-data" name="form1" id="form1" target="ifr">
          <p class="style5">Name</p>
          <p>
            <label for="textfield"><span class="style5">First</span></label>
            <input type="text" name="textfield" id="textfield" />
            </p>
          <p>
            <label for="textfield2"><span class="style5">Last</span></label>
            <input type="text" name="textfield2" id="textfield2" />
          </p>
          <p><span class="style5">Phone number
              <label>
              <input type="text" name="textfield3" id="textfield3" />
              </label>
          </span></p>
          <p><span class="style5">Email</span>
            <label>
            <input type="text" name="textfield4" id="textfield4" />
            </label>
          </p>
          <p><span class="style5">Address
              <label>
              <input type="text" name="textfield5" id="textfield5" />
              </label>
          </span></p>
          <p><span class="style5">State</span>
            <label>
            <input type="text" name="textfield6" id="textfield6" />
            </label>
          </p>
          <p><span class="style5">Zip Code</span>
            <label>
            <input type="text" name="textfield7" id="textfield7" />
            </label>
          </p>
          <p><span class="style5">How did you find me?</span>
            <label for="select"></label>
            <select name="select" id="select">
              <option value="internet">Internet Search</option>
              <option value="friend referral">Friend Referral</option>
              <option value="ccmdsite">Country Club of MD website</option>
              <option value="other">Other</option>
            </select>
          </p>
          <p><span class="style5">What are your golfing goals?</span>            
            <select name="select2" id="select2">
              <option value="break 100">Break 100</option>
              <option value="break 90">Break 90</option>
              <option value="break 80">Break 80</option>
              <option value="stop slice">Stop Slicing the Ball</option>
              <option value="stop hook">Stop Hooking the Ball</option>
              <option value="Compete">Compete in local tournaments</option>
              <option value="More Consistant">Hit more consistant shots</option>
            </select>
          </p>
          <p><span class="style5">How much can you practice?</span>
            <label for="select3"></label>
            <select name="select3" id="select3">
              <option value="1 hour">1 hour</option>
              <option value="2 hours">2 hours</option>
              <option value="3 hours">3 hours </option>
              <option value="> 3 hours">More than 3 hours a week</option>
            </select>
          </p>
          <p><span class="style5">What would you like to learn?</span>
            <label for="select4"></label>
            <select name="select4" id="select4">
              <option value="full swing">Full Swing Mechanics Irons</option>
              <option value="driver swing">Full Swing Mechanics Driver</option>
              <option value="short pitches">Short Pitch Shots inside of 50 yards</option>
              <option value="bunker play">Bunker Play</option>
              <option value="chipping">Chipping</option>
              <option value="short shots">Short shots from rough</option>
            </select>
          </p>
          <p class="style5">What is your Handicap?<label for="select5"></label>
            <select name="select5" id="select5">
              <option value="scratch to 5">Scratch - 5 HDCP</option>
              <option value="6 to 10">6 - 10 HDCP</option>
              <option value="11 to 15">11 - 15 HDCP</option>
              <option value="15 to 20">15 - 20 HDCP</option>
              <option value="> 21">21 and Higher</option>
            </select>
          </p>
          <p class="style5">How long have you been playing?
            <label for="select6"></label>
            <select name="select6" id="select6">
              <option value="beginner">Beginner</option>
              <option value="2 to 5 years">2-5 yrs</option>
              <option value="6 to 10 years">6-10 yrs</option>
              <option value="11 to 15 years">11-15yrs</option>
              <option value="> 15 years">More than 15 years</option>
            </select>
          </p>
          <p class="style5">Have you ever had a lesson?
            <label for="select7"></label>
            <select name="select7" id="select7">
              <option value="yes">YES</option>
              <option value="no">NO</option>
            </select>
          </p>
          <p class="style5">Additional Information
            <label>
            <textarea name="textfield8" cols="40" id="textfield8"></textarea>
            </label>
          </p>
          <p class="style5">
            <label for="button"></label>
            <input type="submit" name="Submit" id="button" value="Submit"onclick="submitForm()" />
          </p>
          <p class="style5"> </p>
            <div id="msg" style="font: bold 12px arial"></div>
        </form>
        <p align="center" class="style8"><br />
        </p>
        <p class="style8"> </p>
        <p class="style8"> </p>
        <p class="style8 style12"><strong><br />
         </strong></p>
        <p align="left"> </p>
        <h1> </h1>
        <!-- end #mainContent -->
        </div>
      <!-- InstanceEndEditable -->
      <!-- 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"><a href="http://www.v1golf.com" target="_blank"><img src="photos/GAW.png" width="163" height="60" hspace="20" border="0" /><img src="photos/logo.png" width="80" height="76" hspace="40" border="0" /></a><a href="http://www.owendawsonphotography.com" target="_blank"><img src="photos/ody.png" width="199" height="59" border="0" /></a></p>
        <h2 align="center" class="style6">©Owen Dawson P.G.A. ™ All rights reserved</h2>
        <!-- end #footer -->
      </div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    <!-- InstanceEnd --></html>
    thank you page
    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    Thank you for fill out my lesson form. I will be in touch with you shortly. Owen
    </body>
    </html>

    Your PHP script is not secured at all. I would recommend using Forms To Go (http://www.bebosoft.com/products/formstogo/overview) to create the PHP script.
    The unregistered version can be used for free. It will get you up and running in no time.
    In your HTML form,remove enctype="multipart/form-data" from this:
    <form action="contactformprocess_original_db.php" method="post" enctype="multipart/form-data" name="form1" id="form1" target="ifr">
    enctype="multipart/form-data" is only required if you have a file upload field in the form.

  • Urgent help needed please, with parse error message

    Hi. I've got a page which comes at the end of a 3 page sequence - search, results, detail. The detail page had been working fine, but yesterday I added a second recordset to the page, to pull reviews from a separate table, and now I'm getting the following error:
    Parse error: syntax error, unexpected ')', expecting T_STRING or T_VARIABLE or '$' in /Applications/MAMP/htdocs/goodvetguide/practice_Detail.php on line 78
    (should point out that I'm using DMW8 on a Mac and testing locally using MAMP as my testing server).
    line 78 is:
    if (isset()) {
      $Parampractice_id_WADApracticelist = (get_magic_quotes_gpc()) ?  : addslashes();
    and the full code for the page is posted below. I've googled this error and found a variety of different reasons for why this might be happening but none of the examples I've seen appear to apply to my case, so I'd really appreciate any assistance anyone can offer with this. Thanks in advance.
    Page code:
    <?php require_once('Connections/connGVG.php'); ?>
    <?php require_once('Connections/connGVG.php'); ?>
    <?php
    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;
    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;
    ?><?php
    if (!session_id()) session_start();
    ?>
    <?php
    $Parampractice_WADApracticelist = "-1";
    if (isset($_GET['practice_id'])) {
      $Parampractice_WADApracticelist = (get_magic_quotes_gpc()) ? $_GET['practice_id'] : addslashes($_GET['practice_id']);
    $ParamSessionpractice_WADApracticelist = "-1";
    if (isset($_SESSION['WADA_Insert_practicelist'])) {
      $ParamSessionpractice_WADApracticelist = (get_magic_quotes_gpc()) ? $_SESSION['WADA_Insert_practicelist'] : addslashes($_SESSION['WADA_Insert_practicelist']);
    $Parampractice_WADApracticelist = "-1";
    if (isset($_GET['practice_id'])) {
      $Parampractice_WADApracticelist = (get_magic_quotes_gpc()) ? $_GET['practice_id'] : addslashes($_GET['practice_id']);
    $Parampractice_id_WADApracticelist = "-1";
    if (isset()) {
      $Parampractice_id_WADApracticelist = (get_magic_quotes_gpc()) ?  : addslashes();
    $Parampractice_id2_WADApracticelist = "-1";
    if (isset()) {
      $Parampractice_id2_WADApracticelist = (get_magic_quotes_gpc()) ?  : addslashes();
    $ParamSessionpractice_id_WADApracticelist = "-1";
    if (isset()) {
      $ParamSessionpractice_id_WADApracticelist = (get_magic_quotes_gpc()) ?  : addslashes();
    mysql_select_db($database_connGVG, $connGVG);
    $query_WADApracticelist = sprintf("SELECT practice_id, practicename, address1, address2, address3, address4, postcode, location, practicewebsite, practicetype, starrating FROM practicelist WHERE practice_id = %s OR ( -1= %s AND practice_id= %s)", GetSQLValueString($Parampractice_id_WADApracticelist, ""),GetSQLValueString($Parampractice_id2_WADApracticelist, ""),GetSQLValueString($ParamSessionpractice_id_WADApracticelist, ""));
    $WADApracticelist = mysql_query($query_WADApracticelist, $connGVG) or die(mysql_error());
    $row_WADApracticelist = mysql_fetch_assoc($WADApracticelist);
    $totalRows_WADApracticelist = mysql_num_rows($WADApracticelist);
    $colname_rsReviews = "-1";
    if (isset($_GET['WADALocation'])) {
      $colname_rsReviews = (get_magic_quotes_gpc()) ? $_GET['WADALocation'] : addslashes($_GET['WADALocation']);
    mysql_select_db($database_connGVG, $connGVG);
    $query_rsReviews = sprintf("SELECT * FROM reviews WHERE practice_id = %s", GetSQLValueString($colname_rsReviews, "int"));
    $rsReviews = mysql_query($query_rsReviews, $connGVG) or die(mysql_error());
    $row_rsReviews = mysql_fetch_assoc($rsReviews);
    $totalRows_rsReviews = mysql_num_rows($rsReviews);
    ?><!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Details practicelist</title>
    <style type="text/css">
    <!--
    -->
    </style>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <link href="WA_DataAssist/styles/Refined_Pacifica.css" rel="stylesheet" type="text/css" />
    <link href="WA_DataAssist/styles/Arial.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    /* Details page CSS */
    .WADADetailsContainer {
    font-size: 11px;
    #WADADetails {
    padding-top: 10px;
    </style>
    </head>
    <body>
    <div id="wrapper">
      <div id="header"></div>
      <div id="content">
        <div id="menu">
          <a href="addreview.html">Add review</a>  <a href="contact.html">Contact</a>  <a href="terms.html">Terms</a>  <a href="practice_Search.php">Search</a>  <a href="about.html">About </a><a href="index.html">Home </a></div>
        <div id="contentleft2">
          <div id="greenpiccont"></div>
          <div id="cright">
            <div class="boldwhite" id="rightblue">Review your vet<br />
              <br />
              <span class="smallbold">Tell us your experience</span><br />
              <br />
              <span class="smallwhite">Give people information<br />
              on your experiences so <br />
              that they can make an<br />
              informed decision.</span><br />
              <div id="startbutton"><a href="#">Start</a></div>
            </div>
          <div id="bluemap2"></div>
          <div id="searchbox">
            <table width="202" border="0" cellspacing="0">
              <tr>
                <th scope="row"><div align="left" class="smalltext">Search by postcode</div></th>
              </tr>
              <tr>
                <th height="31" scope="row"><input name="Name" class="Width250px" /></th>
              </tr>
              <tr>
                <th scope="row"><div align="left" class="smalltext">Miles</div></th>
              </tr>
              <tr>
                <th height="39" scope="row"><div align="left">
                  <input name="Name2" class="Width250px" />
                </div></th>
              </tr>
            </table>
          </div>
          </div>
          <div class="about10" id="contl">Practice details<br />
            <div class="WADADetailsContainer"> <a name="top"></a>
              <div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
              <?php if ($totalRows_WADApracticelist > 0) { // Show if recordset not empty ?>
                <div id="WADADetails">
                  <table class="WADADataTable" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                      <th class="WADADataTableHeader">Practice name:</th>
                      <td class="WADADataTableCell"><strong><?php echo($row_WADApracticelist['practicename']); ?></strong></td>
                    </tr>
                    <tr>
                      <th class="WADADataTableHeader">Practice type:</th>
                      <td class="WADADataTableCell"><?php echo($row_WADApracticelist['practicetype']); ?></td>
                    </tr>
                    <tr>
                      <th class="WADADataTableHeader">Address:</th>
                      <td class="WADADataTableCell"><?php echo($row_WADApracticelist['address1']); ?></td>
                    </tr>
                    <tr>
                      <th class="WADADataTableHeader"> </th>
                      <td class="WADADataTableCell"><?php echo($row_WADApracticelist['address2']); ?></td>
                    </tr>
                    <tr>
                      <th class="WADADataTableHeader"> </th>
                      <td class="WADADataTableCell"><?php echo($row_WADApracticelist['address3']); ?></td>
                    </tr>
                    <tr>
                      <th class="WADADataTableHeader"> </th>
                      <td class="WADADataTableCell"><?php echo($row_WADApracticelist['address4']); ?></td>
                    </tr>
                    <tr>
                      <th class="WADADataTableHeader">Postcode:</th>
                      <td class="WADADataTableCell"><?php echo($row_WADApracticelist['postcode']); ?></td>
                    </tr>
                    <tr>
                      <th class="WADADataTableHeader">Location:</th>
                      <td class="WADADataTableCell"><?php echo($row_WADApracticelist['location']); ?></td>
                    </tr>
                    <tr>
                      <th class="WADADataTableHeader">Website:</th>
                      <td class="WADADataTableCell"><a href="http://www.<?php echo $row_WADApracticelist['practicewebsite']; ?>" target="_blank"><?php echo($row_WADApracticelist['practicewebsite']); ?></a></td>
                    </tr>
                    <tr>
                      <th class="WADADataTableHeader">Star rating:</th>
                      <td class="WADADataTableCell"><?php echo($row_WADApracticelist['starrating']); ?></td>
                    </tr>
                  </table>
                  <div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
                  <div class="WADAButtonRow">
                    <table class="WADADataNavButtons" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td class="WADADataNavButtonCell" nowrap="nowrap"></td>
                        <td class="WADADataNavButtonCell" nowrap="nowrap"></td>
                        <td class="WADADataNavButtonCell" nowrap="nowrap"><a href="practice_Results.php" title="Results"><img border="0" name="Results" id="Results" alt="Results" src="WA_DataAssist/images/Pacifica/Refined_results.gif" /></a></td>
                      </tr>
                    </table>
                  </div>
                </div>
              <?php } // Show if recordset not empty ?>
              <?php if ($totalRows_WADApracticelist == 0) { // Show if recordset empty ?>
                <div class="WADANoResults">
                  <div class="WADANoResultsMessage">No record found.</div>
                </div>
                <div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div>
                <div class="WADADetailsLinkArea">
                  <div class="WADADataNavButtonCell"><a href="practice_Results.php" title="Results"><img border="0" name="Results1" id="Results1" alt="Results" src="WA_DataAssist/images/Pacifica/Refined_results.gif" /></a></div>
                </div>
                <div class="WADAHorizLine"><img src="WA_DataAssist/images/_tx_.gif" alt="" height="1" width="1" border="0" /></div><p><strong>Reviews for this practice:</strong></p>
                <?php do { ?>
                  <table width="100%" border="0" cellspacing="5" cellpadding="2">
                    <tr>
                      <td width="23%"> </td>
                      <td width="77%"><?php echo $row_rsReviews['comments']; ?></td>
                    </tr>
                    <tr>
                      <td> </td>
                      <td> </td>
                    </tr>
                                  </table>
                  <?php } while ($row_WADApracticelist = mysql_fetch_assoc($WADApracticelist)); ?>
                <?php } // Show if recordset empty ?>
            </div>
          </div>
        </div>
        <div id="contentright">
          <p> </p>
        </div>
      </div>
      <div class="clr"></div>
      <div id="footer">hj</div>
    </div>
    </body>
    </html>
    <?php
    mysql_free_result($WADApracticelist);
    mysql_free_result($rsReviews);
    ?>

    I haven't studied your code in detail, but it looks very much as though you have been editing the page without properly removing server behaviors through the Server Behaviors panel. Look at the following section:
    <?php require_once('Connections/connGVG.php'); ?>
    <?php require_once('Connections/connGVG.php'); ?>
    <?php
    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;
    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;
    ?>
    You have the connection file attached twice, and the GetSQLValueString() function is defined twice. However, the cause of all your problems lies here:
    $Parampractice_WADApracticelist = "-1";if (isset($_GET['practice_id'])) {
      $Parampractice_WADApracticelist = (get_magic_quotes_gpc()) ? $_GET['practice_id'] : addslashes($_GET['practice_id']);
    $ParamSessionpractice_WADApracticelist = "-1";
    if (isset($_SESSION['WADA_Insert_practicelist'])) {
      $ParamSessionpractice_WADApracticelist = (get_magic_quotes_gpc()) ? $_SESSION['WADA_Insert_practicelist'] : addslashes($_SESSION['WADA_Insert_practicelist']);
    $Parampractice_WADApracticelist = "-1";
    if (isset($_GET['practice_id'])) {
      $Parampractice_WADApracticelist = (get_magic_quotes_gpc()) ? $_GET['practice_id'] : addslashes($_GET['practice_id']);
    $Parampractice_id_WADApracticelist = "-1";
    if (isset()) {
      $Parampractice_id_WADApracticelist = (get_magic_quotes_gpc()) ?  : addslashes();
    $Parampractice_id2_WADApracticelist = "-1";
    if (isset()) {
      $Parampractice_id2_WADApracticelist = (get_magic_quotes_gpc()) ?  : addslashes();
    $ParamSessionpractice_id_WADApracticelist = "-1";
    if (isset()) {
      $ParamSessionpractice_id_WADApracticelist = (get_magic_quotes_gpc()) ?  : addslashes();
    mysql_select_db($database_connGVG, $connGVG);
    Look how many times the same code is repeated. What's causing the problem are the three final sections where there is no argument passed to isset().
    Delete the code highlighted in red.

  • Parse errors on php page...

    I am new to php and am trying to create a php form on a website I am building for a friend. The form looks like I want it to on the page.
    http://www.mosaleen.com/order.html
    It also works... sending the info to my email upon submit and redirecting me to the "Thank you for your order page".
    The code to make the form function actually rests on the thank you page... I am attaching the code below.
    http://www.mosaleen.com/Order.php
    Problem is that when I validate the php page it tells me that there are parsing errors. Specifically:
    Unable to determine parse mode
    Line 1, Column 1:character "Y" not allowed in prolog
    AND
    Line 1, Column 85:end of document in prolog
    Does anyone know where the problem is? I have checked my css sheets and they are validating just fine, so there shouldn't be any issue there. The php script was adapted from the one at  http://dreamweaverspot.com/adobe-dreamweaver-tutorial-contact-forms/ if that helps.
    <?php
    $my_email = "[email protected]";
    $continue = "thankyou.html";
    $errors = array();
    // Remove $_COOKIE elements from $_REQUEST.
    if(count($_COOKIE)){foreach(array_keys($_COOKIE) as $value){unset($_REQUEST[$value]);}}
    // Check all fields for an email header.
    function recursive_array_check_header($element_value)
    global $set;
    if(!is_array($element_value)){if(preg_match("/(%0A|%0D|\n+|\r+)(content-type:|to:|cc:|bcc: )/i",$element_value)){$set = 1;}}
    else
    foreach($element_value as $value){if($set){break;} recursive_array_check_header($value);}
    recursive_array_check_header($_REQUEST);
    if($set){$errors[] = "You cannot send an email header";}
    unset($set);
    // Validate email field.
    if(isset($_REQUEST['email']) && !empty($_REQUEST['email']))
    if(preg_match("/(%0A|%0D|\n+|\r+|:)/i",$_REQUEST['email'])){$errors[] = "Email address may not contain a new line or a colon";}
    $_REQUEST['email'] = trim($_REQUEST['email']);
    if(substr_count($_REQUEST['email'],"@") != 1 || stristr($_REQUEST['email']," ")){$errors[] = "Email address is invalid";}else{$exploded_email = explode("@",$_REQUEST['email']);if(empty($exploded_email[0]) || strlen($exploded_email[0]) > 64 || empty($exploded_email[1])){$errors[] = "Email address is invalid";}else{if(substr_count($exploded_email[1],".") == 0){$errors[] = "Email address is invalid";}else{$exploded_domain = explode(".",$exploded_email[1]);if(in_array("",$exploded_domain)){$errors[] = "Email address is invalid";}else{foreach($exploded_domain as $value){if(strlen($value) > 63 || !preg_match('/^[a-z0-9-]+$/i',$value)){$errors[] = "Email address is invalid"; break;}}}}}}
    // Check referrer is from same site.
    if(!(isset($_SERVER['HTTP_REFERER']) && !empty($_SERVER['HTTP_REFERER']) && stristr($_SERVER['HTTP_REFERER'],$_SERVER['HTTP_HOST']))){$errors[] = "You must enable referrer logging to use the form";}
    // Check for a blank form.
    function recursive_array_check_blank($element_value)
    global $set;
    if(!is_array($element_value)){if(!empty($element_value)){$set = 1;}}
    else
    foreach($element_value as $value){if($set){break;} recursive_array_check_blank($value);}
    recursive_array_check_blank($_REQUEST);
    if(!$set){$errors[] = "You cannot send a blank form";}
    unset($set);
    // Display any errors and exit if errors exist.
    if(count($errors)){foreach($errors as $value){print "$value<br>";} exit;}
    if(!defined("PHP_EOL")){define("PHP_EOL", strtoupper(substr(PHP_OS,0,3) == "WIN") ? "\r\n" : "\n");}
    // Build message.
    function build_message($request_input){if(!isset($message_output)){$message_output ="";}if(!is_array($request_input)){$message_output = $request_input;}else{foreach($request_input as $key => $value){if(!empty($value)){if(!is_numeric($key)){$message_output .= str_replace("_"," ",ucfirst($key)).": ".build_message($value).PHP_EOL.PHP_EOL;}else{$message_output .= build_message($value).", ";}}}}return rtrim($message_output,", ");}
    $message = build_message($_REQUEST);
    $message = $message . PHP_EOL.PHP_EOL."-- ".PHP_EOL."";
    $message = stripslashes($message);
    $subject = "Order from MoSaleen.com";
    $headers = "From: " . $_REQUEST['email'];
    mail($my_email,$subject,$message,$headers);
    ?>
    <!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/subpage.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style type="text/css" media="all">
    <!--
    @import url("styles.css");
    -->
    </style>
    <!--[if IE 5]>
    <style type="text/css">
    #outerWrapper #subcontentWrapper #rightColumn {
      width: 220px;
    </style>
    <![endif]-->
    <!--[if IE]>
    <style type="text/css">
    #outerWrapper #subcontentWrapper #content {
      zoom: 1;
    </style>
    <![endif]-->
    </head>
    <body>
    <div id="wrapperbackground">
      <div id="outerWrapper">
        <div id="header">
          <div id="logo"><img src="images/logo2.png" alt="g" width="300" height="86" /></div>
          <div id="links"><a href="about.html">About Us</a> | <a href="contact.html">Contact Us</a> | 417.825.1498</div>
          <div class="clearFloat"></div>
        </div>
        <div id="nav">
          <ul>
            <li><a href="index.html"><span>Home</span></a></li>
            <li><a href="about.html"><span>Idler Pulley Systems</span></a></li>
            <li><a href="testimonials.html"><span>Proven Results</span></a></li>
            <li><a href="install.html"><span>Installation</span></a></li>
            <li><a href="order.html"><span>Order a System</span></a></li>
            <li><a href="contact.html"><span>Contact Us</span></a></li>
          </ul>
        </div>
        <div id="feature" style="display:none;"></div>
        <div id="subcontentWrapper">
          <div id="content"> <!-- InstanceBeginEditable name="content" -->
            <h1>Thank You!</h1>
            <p><span style="font-weight: bold">Your order has been submitted.</span> <br />
              <br />
            Please make your PayPal payment to <a href="mailto:[email protected]">[email protected]</a> for the required amount (see list below for a reminder on pricing). Once we receive your form AND payment we will confirm your order by email and include all shipping information. <span style="font-weight: bold">If additional information is required we will contact you by phone or email.</span></p>
            <p>If you have questions regarding your order or payment,  feel free to contact us at 417.825.1498.</p>
            <p><img src="images/line.jpg" alt="" width="590" height="10" class="clearFloat" /></p>
            <h1>Pricing List</h1>
            <p style="font-weight: bold"> Shipping is free on all orders!</p>
            <p>99-04 Saleen MoSaleen™ Idler Pulley System<br />
              Powder Coated with standard black pulley ($175.00)<br />
              Powder Coated with upgraded CNC aluminum anodized pulley ($225.00)<br />
              Ceramic Coated with standard black pulley ($190.00)<br />
              Ceramic Coated with upgraded CNC aluminum anodized pulley ($240.00)<br />
              <br />
              05-09 Saleen MoSaleen™ Idler Pulley System ($275.00)</p>
          <!-- InstanceEndEditable --></div>
          <div id="rightColumn">
            <div id="rightColumnContent">
               <h3>Saleen Performance Sites</h3>
             <ul>
                <li></li>
                <li></li>
                <li></li>
                <li></li>
                <li></li>
                <li></li>
       <li></li>           
       <li><a href="http://www.teamjdm.com"><img src="images/jdm.png" alt="JDM Engineering" width="200" height="94" /></a></li>
                <li><a href="http://www.performanceautosport.com"><img src="images/pauto.png" alt="Performance Autosports" width="200" height="90" /></a> </li>
                <li><a href="http://www.brenspeed.com"><img src="images/bren.png" alt="Brenspeed Custom Tuning" width="200" height="82" /></a></li>
                <li><a href="http://www.stage3motorsports.com"><img src="images/stage.png" alt="Stage 3 Motorsports" width="200" height="73" /></a></li>
                <li><a href="http://www.chicanesport.com"><img src="images/chic.png" alt="Chicane Sport Tuning" width="200" height="81" /></a></li>
                <li><a href="http://www.spencerperformance.com"><img src="images/spen.png" alt="Spencer Performance" width="200" height="94" /></a></li>
              </ul>
              </div>
          </div>
          <br class="clearFloat" />
        </div>
      </div>
    </div>
    <div id="footer"><img src="http://www.justdreamweaver.com/templates/link/spacer.gif" alt="" width="1" height="1" />Copyright &copy; 2008 MoSaleen Performance, LLC <br />
    <a href="#">Site Map</a> | <a href="#">Privacy Policy</a> |
    Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></div>
    </body>
    <!-- InstanceEnd --></html>

    I have changed the code to where the php form section is within the html of the page I created. (posted below)
    http://www.mosaleen.com/order_thanks.php
    This option gets rid of the parsing error but creates 16 errors in code when validated. It still looks right and still emails correctly.
    Is there a tutorial somewhere... or a simpler php code that would submit this form to email? It doesn't need to be fancy.  Or... if one of these options work, which one should I work with.
    Or... does it really matter that I am having the parsing error since the code looks right and is working? Not that it is clean design to leave it that way...
    I think the problem lies in trying to insert the php coding ( that submits the form to email ) inside the thank you page... but Im not sure how else to handle this. Any suggestions?
    Andrea
    <!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/subpage.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style type="text/css" media="all">
    <!--
    @import url("styles.css");
    -->
    </style>
    <!--[if IE 5]>
    <style type="text/css">
    #outerWrapper #subcontentWrapper #rightColumn {
      width: 220px;
    </style>
    <![endif]-->
    <!--[if IE]>
    <style type="text/css">
    #outerWrapper #subcontentWrapper #content {
      zoom: 1;
    </style>
    <![endif]-->
    </head>
    <body>
    <div id="wrapperbackground">
      <div id="outerWrapper">
        <div id="header">
          <div id="logo"><img src="images/logo2.png" alt="g" width="300" height="86" /></div>
          <div id="links"><a href="about.html">About Us</a> | <a href="contact.html">Contact Us</a> | 417.825.1498</div>
          <div class="clearFloat"></div>
        </div>
        <div id="nav">
          <ul>
            <li><a href="index.html"><span>Home</span></a></li>
            <li><a href="about.html"><span>Idler Pulley Systems</span></a></li>
            <li><a href="testimonials.html"><span>Proven Results</span></a></li>
            <li><a href="install.html"><span>Installation</span></a></li>
            <li><a href="order.html"><span>Order a System</span></a></li>
            <li><a href="contact.html"><span>Contact Us</span></a></li>
          </ul>
        </div>
        <div id="feature" style="display:none;"></div>
        <div id="subcontentWrapper">
          <div id="content"> <!-- InstanceBeginEditable name="content" -->
            <?php
    $my_email = "[email protected]";
    $continue = "thankyou.html";
    $errors = array();
    // Remove $_COOKIE elements from $_REQUEST.
    if(count($_COOKIE)){foreach(array_keys($_COOKIE) as $value){unset($_REQUEST[$value]);}}
    // Check all fields for an email header.
    function recursive_array_check_header($element_value)
    global $set;
    if(!is_array($element_value)){if(preg_match("/(%0A|%0D|\n+|\r+)(content-type:|to:|cc:|bcc: )/i",$element_value)){$set = 1;}}
    else
    foreach($element_value as $value){if($set){break;} recursive_array_check_header($value);}
    recursive_array_check_header($_REQUEST);
    if($set){$errors[] = "You cannot send an email header";}
    unset($set);
    // Validate email field.
    if(isset($_REQUEST['email']) && !empty($_REQUEST['email']))
    if(preg_match("/(%0A|%0D|\n+|\r+|:)/i",$_REQUEST['email'])){$errors[] = "Email address may not contain a new line or a colon";}
    $_REQUEST['email'] = trim($_REQUEST['email']);
    if(substr_count($_REQUEST['email'],"@") != 1 || stristr($_REQUEST['email']," ")){$errors[] = "Email address is invalid";}else{$exploded_email = explode("@",$_REQUEST['email']);if(empty($exploded_email[0]) || strlen($exploded_email[0]) > 64 || empty($exploded_email[1])){$errors[] = "Email address is invalid";}else{if(substr_count($exploded_email[1],".") == 0){$errors[] = "Email address is invalid";}else{$exploded_domain = explode(".",$exploded_email[1]);if(in_array("",$exploded_domain)){$errors[] = "Email address is invalid";}else{foreach($exploded_domain as $value){if(strlen($value) > 63 || !preg_match('/^[a-z0-9-]+$/i',$value)){$errors[] = "Email address is invalid"; break;}}}}}}
    // Check referrer is from same site.
    if(!(isset($_SERVER['HTTP_REFERER']) && !empty($_SERVER['HTTP_REFERER']) && stristr($_SERVER['HTTP_REFERER'],$_SERVER['HTTP_HOST']))){$errors[] = "You must enable referrer logging to use the form";}
    // Check for a blank form.
    function recursive_array_check_blank($element_value)
    global $set;
    if(!is_array($element_value)){if(!empty($element_value)){$set = 1;}}
    else
    foreach($element_value as $value){if($set){break;} recursive_array_check_blank($value);}
    recursive_array_check_blank($_REQUEST);
    if(!$set){$errors[] = "You cannot send a blank form";}
    unset($set);
    // Display any errors and exit if errors exist.
    if(count($errors)){foreach($errors as $value){print "$value<br>";} exit;}
    if(!defined("PHP_EOL")){define("PHP_EOL", strtoupper(substr(PHP_OS,0,3) == "WIN") ? "\r\n" : "\n");}
    // Build message.
    function build_message($request_input){if(!isset($message_output)){$message_output ="";}if(!is_array($request_input)){$message_output = $request_input;}else{foreach($request_input as $key => $value){if(!empty($value)){if(!is_numeric($key)){$message_output .= str_replace("_"," ",ucfirst($key)).": ".build_message($value).PHP_EOL.PHP_EOL;}else{$message_output .= build_message($value).", ";}}}}return rtrim($message_output,", ");}
    $message = build_message($_REQUEST);
    $message = $message . PHP_EOL.PHP_EOL."-- ".PHP_EOL."";
    $message = stripslashes($message);
    $subject = "Order from MoSaleen.com";
    $headers = "From: " . $_REQUEST['email'];
    mail($my_email,$subject,$message,$headers);
    ?>
            <h1>Thank You!</h1>
            <p><span style="font-weight: bold">Your order has been submitted.</span> <br />
                <br />
              Please make your PayPal payment to <a href="mailto:[email protected]">[email protected]</a> for the required amount (see list below for a reminder on pricing). Once we receive your form AND payment we will confirm your order by email and include all shipping information. <span style="font-weight: bold">If additional information is required we will contact you by phone or email.</span></p>
            <p>If you have questions regarding your order or payment,  feel free to contact us at 417.825.1498.</p>
            <p><img src="images/line.jpg" alt="" width="590" height="10" class="clearFloat" /></p>
            <h1>Pricing List</h1>
            <p style="font-weight: bold"> Shipping is free on all orders!</p>
            <p>99-04 Saleen MoSaleen™ Idler Pulley System<br />
              Powder Coated with standard black pulley ($175.00)<br />
              Powder Coated with upgraded CNC aluminum anodized pulley ($225.00)<br />
              Ceramic Coated with standard black pulley ($190.00)<br />
              Ceramic Coated with upgraded CNC aluminum anodized pulley ($240.00)<br />
                <br />
              05-09 Saleen MoSaleen™ Idler Pulley System ($275.00)</p>
            <p> </p>
          <!-- InstanceEndEditable --></div>
          <div id="rightColumn">
            <div id="rightColumnContent">
               <h3>Saleen Performance Sites</h3>
             <ul>
                <li></li>
                <li></li>
                <li></li>
                <li></li>
                <li></li>
                <li></li>
       <li></li>           
       <li><a href="http://www.teamjdm.com"><img src="images/jdm.png" alt="JDM Engineering" width="200" height="94" /></a></li>
                <li><a href="http://www.performanceautosport.com"><img src="images/pauto.png" alt="Performance Autosports" width="200" height="90" /></a> </li>
                <li><a href="http://www.brenspeed.com"><img src="images/bren.png" alt="Brenspeed Custom Tuning" width="200" height="82" /></a></li>
                <li><a href="http://www.stage3motorsports.com"><img src="images/stage.png" alt="Stage 3 Motorsports" width="200" height="73" /></a></li>
                <li><a href="http://www.chicanesport.com"><img src="images/chic.png" alt="Chicane Sport Tuning" width="200" height="81" /></a></li>
                <li><a href="http://www.spencerperformance.com"><img src="images/spen.png" alt="Spencer Performance" width="200" height="94" /></a></li>
              </ul>
            </div>
          </div>
          <br class="clearFloat" />
        </div>
      </div>
    </div>
    <div id="footer"><img src="http://www.justdreamweaver.com/templates/link/spacer.gif" alt="" width="1" height="1" />Copyright &copy; 2008 MoSaleen Performance, LLC <br />
    <a href="#">Site Map</a> | <a href="#">Privacy Policy</a> |
    Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></div>
    </body>
    <!-- InstanceEnd --></html>

  • Help a noob with a parse error. Completely new to Flex, doesn't know anything.

    Hi. I am completely new to Flex (and mxml and ActionScript) and have a silly little error right off the bat. I haven't written a line of code yet, and got the source files from a collegue (who is currently unavailable to help me out here) that obviously had this working before he gave it to me.
    I am getting a parse error with the following lines. From my experience with PHP, I have a general idea that a parse error is usually a syntax thing, like a missing semicolon or something along that line. I've already tried semicolons in a bunch of places, but nothing seems to work. Any help would be appreciated. The X is where the program highlights the error.
    <?xml version="1.0" encoding="utf-8"?>
    <!-- Build with 3.1 -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute"  xmlns:tg = "EditableTextGrid.*" xmlns:ns1="com.testURL.commonClasses.grid.*" viewSourceURL="srcview/index.html"
    X verticalAlign="middle" implements="EditableTextGrid.ETGParent" >
    initialize= "setLogin('testUser'); loadMatrix('module=portal&amp;mode=i&amp;searchString=1111')"
    <!--initialize="setLogin('testUser'); loadMatrix('module=serviceview&amp;mode=i&amp;colName=SID&amp;searchString=290')"-->
        <mx:Style source="styles/AcctRequest.css"/>
    Severity and Description
    Path
    Resource
    Location
    Creation Time
    Id
    Parse error at '\n initialize= \"setLogin(\'ngorelik\'); loadMatrix(\'module=portal&mode=i&searchString=1111\')\"\n\n\t'.
    CV/src
    contactsSWF.mxml
    line 4
    1319810874686
    130
    Other info: it was actually written with Flex 3.2 SDK

    You are missing a quote at the end of your "setLogin(testUser)" function and you don't have that inside a tag (it's outside the greater than sign...
    You have:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute"  xmlns:tg = "EditableTextGrid.*" xmlns:ns1="com.testURL.commonClasses.grid.*" viewSourceURL="srcview/index.html"
    X verticalAlign="middle" implements="EditableTextGrid.ETGParent" >
    initialize= "setLogin('testUser'); loadMatrix('module=portal&amp;mode=i&amp;searchString=1111')"
    It should be:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute"  xmlns:tg = "EditableTextGrid.*" xmlns:ns1="com.testURL.commonClasses.grid.*" viewSourceURL="srcview/index.html"
    X verticalAlign="middle" implements="EditableTextGrid.ETGParent"  initialize= "{setLogin(testUser)}"...>

  • XML Parse error while loading an XML file

    HI Folks,
    I was trying to load and XML file into BODS.. The XML file is well-formed and the same when tested in other tools  is getting loaded without any issues..
    I have created a XML-File format with the corresponding XSD..
    But here in BODS it is giving - Parse error
    1) when i try to view the data of the source XML in my dataflow ..it is giving "XML Parser Failed".. and not able to show data..
    2) When I run my job i get the same pares error - with details as under..
    ---> Error here is "Unable to recognize element 'TAB' " or some time is say " Element TAB should be qualified"
    Please guide with this if you have any info..thanks
    I'm pasting the XML source file format here for your reference:--
      <?xml version="1.0" encoding="iso-8859-1" ?>
    - <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
    - <asx:values>
    - <TAB>
    - <items>
    + <CUSTOMER_RECORD>
      <CUSTOMER_NUMBER>1111111111</CUSTOMER_NUMBER>
      <NAME_1>ABC</NAME_1>
      <NAME_2>OFM/COMMERCIAL ACCOUNTS</NAME_2>
      <STREET_1>31 CENTER DRIVE MCS2045</STREET_1>
      <STREET_2 />
      <CITY>BETHESDA</CITY>
      <STATE_CODE>MD</STATE_CODE>
      <POSTAL_CODE>20892-2045</POSTAL_CODE>
      <COUNTRY_CODE>US</COUNTRY_CODE>
      <ORDER_BLOCK />
      <ERP_CREATE_DATE>20040610</ERP_CREATE_DATE>
      <ERP_CREATED_BY>DGUPTA</ERP_CREATED_BY>
      <ERP_MODIFY_DATE>20120201</ERP_MODIFY_DATE>
      <ERP_MODIFIED_BY>LWOHLFEI</ERP_MODIFIED_BY>
      <INDUSTRY_CODE>0103</INDUSTRY_CODE>
      <ACCOUNT_GROUP_ID>0001</ACCOUNT_GROUP_ID>
      <SALES_NOTE />
      <ADDRESS_NOTE />
      <CUSTOMER_CLASSIFICATION_CODE>02</CUSTOMER_CLASSIFICATION_CODE>
      <GLN_NUMBER />
      <PREVIOUS_ACCT_NO />
      <ACCOUNT_TYPE />
      <GAG />
      <SDI_ID />
      <HOSP_ID />
      <HIN />
      <DUNS />
      <PO_BOX />
      <POB_CITY />
      <POB_ZIP />
      <PHONE_NUMBER>77777</PHONE_NUMBER>
      <EMAIL_DOMAIN />
      <REQUESTER />
      <ERP_SOURCE_SYSTEM>ECC</ERP_SOURCE_SYSTEM>
      </CUSTOMER_RECORD>
    - <SALES_ORG_DATA>
    + <item>
      <CUSTOMER_NUMBER>1111111111</CUSTOMER_NUMBER>
      <SALES_ORG>0130</SALES_ORG>
      <CUSTOMER_GROUP>03</CUSTOMER_GROUP>
      <ORDER_BLOCK_CODE />
      <ERP_SOURCE_SYSTEM>ECC</ERP_SOURCE_SYSTEM>
      </item>
    + <item>
      <CUSTOMER_NUMBER>1111111111</CUSTOMER_NUMBER>
      <SALES_ORG>0120</SALES_ORG>
      <CUSTOMER_GROUP>11</CUSTOMER_GROUP>
      <ORDER_BLOCK_CODE />
      <ERP_SOURCE_SYSTEM>ECC</ERP_SOURCE_SYSTEM>
      </item>
      </SALES_ORG_DATA>
      </items>
      </TAB>
      </asx:values>
      </asx:abap>

    Pierre,
    Depending on the object "myLastFile", the method openDlg might not even exist (if the myLastFile object is not a File object, for instance). And I do not see any need for the myLastFile anyhow, as you are presenting a dialog to select a file to open. I recommend using the global ChooseFile( ) method instead. This will give you a filename as string in full path notation, or null when no file was selected in the dialog. I am not sure what your ExtendScript documentation states about the return value for ChooseFile, but if that differs from what I am telling you here, the documentation is wrong. So, if you replace the first lines of your code with the following it should work:
    function openXMLFile ( ) {
        var filename = ChooseFile ( "Choose XML file ...", "", "*.xml", Constants.FV_ChooseSelect );
    While writing this, I see that Russ has already given you the same advice. Use the symbolic constant value I indicated to use the ChooseFile dialog to select a single file (it can also be used to select a directory or open a file - but you want to control the opening process yourself). Note that this method allows you to set a start directory for the dialog (second parameter). The ESTK autocompletion also gives you a fifth parameter "helplink" which is undocumented and can safely be ignored.
    Good luck
    Jang

  • Facing Parse Errors after upgrading database from 10g to 11g

    Hi,
    We are facing parse errors in the SQL's after upgrading database from 10g to 11g.
    Kindly look into below parse errors.
    ********************************** Parse Error *****************************************************
    Tue Aug 13 14:13:08 2013
    kksSetBindType 16173533-2: parse err=1446 hd=3c73061fb8 flg=100476 cisid=173 sid=173 ciuid=173 uid=173
    PARSE ERROR: ospid=15598, error=1446 for statement:
    SELECT ROWID,ORGANIZATION_CODE,PADDED_CONCATENATED_SEGMENTS,PRIMARY_UOM_CODE,REVISION,SUBINVENTORY_CODE,TOTAL_QOH,NET,RSV,ATP,ORGANIZATION_NAME,ITEM_DESCRIPTION,INVENTORY_ITEM_ID,ORGANIZATION_ID,LOCATOR_ID,LOCATOR_TYPE,ITEM_LOCATOR_CONTROL,ITEM_LOT_CONTROL,ITEM_SERIAL_CONTROL FROM MTL_ONHAND_LOCATOR_V WHERE (INVENTORY_ITEM_ID=:1) and (ORGANIZATION_ID=:2) order by ORGANIZATION_CODE,SUBINVENTORY_CODE,REVISION, organization_code, padded_concatenated_segments
    Tue Aug 13 14:13:10 2013
    kksfbc 16173533: parse err=942 hd=3c387c4028 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    PARSE ERROR: ospid=29813, error=942 for statement:
    Select feature from toad.toad_restrictions where user_name=USER or user_name in ( select ROLE from sys.session_roles)
    kksfbc 16173533: parse err=942 hd=3c97d83648 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    PARSE ERROR: ospid=29813, error=942 for statement:
    SELECT password
    FROM SYS.USER$
    WHERE  0=1
    kksfbc 16173533: parse err=6550 hd=35185e4278 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    ----- PL/SQL Stack -----
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    319e277050        30  anonymous block
    319e277050        57  anonymous block
    PARSE ERROR: ospid=29813, error=6550 for statement:
    BEGIN sys.dbms_profiler."146775420110782746251362632012"; END;
    kksfbc 16173533: parse err=942 hd=3c142d8600 flg=20 cisid=3266 sid=3266 ciuid=3266 uid=3266
    ----- PL/SQL Stack -----
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    319e277050        67  anonymous block
    PARSE ERROR: ospid=29813, error=942 for statement:
    SELECT 1 FROM plsql_profiler_data WHERE 0 = 1
    Please help.
    Regards
    Suresh

    Hi Suresh,
    Apologies for misunderstanding..
    Tue Aug 13 14:13:08 2013
    kksSetBindType 16173533-2: parse err=1446 hd=3c73061fb8 flg=100476 cisid=173 sid=173 ciuid=173 uid=173
    PARSE ERROR: ospid=15598, error=1446 for statement:
    SELECT ROWID,ORGANIZATION_CODE,PADDED_CONCATENATED_SEGMENTS,PRIMARY_UOM_CODE,REVISION,SUBINVENTORY_CODE,TOTAL_QOH,NET,RSV,ATP,ORGANIZATION_NAME,ITEM_DESCRIPTION,INVENTORY_ITEM_ID,ORGANIZATION_ID,LOCATOR_ID,LOCATOR_TYPE,ITEM_LOCATOR_CONTROL,ITEM_LOT_CONTROL,ITEM_SERIAL_CONTROL FROM MTL_ONHAND_LOCATOR_V WHERE (INVENTORY_ITEM_ID=:1) and (ORGANIZATION_ID=:2) order by ORGANIZATION_CODE,SUBINVENTORY_CODE,REVISION, organization_code, padded_concatenated_segments
    Assuming you see the above error message in the alert log file, which was your original post, follow the below steps:
    1 Get the 'ospid' value from the error
    2. Issue the below command:
    SQL> select request_id,ORACLE_PROCESS_ID
      2 from fnd_concurrent_requests
      3 where request_id = 15598;
    3. After obtaining the request_id
    4, Query it from the front-end using SYSADMIN responsibility
    Hopefully this should get you the respective concurrent report/program.
    Thanks &
    Best Regards,

  • Processing this item failed because of a PDF parser error. Input string was not in a correct format.

    Good Morning,
    We're having issues parsing several hundred PDF files located in two separate Record Center sites. All other PDF documents in the environment are being crawled and parsed without issue. I've verified the permissions for the Search service account, but that
    doesn't seem to be the issue. Searching for this particular error hasn't returned much, but I have ensured that the Search service account has been added to the necessary Local Security Policy objects and cleared the configuration cache. Any help would be
    greatly appreciated.
    Processing this item failed because of a PDF parser error. ( Error parsing document 'https://asdf.com/sites/HRRecords/asdf.pdf'. Input string was not in a correct format.; ; SearchID = 6642FEEF-6921-434E-B084-02809173D8A7 )

    This issue came back up for me as my results aren't displaying since this data is not part of the search index.
    Curious if anyone knows of a way to increase the parser server memory in SharePoint 2013 search?
    http://sharepoint/materials-ca/HPSActiveCDs/Votrevieprofessionnelleetvotrecarrireenregistrement.zip
    Processing this item failed because the parser server ran out of memory. ( Error parsing document 'http://sharepoint/materials-ca/HPSActiveCDs/Votrevieprofessionnelleetvotrecarrireenregistrement.zip'. Document failed to be processed. It probably crashed the
    server.; ; SearchID = 097AE4B0-9EB0-4AEC-AECE-AEFA631D4AA6 )
    http://sharepoint/materials-ca/HPSActiveCDs/Travaillerauseindunequipemultignrationnelle.zip
    Processing this item failed because of a IFilter parser error. ( Error parsing document 'http://sharepoint/materials-ca/HPSActiveCDs/Travaillerauseindunequipemultignrationnelle.zip'. Error loading IFilter for extension '.zip' (Error code is 0x80CB4204). The
    function encountered an unknown error.; ; SearchID = 4A0C99B1-CF44-4C8B-A6FF-E42309F97B72 )

  • SharePoint 2013 Search - Zip - Parser server ran out of memory - Processing this item failed because of a IFilter parser error

    Moving content databases from 2010 to 2013 August CU. Have 7 databases attached and ready to go, all the content is crawled successfully except zip files. Getting errors such as 
    Processing this item failed because of a IFilter parser error. ( Error parsing document 'http://sharepoint/file1.zip'. Error loading IFilter for extension '.zip' (Error code is 0x80CB4204). The function encountered an unknown error.; ; SearchID = 7A541F21-1CD3-4300-A95C-7E2A67B2563C
    Processing this item failed because the parser server ran out of memory. ( Error parsing document 'http://sharepoint/file2.zip'. Document failed to be processed. It probably crashed the server.; ; SearchID = 91B5D685-1C1A-4C43-9505-DA5414E40169 )
    SharePoint 2013 in a single instance out-of-the-box. Didn't install custom iFilters as 2013 supports zip. No other extensions have this issue. Range in file size from 60-90MB per zip. They contain mp3 files. I can download and unzip the file as needed. 
    Should I care that the index isn't being populated with these items since they contain no metadata? I am thinking I should just omit these from the crawl. 

    This issue came back up for me as my results aren't displaying since this data is not part of the search index.
    Curious if anyone knows of a way to increase the parser server memory in SharePoint 2013 search?
    http://sharepoint/materials-ca/HPSActiveCDs/Votrevieprofessionnelleetvotrecarrireenregistrement.zip
    Processing this item failed because the parser server ran out of memory. ( Error parsing document 'http://sharepoint/materials-ca/HPSActiveCDs/Votrevieprofessionnelleetvotrecarrireenregistrement.zip'. Document failed to be processed. It probably crashed the
    server.; ; SearchID = 097AE4B0-9EB0-4AEC-AECE-AEFA631D4AA6 )
    http://sharepoint/materials-ca/HPSActiveCDs/Travaillerauseindunequipemultignrationnelle.zip
    Processing this item failed because of a IFilter parser error. ( Error parsing document 'http://sharepoint/materials-ca/HPSActiveCDs/Travaillerauseindunequipemultignrationnelle.zip'. Error loading IFilter for extension '.zip' (Error code is 0x80CB4204). The
    function encountered an unknown error.; ; SearchID = 4A0C99B1-CF44-4C8B-A6FF-E42309F97B72 )

  • RE: [iPlanet-JATO] Parse error in JSP parser in IAS6

    Hi Todd,
    removing the defaultValue="" attribute works.
    I have not got around to testing the SP3.
    BTW. The reason the default value tag was added was to stop Null pointer
    exceptions being thrown in the
    HrefTag.beginDisplay().
    buffer.append("?")
    .append(field.getQualifiedName()) // "FooHref"
    .append("=")
    .append(URLEncoder.encode(value.toString())); // "/foo"
    If you don't explicitly add a defaultValue="" to the jsp HREF tag ,
    HrefTag.getDefaultValue() returns null.
    Our hack was to add the following in HrefTag.java.
    if (value==null)
    value=getDefaultValue();
    //===========================
    //IP6 ADDED THE FOLLOWING LINE
    value = (value== null? "":value);
    //============================
    Is that pheasible work-around ? This eliminates the need to add
    defaultValue="" to all HREF tags.
    Also, I might as well point another behavior that we encountered with HREFS.
    In ND, if a HREF's display Field was bound to a column in DataObject and the
    particular record had no value, no URL would be rendered on the page.
    The HTML would look something like this( from memory ):
    <A
    HREF="../AppName/PgMsgMain.hrfSubject_onWebEvent(hrfSubject).994226335140? +
    ND URL STUFF"></A>
    In JATO by default a url get displayed with "null" as the link. ie.
    <a href="../AppName/PgMsgMain?PgMsgMain.hrfSubject= + URL STUFF">null</a>
    Our hack was modify the HrefTag.doEndTag method to not append "null" to the
    buffer.
    if (displayed)
    buffer.append(getBodyContent().getString().equals("null")? "":
    getBodyContent().getString()))
    // IP6 HACK buffer.append(getBodyContent().getString())
    .append("</a>");
    writeOutput(fireEndDisplayEvent(buffer.toString()));
    Is there a better way to do this?
    thanks
    Kostas
    -----Original Message-----
    From: Todd Fast [mailto:<a href="/group/SunONE-JATO/post?protectID=189233080150012190218067203043176090006144139218183041">toddwork@c...</a>]
    Sent: Tuesday, July 03, 2001 12:46 AM
    Subject: Re: [iPlanet-JATO] Parse error in JSP parser in IAS6
    Hey Kostas--
    I personally haven't seen this kind of error. Have you tried simplifying
    the expression inside the href tag? For example:
    <% Object foo =
    viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(
    vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID);
    %>
    <jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true">
    <%= foo %>
    </jato:href>
    Also, is there a different version you could upgrade to? iAS SP3 includes
    the Jasper compiler from Tomcat, which should behave quite differently.
    Todd
    ----- Original Message -----
    From: "Kostas Morfis" <kmorfis@i...>
    Sent: Tuesday, July 03, 2001 12:17 AM
    Subject: [iPlanet-JATO] Parse error in JSP parser in IAS6
    >
    Hi all,
    has anyone come across the following error in iPlanet?
    [02/Jul/2001 12:21:32:1] error: Exception: SERVLET-compile_failed: Failedin
    compiling template: /ras/ras/voyager4/pgAssignmentMatch.jsp, Parse errorin
    JSP parser. Missing endtag: /jato:href
    Exception Stack Trace:
    java.lang.Exception: Parse error in JSP parser. Missing endtag: /jato:href
    at com.netscape.jsp.JSP.parseBlock(Unknown Source)
    at com.netscape.jsp.JSP.parseUserTag(Unknown Source)
    at com.netscape.jsp.JSP.parseTag(Unknown Source)
    at com.netscape.jsp.JSP.parseNext(Unknown Source)
    etc etc.
    We have tested the page in Resin and it works fine.
    It seems the JSP parser has a problem with the following type of HREFtags.
    >
    <jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true"
    defaultValue=""><%=
    viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(com.cb
    >
    re.ras.voyager4.model.vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID)
    %></jato:href></font></td>
    anyone have any suggestions/thoughts/comments ?
    Kostas Morfis
    Senior Consultant
    iRise
    www.iRise.com
    [Non-text portions of this message have been removed]
    [email protected]
    [email protected]

    Hi Todd,
    removing the defaultValue="" attribute works.
    I have not got around to testing the SP3.
    BTW. The reason the default value tag was added was to stop Null pointer
    exceptions being thrown in the
    HrefTag.beginDisplay().
    buffer.append("?")
    .append(field.getQualifiedName()) // "FooHref"
    .append("=")
    .append(URLEncoder.encode(value.toString())); // "/foo"
    If you don't explicitly add a defaultValue="" to the jsp HREF tag ,
    HrefTag.getDefaultValue() returns null.
    Our hack was to add the following in HrefTag.java.
    if (value==null)
    value=getDefaultValue();
    //===========================
    //IP6 ADDED THE FOLLOWING LINE
    value = (value== null? "":value);
    //============================
    Is that pheasible work-around ? This eliminates the need to add
    defaultValue="" to all HREF tags.
    Also, I might as well point another behavior that we encountered with HREFS.
    In ND, if a HREF's display Field was bound to a column in DataObject and the
    particular record had no value, no URL would be rendered on the page.
    The HTML would look something like this( from memory ):
    <A
    HREF="../AppName/PgMsgMain.hrfSubject_onWebEvent(hrfSubject).994226335140? +
    ND URL STUFF"></A>
    In JATO by default a url get displayed with "null" as the link. ie.
    <a href="../AppName/PgMsgMain?PgMsgMain.hrfSubject= + URL STUFF">null</a>
    Our hack was modify the HrefTag.doEndTag method to not append "null" to the
    buffer.
    if (displayed)
    buffer.append(getBodyContent().getString().equals("null")? "":
    getBodyContent().getString()))
    // IP6 HACK buffer.append(getBodyContent().getString())
    .append("</a>");
    writeOutput(fireEndDisplayEvent(buffer.toString()));
    Is there a better way to do this?
    thanks
    Kostas
    -----Original Message-----
    From: Todd Fast [mailto:<a href="/group/SunONE-JATO/post?protectID=189233080150012190218067203043176090006144139218183041">toddwork@c...</a>]
    Sent: Tuesday, July 03, 2001 12:46 AM
    Subject: Re: [iPlanet-JATO] Parse error in JSP parser in IAS6
    Hey Kostas--
    I personally haven't seen this kind of error. Have you tried simplifying
    the expression inside the href tag? For example:
    <% Object foo =
    viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(
    vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID);
    %>
    <jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true">
    <%= foo %>
    </jato:href>
    Also, is there a different version you could upgrade to? iAS SP3 includes
    the Jasper compiler from Tomcat, which should behave quite differently.
    Todd
    ----- Original Message -----
    From: "Kostas Morfis" <kmorfis@i...>
    Sent: Tuesday, July 03, 2001 12:17 AM
    Subject: [iPlanet-JATO] Parse error in JSP parser in IAS6
    >
    Hi all,
    has anyone come across the following error in iPlanet?
    [02/Jul/2001 12:21:32:1] error: Exception: SERVLET-compile_failed: Failedin
    compiling template: /ras/ras/voyager4/pgAssignmentMatch.jsp, Parse errorin
    JSP parser. Missing endtag: /jato:href
    Exception Stack Trace:
    java.lang.Exception: Parse error in JSP parser. Missing endtag: /jato:href
    at com.netscape.jsp.JSP.parseBlock(Unknown Source)
    at com.netscape.jsp.JSP.parseUserTag(Unknown Source)
    at com.netscape.jsp.JSP.parseTag(Unknown Source)
    at com.netscape.jsp.JSP.parseNext(Unknown Source)
    etc etc.
    We have tested the page in Resin and it works fine.
    It seems the JSP parser has a problem with the following type of HREFtags.
    >
    <jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true"
    defaultValue=""><%=
    viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(com.cb
    >
    re.ras.voyager4.model.vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID)
    %></jato:href></font></td>
    anyone have any suggestions/thoughts/comments ?
    Kostas Morfis
    Senior Consultant
    iRise
    www.iRise.com
    [Non-text portions of this message have been removed]
    [email protected]
    [email protected]

  • InfoPath 2010 form parsing error with 3600 execution timeout value in SharePoint 2010

    Hi,
    I have a list in SharePoint 2010 with 100 columns where 25 of them are calculated columns. This list is designed by InfoPath 2010 with two secondary data connections to pull a few data from another two lists. There are 25 set value rules with the submit
    button in InfoPath from. At present, the list is containing around 1000 items.
    The problem is, when I published the InfoPath form it throws an error:
    The SOAP message cannot be parsed.
    In fact, the execution timeout is set to 3600 in config file. When I delete items from the list and keep it around 700 the InfoPath form publish then.
    Could somebody tell me why this problem and what is the possible solution.
    Thanks in advance.

    Hi pointtoshare,
    According to your description, my understanding is that you got an error when you published InfoPath form.
    Please modify the web.config file like :
    <location path="_layouts/UploadEx.aspx">
         <system.web>
           <httpRuntime maxRequestLength="51200" executionTimeout="300" />
         </system.web>
       </location>
    And modify the <securityPolicy> section like :
    The web.config file is in C:\inetpub\wwwroot\wss\VirtualDirectories\spwebappname.
    There is another reason for this issue, please take a look at :
    http://www.heyweb.net/2011/07/infopath-the-soap-message-cannot-be-parsed/
    Here are some similar posts for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/ea8da113-fe9a-4878-9994-c1f24cc85c37/soap-error-when-publishing-infopath-form-to-sharepoint?forum=sharepointcustomizationprevious
    http://sharepointshah.blogspot.in/2012/11/soap-message-cannot-be-parsed-error.html
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • SSL VPN Problem - ACL Parse Error

    Hi there.
    Testing some features in Cisco ASA SSL VPN(Clientless).
    But when i connect to the portal, trying to login i get the following error, anybody seen this before?
    It works if i ADD a ACL to the DAP, but dosn't if there is only a WEBACL applied??
    It also works if i remove my "check" in "ssl-client" box in the global_policy  (Group Policy).
    6|Mar 20 2014|16:45:09|716002|||||Group <global_policy> User <[email protected]> IP <X.X.X.X> WebVPN session terminated: ACL Parse Error.
    7|Mar 20 2014|16:45:09|720041|||||(VPN-Primary) Sending Delete WebVPN Session message user [email protected], IP X.X.X.X to standby unit
    4|Mar 20 2014|16:45:09|716046|||||Group <global_policy> User <[email protected]> IP <X.X.X.X> User ACL <testcustomer_attribute> from AAA dosn't exist on the device, terminating connection.
    7|Mar 20 2014|16:45:09|720041|||||(VPN-Primary) Sending Create ACL List message rule DAP-web-user-E4EAC90F, line 1 to standby unit
    7|Mar 20 2014|16:45:09|720041|||||(VPN-Primary) Sending Create ACL Info message DAP-web-user-E4EAC90F to standby unit
    6|Mar 20 2014|16:45:09|734001|||||DAP: User [email protected], Addr X.X.X.X, Connection Clientless: The following DAP records were selected for this connection: testcustomer_common_dap
    7|Mar 20 2014|16:45:09|734003|||||DAP: User [email protected], Addr X.X.X.X: Session Attribute aaa.cisco.tunnelgroup = common_tunnelgroup
    7|Mar 20 2014|16:45:09|734003|||||DAP: User [email protected], Addr X.X.X.X: Session Attribute aaa.cisco.username2 =
    7|Mar 20 2014|16:45:09|734003|||||DAP: User [email protected], Addr X.X.X.X: Session Attribute aaa.cisco.username1 = [email protected]
    7|Mar 20 2014|16:45:09|734003|||||DAP: User [email protected], Addr X.X.X.X: Session Attribute aaa.cisco.username = [email protected]
    7|Mar 20 2014|16:45:09|734003|||||DAP: User [email protected], Addr X.X.X.X: Session Attribute aaa.cisco.grouppolicy = global_policy
    7|Mar 20 2014|16:45:09|734003|||||DAP: User [email protected], Addr X.X.X.X: Session Attribute aaa.radius["11"]["1"] = testcustomer_attribute
    6|Mar 20 2014|16:45:09|113008|||||AAA transaction status ACCEPT : user = [email protected]
    6|Mar 20 2014|16:45:09|113009|||||AAA retrieved default group policy (global_policy) for user = [email protected]
    6|Mar 20 2014|16:45:09|113004|||||AAA user authentication Successful : server =  X.X.X.X : user = [email protected]

    If you have implemented SSLVPN i18n then I think you are hitting bug.

  • Since installing the latest update, Firefox will not load; it gives me the following error -- XML Parsing Error: not well formed.

    since installing the latest update, Firefox first operated with some errors but now will not load at all; it gives me the following error --
    XML Parsing Error: not well formed
    locations chrome://browser/content/browser.xml
    Line Number 1191, column 20:
    utton id="back-forward-dropmarker" type="menu" chromedir="&locale.dir;"-------------------
    please note that the words "utton ID" are exactly as the error message gives it; and at the end of the message there are exactly 19 hyphens.
    I don't know why this faulty code is referencing things to do with "chrome"... the Chrome browser is not installed on this PC or anywhere on our network.
    Also, this is not the first problem I had after clicking Firefox's prompt for the latest update. Before Firefox retreated into this error message, it was loading but running with some faults...
    1. the bookmark symbol was not appearing on the right hand side of the URL line, so I had always to click on "bookmark this page", after which the bookmark symbol did appear; however I don't know if the bookmarking function worked properly.
    2. the back and forward buttons were not highlighted, as if I had not come from a previous page; so once I clicked on a link to a new page I could not go back to where I came from because Fiefox thought I hadn't come from anywhere.
    3. there may have been other errors, but I did not find them.
    How do I reinstate my Firefox program to work properly please? do I have to download the latest version and reinstal? if so, do I have to remove the old version first? or is there a fix?
    Even to write this message I have been forced to use (yuk -- I don't like to say this!!!) Internet Explorer. So please -- I need help urgently.
    Thanks,
    NOEL

    Some how I solved my problem by opening a user account and downloading Firefox 4.0 beta and installing it, I did try it, worked fine, so I did close the user account and did go back to my own account(switched user), the main page that I had problem with Firefox which would not open, I dabble click on Firefox it start working again!! I hope that solves your problem too.
    firefox will not open, it gives me this cod and would not turn off, Error on switching in renew: NS_ERROR_UNEXPECTED, Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref] id: none

  • Weird Parsing Error in Safari 5.0

    I've just updated my web browser to Safari 5.0 and I'm in a "Introduction to JavaScript" class. I'm trying to do a lab which:
    1). Creates a website that includes: - Your name (First and Last)
    2). Sets up a unordered list with Three links to your favorite websites
    The problem is that though my code works in Firefox, I keep getting a Syntax Error: Parse Error at line 15 (Where the document.write statement outputs a unordered list of "a href" url links). I'm at wits end and the syntax seems fine. Does anyone have any suggestions? Oh, by the way here's my code for the lab:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Lab1</title>
    <script type="text/javascript">
    //Prompts for my name
    var userName = prompt("Please enter your name");
    document.write (userName);
    //displays my picture and my favorites places in HTML
    document.write("<br />");
    document.write("<img src='mygradpic.jpg'/>");
    document.write("<br />");
    document.write("My Favorite Places");
    document.write(<ul>
    <li><a href="http://www.seattle.gov/parks/park_detail.asp?ID=307">Greenlake Park in Seattle,WA</a></li>
    <li><a href="http://www.cinerama.com/TemplateHome.aspx?contentId=1">Cinerama Theatre in Downtown Seattle</a></li>
    <li><a href="http://www.spl.org/">The Seattle Public Library</a></li>
    </ul>);
    </script>
    </head>
    <body>
    </body>
    </html>

    This is a syntax error:
    document.write(
    Greenlake Park in Seattle,WA
    Cinerama Theatre in Downtown Seattle
    The Seattle Public Library
    ... because the argument isn't a string. That should be:
    document.write('
    Greenlake Park in Seattle,WA
    Cinerama Theatre in Downtown Seattle
    The Seattle Public Library
    ... note that the argument is enclosed in single-quotes an the carriage returns are removed. That said, your intro to JavaScript class should teach you that document.write() is poor form.

Maybe you are looking for

  • My labtop can't detect C7 after the latest ovi sui...

    hi all,  i' cant connect my C7 to nokia ovi sute on my laptop any more after the latest updat. although it was working just before update. any advice?

  • Copying sales order from one company code to other

    Hi, I am trying to copy one sales order data from one company code to another, all the details should be same other than the company code and some fields , for this I am using std BAPI Getdetail to get all the details of sales order and passing to BA

  • Unable to install CS5 Master Collection, No Product Code In Box

    Hello, I purchased my copy of CS5 Master Suite several months ago from Academic Superstore.  I did not install it right away because of issues with my laptop(MacBook Pro mid/late 2009).  Yesterday I tried to install the software but was unable to.  O

  • RESTful Service Search Parameters

    Hello, I am using APEX 4.2.2 .. with Listener 2.0.3 I want to expose  data in EMP table as RESTful Service with parameters: The source is: Source Type :SQL query . Format: JSON select * from emp where (:job IS NULL OR job = :job) and (:ename is null

  • Is there a way to do a batch "add keyword" in iPhoto 09?

    I use it for digital scrapbooking and I download "kits" that may have papers, elements, alphas, etc. I would like to be able to select all the paper and just add the keyword "paper" to all of them at once and then go back if I want and add more speci