/usr/bin/bash[34]: syntax error at line 40 : `set' unexpected

Hi All
I would like to install Oracle Database 11gR1 On Solaris 10
When I run root.sh command, I confused to input path
*# cd /home/oracle11/app/oracle11/product/11.1.0/db_1*
*# ./root.sh*
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle11
ORACLE_HOME=  /usr2/home/oracle11/app/oracle11/product/11.1.0/db_1
*Enter the full pathname of the local bin directory: [usr/local/bin]:/usr/bin/bash*
I have inputed "/usr/bin/bash"
Now I can not run bash on Solaris 10.
*# bash*
bash[34]: syntax error at line 40 : `set' unexpected
Please help me!
Thankyou and best regards,
thiensu2810

Hi
Output of "$ find /usr -name bash 2>/dev/null" is
*# find /usr -name bash 2>/dev/null*
*/usr/bin/bash*
*# less /usr/bin/bash*
+###################################+
+#+
+# $Header: coraenv.sh 17-may-2007.08:31:33 jboyce Exp $ coraenv+
+#+
+# Copyright (c) 1987, 2007, Oracle. All rights reserved.+
+#+
+# This routine is used to condition a C shell user's environment+
+# for access to an ORACLE database. It should be installed in+
+# the system local bin directory.+
+#+
+# The user will be prompted for the database SID, unless the variable+
+# ORAENV_ASK is set to NO, in which case the current value of ORACLE_SID+
+# is used.+
+# An asterisk '*' can be used to refer to the NULL SID.+
+#+
+# 'dbhome' is called to locate ORACLE_HOME for the SID. If+
+# ORACLE_HOME cannot be located, the user will be prompted for it also.+
+# The following environment variables are set:+
+#+
+# ORACLE_SID Oracle system identifier+
+# ORACLE_HOME Top level directory of the Oracle system hierarchy+
+# PATH Old ORACLE_HOME/bin removed, new one added+
+# ORACLE_BASE Top level directory for storing data files and+
+..................................+
+.................................+
else
if (-e $ORABASE_EXEC) then
if (-x $ORABASE_EXEC) then
set BASEVAL=`$ORABASE_EXEC`
setenv ORACLE_BASE $BASEVAL
echo "The Oracle base for ORACLE_HOME=$ORACLE_HOME is $ORACLE_BASE"
else
echo "The $ORACLE_HOME/bin/orabase binary does not have execute privile
ge"
echo "for the current user, $USER.  Rerun the script after changing"
echo "the permission of the mentioned executable."
endif
else
setenv ORACLE_BASE $ORACLE_HOME
echo "The Oracle base for ORACLE_HOME=$ORACLE_HOME is $ORACLE_BASE"
endif
endif
+#+
+# Install local modifications here+
+#+
thank,
thiensu2810

Similar Messages

  • ./preinstall-core: syntax error at line 1: `(' unexpected

    I am installing Iplanet Webserver and I am getting this error during
    install:
    ../preinstall-core: syntax error at line 1: `(' unexpected
    ERROR. Failure installing Server Core. Do you want to continue [n]?
    Thanks,
    Joe

    Hi,
    Are you doing a silent install or custom one or typical what is the
    version ? is this a test drive or a enterprise edition ?. I think it's
    best to post this question in iWS newsgroup where you can find better
    answers quickly because this is iAS news group.
    Regards
    Raj
    Ham Damit wrote:
    I am installing Iplanet Webserver and I am getting this error during
    install:
    ./preinstall-core: syntax error at line 1: `(' unexpected
    ERROR. Failure installing Server Core. Do you want to continue [n]?
    Thanks,
    Joe

  • Authentication error with shell=/usr/bin/bash

    Hello there,
    I'm comfortable with linux, but new with Arch Linux. Recently I completed an installation with success but I ran into a strange authentication error at login.
    Before adding a user I verified the path of the bash shell and 'which bash' returned /usr/bin/bash.
    So I added a user with shell /usr/bin/bash and the line in /etc/passwd reads similar to:
    newuser:x:1000:100:His name:/home/newuser:/usr/bin/bash
    With this line I get an authentication error from login
    And when I change the shell to /bin/bash, the user is able to login with success.
    I have found similar problem reports, but not this solution.
    I hope to get some help with understanding this issue, to me it seems wrong to point the shell in /etc/passwd to a symbolic link.

    Thank you very much, falconindy.
    My first reaction is "But what if /usr becomes inaccessible", also /bin/sh is a symlink.
    But I guess with rescue options from initramfs or live CD/usb, this is not a big issue anymore.
    I have added /usr/bin/bash to /etc/shells.
    Last edited by wilbert-vb (2013-05-18 12:55:45)

  • Syntax error at line 32 : `if' is not matched

    Hi,
    Submitting concurrent program with host (.prog file)executable to send an email with concurrent program out file for support.
    given full execution permissions and created soft link.
    code in .prog file:
    LOGIN=$1
    REQUEST_ID=$4
    PREQUEST_ID=$5
    SUBJECT=$6
    BODY=$7
    MAIL_ID=$8
    OUT_FILE=$APPLCSF/$APPLOUT/o$4.out
    echo $OUT_FILE
    DATE=`date`
    echo $DATE
    CONC_OUT_FILE=$APPLCSF/$APPLOUT/o$5.out
    echo $CONC_OUT_FILE
    test -f CONC_OUT_FILE
    if [ $? -ne 0 ]
    then
    echo "Error Unable to find the output file........"
    exit 2
    else
    mailx -s "$SUBJECT" $MAIL_ID<$CONC_OUT_FILE
    echo "Succesfully E Mailed Output file to finance IT support team........"
    exit 0
    fi
    Getting concurrent program output (error):
    /app/r11i_off/comn/admin/out/R11i_OFF_finoffdb/o6936738.out
    Thu Feb 2 02:44:14 EST 2012
    /app/r11i_off/comn/admin/out/R11i_OFF_finoffdb/o6935861.out
    /app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT.prog[29]: ^M: Execute permission denied.
    /app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT.prog[31]: ^M: Execute permission denied.
    /app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT.prog[32]: Syntax error at line 32 : `if' is not matched.
    /app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT
    Program exited with status 126
    Please give me suggestion to resolve this issue.
    Regards,
    Neeraja.

    Please post the details of the application release, database version and OS.
    /app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT.prog[29]: ^M: Execute permission denied.
    /app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT.prog[31]: ^M: Execute permission denied.Please make sure you have permission set correctly.
    /app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT.prog[32]: Syntax error at line 32 : `if' is not matched.
    /app/r11i_off/custom11i/ar/bin/CARMAILPRGOUT
    Program exited with status 126Change "if [ $? -ne 0 ]" to "if [ $? -ne 0 ];" and see if this helps.
    Thanks,
    Hussein

  • PAM doesn't like /usr/bin/bash set as shell

    Can anyone explain why PAM is fine with /usr/bin/zsh set as login shell but not /usr/bin/bash.  For bash it must be set to /bin/bash.
    Should I file a bug report?
    Here is an example https://bbs.archlinux.org/viewtopic.php?pid=1454302
    By default the archiso has /usr/bin/zsh set as the root login shell.  Line 10: https://projects.archlinux.org/archiso. … irootfs.sh

    qwerty12 wrote:I haven't bothered testing this hypothesis, but my guess is that it is because /etc/shells has entries for both /bin/zsh and /usr/bin/zsh but only /bin/bash for bash.
    To test your hypothesis, I added /usr/bin/bash to /etc/shells and changed the login shell. 
    I was still blocked by PAM from logging in with ssh.

  • SQL*Loader-350: Syntax error at line 5.

    Hi ,iam  new for  using  sql*loader, with minimum  understanding from  the forums,Iam  trying  to load data  from a flat  file (.dat) to oracle database.
    here  is  my  .dat file-------> data_file.dat
    aaaa, mumbai
    bbbb,kolkat
    here is  my  .ctl fle ------->ctrl_file.ctl
    load data 
    infile 'F:\oracle_utils_kiranorcl\KIR_ORA_DIR\emp_data.dat'
    into table  test
    fields terminated by  ","
    ( NAM  varchar2(12),
    PLACE varchar2(8)
    here  is  db_tab_name  structure 
    create table test (nam Varchar2(15),place Varchar2(10));
    SQL> select *  from  test;
    NAM             PLACE
    now.......
    iam  running  the command on  cmd window on  os  level
    F:\app\NANDAN\product\11.2.0\dbhome_1>sqlldr userid=kiranmai/kiranmai@kiranorcl control=F:\oracle_utils_kiranorcl\KIR_ORA_DIR\emp_data.ctl log=F:\oracle_utils_kiranorcl\KIR_ORA_DIR\emp_data.log bad=F:\oracle_utils_kiranorcl\KIR_ORA_DIR\emp_data.bad
    when  i run this  above command ,I get  an  error,
    SQL*Loader-350: Syntax error at line 5.
    Expecting "," or ")", found "varchar2".
    ( NAM varchar2(12),
           ^
    I  tried so many  times by creating  new ctl  files further. But  couldn't  able get  what  is  the  wrong  thing  ????
    Please help me ..
    Thanks

    Instead of:
    fields terminated by  ","
    ( NAM  varchar2(12),
    PLACE varchar2(8)
    try:
    fields terminated by  ","
    ( NAM  char,
    PLACE char

  • Syntax error in line 1.

    When I post to my hosting company that I have had for years, I get a syntax error in line one every time. I have posted to my ISP's "free web space" and it works fine. Has anyone else had this problem, and if not where do you host? I am using ITX hosting and it just won't work with iWeb. When I called Customer Support they told me to use Dreamweaver, but I think that it is about $400 too expensive.
    Thanks in advance,
    Mike

    When I post to my hosting company that I have had for years, I get a syntax error in line one every time.
    Their server is probably misconfigured. Here is a note on the subject. It's pretty rare, but often the people in charge don't understand it or won't change it.
    http://homepage.mac.com/thgewecke/parsingerror.html

  • SQL*Loader-350: Syntax error at line 1.

    I am getting an systax error saying :
    SQL*Loader-350: Syntax error at line 1.
    Expecting keyword LOAD, found "ï".
    What could be the prob ??

    description of the control file :
    LOAD DATA
    APPEND INTO TABLE TEST_UPDATE
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    (STATUS constant 3,
    CID sequence (count),
    SUBJECT_ID constant 0,
    PNO "RTRIM(LTRIM(:PID))",
    FREQ NULLIF VISIT = BLANKS,
    INV "RTRIM(LTRIM(:INV))",
    PNUM NULLIF PAGENUM = BLANKS,
    VDT DATE "DD/MM/YYYY HH24:MI:SS"
    NULLIF VISIT_DATE = BLANKS,
    MKEY "RTRIM(LTRIM(:MASTERKEY))",
    DKEY "RTRIM(LTRIM(:DETAILKEY))")
    I found a sysntax error for this. Plz suggest.

  • Error when i try to create a panorama pic. in Ps. i got this message : Error 8: Syntax error. Line: 132 -   args.putEnumerated( keyMode٬ typeBlendMode, enumDarken );

    when i try to create a panorama pic. in Ps. i got this message : Error 8: Syntax error. Line: 132 -> args.putEnumerated( keyMode٬ typeBlendMode, enumDarken );
    everything with last updated the OS , Java , and PS version .
    any help pls

    What software are you using? PS version. OS version etc. Also check you have all the updates for your version of Photoshop installed.  That your only selecting image files to be stitched. That a javsscript error message from one of the  Stack Script Only that get used when you use Photoshop Photomerge Script.

  • Is /bin/sh must link to /usr/bin/bash?

    I'm building Arch Linux on embedded system which CPU is sh4.
    I found there is a problem of bash package.
    It creates /bin/sh as a symbolic link to /usr/bin/bash.
    But my /bin/sh is busybox.
    1. I'm wonder how could I keep /bin/sh to busybox's /bin/sh? Or, it could set on pacman.conf?
    2. Could my root account still use 'sh' as its shell? I wish busybox could still exist as the basement.
    3. Is makepkg or yaourt based on root's shell must be bash?

    Thank you Allan,
    I have this question is because /usr/bin/bash require many dynamic library and I just failed login my embedded system after upgrade bash with pacman -Udd option.
    Am I right of the following assumption (Sorry, I can not 100% understand your meaning, require double confirm.).
    1. I can keep my root's shell as /bin/sh (it's busybox version).
    2. I can config pacman to use /bin/bash for install (I've compiled brand new pacman)
    3. makepkg have forced to use /bin/bash for install
    BTW, I found it is required bash 4.0 (declare function)  My embedded system's original linux only provide bash 3.0.  So, it took me a while to prepare bash 4.0.
    Last edited by dlin (2013-01-31 06:42:22)

  • CS4 - a syntax error on line 27 of list.js.php

    I am getting a message
    "There is a syntax error on line 27 of list.js.php. Code
    hinting may not work untill you fix this error"
    Does anyone have a fix?

    > The file I refer to "list.js.php" is generated by
    dreamweaver
    > It is located in includes/nxt/scripts/
    What operation causes it to be generated? I have never seen
    DW create such
    a file.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "The Wackonerd" <[email protected]> wrote in
    message
    news:gifvsr$5di$[email protected]..
    >
    quote:
    > So, just suggesting that you try naming the file without
    multiple dots,
    > but use a single dot for the extension signifying the
    file type you
    > think DW should recognize. Perhaps an underscore for
    deliniating to
    > human eyes what the file may reference, but is not. ie:
    list_js.php
    >
    >
    > The file I refer to "list.js.php" is generated by
    dreamweaver
    > It is located in includes/nxt/scripts/
    >
    >
    >
    >

  • /usr/bin/bash runs a new shell where PS1 is not set

    When I execute the command bash in my terminal, it opens a new shell which properly reads all bashrc contents. But when I run /usr/bin/bash, then it is as if  $PS1 is not set and those parts in my bashrc that are supposed to used only for interactive shells are not read at all.
    The weird part is running which bash gives /usr/bin/bash. So, I'm not able to figure out why running bash and /usr/bin/bash produce different results. Also, although it appears as if $PS1 is not being set (based on reading of my bashrc), the prompt is still being set.
    Can anyone explain why this variation is happening?
    PS: Not sure if this matters, but my bashrc is not in the default location. It is in ~/.config/bash and I've modified my /etc/bash.bashrc to source the local bashrc from the custom location.
    Last edited by hashken (2015-04-15 13:19:03)

    Does the behaviour persist if you move .bashrc back to the conventional location?
    Yeah, the behaviour persists even after moving back bashrc.
    The contents of my /etc/bash.bashrc file:
    # /etc/bash.bashrc
    # If not running interactively, don't do anything
    if [[ ! $- != *i* ]]; then
    PS1='[\u@\h \W]\$ '
    PS2='> '
    PS3='> '
    PS4='+ '
    case ${TERM} in
    xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
    screen)
    PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
    esac
    [ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
    fi
    XDG_CONFIG_HOME=$HOME/.config
    XDG_CACHE_HOME=$HOME/.cache
    XDG_DATA_HOME=$HOME/.local/share
    if [ -f "$XDG_CONFIG_HOME/bash/bashrc" ] && [ "$0" = "bash" ]; then
    . "$XDG_CONFIG_HOME/bash/bashrc"
    fi
    if [ -f "$XDG_DATA_HOME/bash/history" ] && [ "$0" = "bash" ]; then
    HISTFILE="${XDG_DATA_HOME}/bash/history"
    fi
    The contents of my bashrc file:
    if [ -f $XDG_CONFIG_HOME/bash/xdg ]; then
    . $XDG_CONFIG_HOME/bash/xdg
    fi
    if [ -f $XDG_CONFIG_HOME/bash/private ]; then
    . $XDG_CONFIG_HOME/bash/private
    fi
    # If not running interactively, don't do anything else
    if [ -z "$PS1" ]; then
    PATH=$PATH:$HOME/bin/others
    return
    fi
    #test "$PS1" || return
    if [ -f $XDG_CONFIG_HOME/bash/colors ]; then
    . $XDG_CONFIG_HOME/bash/colors
    fi
    if [ -f $XDG_CONFIG_HOME/bash/general ]; then
    . $XDG_CONFIG_HOME/bash/general
    fi
    if [ -f $XDG_CONFIG_HOME/bash/aliases ]; then
    . $XDG_CONFIG_HOME/bash/aliases
    fi
    if [ -f $XDG_CONFIG_HOME/bash/functions ]; then
    . $XDG_CONFIG_HOME/bash/functions
    fi
    if [ -f $XDG_CONFIG_HOME/bash/completion ]; then
    . $XDG_CONFIG_HOME/bash/completion
    fi
    What makes you think $PS1 is not being set if the prompt is correct?
    Both bash/xdg and bash/private are getting sourced. But when I run /bin/bash, the other files (colors, general, aliases etc.) are not getting sourced. Since, I'm doing a $PS1 test before sourcing these files, I concluded that $PS1 is not being set.

  • "There is a syntax error on line .. Code hinting may not work untill you fix this error"

    Hi guys, i hope your are all well and happy.
    i have syntax error on new pages created from template  (no errors in template) I use Dreamweave CS5
    Thiis is part of my code:
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>| Building and Construction services | Maintenance services | Cleaning services | Buildant Ltd |</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    <link href="file:///D|/Local Sites/Buildant/CSS/buildant.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    </head>
    I have highlited line with red (the dreamweaver telling me that syntax error is on this line)
    Could anybody please help mw with this one
    Thank you

    I copy and pasted your code and got the error. I rewrote the code and it went away. I have had problems in DW with templates that gave me errors when everything was good but the only way to fix it was to redo the template from scratch. Sounds stange, but true. The only other thing, and the experts here might chime in is to put the scripts in comment tags like below.
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>| Building and Construction services | Maintenance services | Cleaning services | Buildant Ltd |</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <link href="file:///D|/Local Sites/Buildant/CSS/buildant.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    I don't get the error now, so I am unsure what to do.
    Jim

  • There is a syntax error on line 25. Code hinting may not work until you fix this error.

    Hello everyone. New to the forums and been enjoying Dreamweaver CS5's powerful capabilities up until this point. I'm a little new to PHP, and having a little trouble. I will link the PHP syntax for you guys to take a look at. What I'm trying to make is a PHP file that sends an email for a refer a friend type form. This is line 16-34. Lines 25 and 29 are highlighted red. I'm a bit confused as to the errors given here, so any help would be greatly appreciated. I understand there's no email address in the $to string, I took it out for privacy's sake. Thanks in advance!
    <?php
        $yourname = $_POST('yourname');
        $youremail = $_POST('youremail');
        $friendsname = $_POST('friendsname');
        $friendsemail = $_POST('friendsemail');
        $other = $_POST('other');
        $to = '';
        $subject = 'Refer a Friend from Whimsical Practicality'
        $msg = "$yourname recommended Whimsical Practicality to $friendsname.\n" .
               "Customer's email address: $youremail\n" .
               "Friend's email address:      $friendsemail\n" .
               "Customer used this description: $other"
        mail($to, $subject, $msg, 'From:' . $yourname);
        echo 'Thanks for recommending us!<br />';
        echo 'Your recommendation has been sent.<br />';
        echo 'Please use the Back button to return to the previous page.<br />';      
    ?>      

    Try PHP Code Checker.
    http://phpcodechecker.com/
    Nancy O.

  • "There is a syntax error on line 18."

    I'm not sure why I'm getting this error. I'm getting it where I have an optional, editable region.
    Can any one else see it? Here's the code:
    <!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/screen.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Website</title>
    <!-- InstanceEndEditable -->
    <link href="../../css/desktop.css" rel="stylesheet" type="text/css" media="screen" />
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    <!-- InstanceParam name="breadCrumbs" type="boolean" value="false" -->
    <script type="text/javascript">
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    </script> <!-- Here is line 18, where the error pops up... a script error I suppose? -->
    </head>
    Can any one else see the error?

    I don't know much about this but if you use the CDATA thingy, the code will validate:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <!-- InstanceBegin template="/Templates/screen.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><!-- InstanceBeginEditable name="doctitle" -->
    <title>Website</title>
    <!-- InstanceEndEditable -->
    <link href="../../css/desktop.css" rel="stylesheet" type="text/css" media="screen" /><!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    <!-- InstanceParam name="breadCrumbs" type="boolean" value="false" -->
    <script type="text/javascript">
    //<![CDATA[
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    //]]>
    </script>
    </head>
    I think that all it does is make it clear to the browser that the code is not XHTML and prevents it from being parsed.  Another way to get around it is to put your script in an external file.
    I'm not sure that it matters that much but we might get an expert to give an opinion.
    Martin
    http://stackoverflow.com/questions/7092236/what-is-cdata-in-html

Maybe you are looking for

  • $Web.AssociatedGroups is not returning correct results

    Hi all, I have a script that syncs AD Groups to SharePoint Groups. If you ask me why, because SharePoint works better with Users in SharePoint Groups, not AD Groups (Workflows and other stuff like Site Mailbox). But this is not the Point, I am strugg

  • Adobe Acrobat X Pro on Mac does not select duplex print by default

    I have Adobe Acrobat X Pro 10.1.8 for Mac. When I print a document, Acrobat does not select duplex print (i.e. "Print on both sides") by default. While I can manually select duplex print, I don't understand why this isn't the default option here as i

  • Patch 1909556 Errors

    I have 2 questions in connection with the Patch 1909556 which I applied to my Portal 3.0.9.8 instance: 1) I want to clean the transport tables completely. I ran the command exec.wwutl_tx_api.truncate_transport_tables. But when I try to run the applic

  • Using ROW_NUMBER()

    Hi, I already know the following query is working ( will return 1762 rows) SELECT A.TNP_TRACK_ID, A.USER_ID, NVL(A.DELETED,0) DELETED, A.CREATE_TIME, A.DELETE_TIME,B.PRODUCT_CODE, C.LOGIN_NAME from MISPNA.TNP_TRACKABLE_201210 A,TMP_VRZ_LATEST_SOC B,M

  • I'm loosing my network signal with my carrier.

    I can actually physically see the tower.  The only way to re-establish the connection is to reset the network.  Is there something wrong with my phone?