Why this small piece of code work

A small piece of code, but get an error. What I'm missing here.

Here is the error message:
Invalid CFML construction found on line 27 in column 67.
ColdFusion has been looking at the following:

LTE

The CFML compiler treated:

* an expression starting with "#", on line 27, column 11. This message is usually caused by a problem in the structure of expressions.
* The body at the beginning of on line 24, column 2 cfoutput tag.

who did it, thanks

Tags: ColdFusion

Similar Questions

  • Debug a small piece of code

    I'm working on a few scroll arrows that move a Clip up and down before they reached their maximum length. It works to move the clip to the top, but it does not stop at the maximum height, but retains the right to go. Here is the code from the image:

    topspan = - 560;
    bottomspan = 7.8;
    ValeurDeplacement = 10;



    Here is the code for the button:

    on {(overview)
    If (_root.predes._y > topspan) {}
    onEnterFrame = function () {}
    _root. PREDES._y = _root.predes._y - ValeurDeplacement;
    trace ("PREDES Y:" + _root.predes._y + "is superior to" + topspan);
    }
    } else {}
    onEnterFrame = null;
    }
    }

    (deployment, dragOut, releaseOutside) {}
    onEnterFrame = null;
    }


    The trace command shows me what is happening. _root. PREDES._y gets lower and lower, until finally she is less than topspan. At this point, it should make the statement "else" and onEnterFrame set to null. But it is not that. Instead, I get a trace statement that says "PREDES Y:-662.2 is greater than-560.

    Dragout/deployment/releaseoutside code works very well.

    Thank you, Craig. (The temptation to hit my forehead and scream "duh" is overwhelming).

  • Why this simple trigger does not work?

    For one of our Test environments, I was asked to implement a trigger which limits users based on ip.
    IP addresses of eligible users is stored in the maint.ip_dtls table. But, does not seem the trigger to trigger the application error and reject the connection when a user with an IP address that is not present in the table ip_dtls try to connect.
    create or replace trigger sys.testlogon after logon on database
    declare
    v_ipadd varchar2(100);
    ip_exists number;
    
    begin
    -- Getting the IP
    select sys_context('USERENV','IP_ADDRESS') into v_ipadd from dual ;
    select count(*) into ip_exists from maint.ip_dtls where ip = v_ipadd;
    
    if ip_exists = 0
       then raise no_data_found;
    end if;
    
    exception
    when no_data_found then
    raise_application_error (-20103, 'Insufficient privileges to login');
    
    end ;
    /
    The code works when tested from an anonymous block.

    Published by: Steve_74 on November 25, 2010 06:36

    Probably the fact that you create the trigger in the SYS schema could cause problems.
    Have you tried to create the trigger in another schema/as another user?
    SYS (and SYSTEM) belong to Oracle, and you should not create objects in the schema.

    Edit
    See:
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:3236035522926

    Published by: hoek on November 25, 2010 15:53

  • Why this UL CSS does not work as expected

    I try to add a picture as a bullet in a UL, but just appears on a start page, it will be in a standard HTML5 page.

    Here is the code in the start page:

    {.bluesquare}

    list-style - image: URL(images/bullet.png);

    }

    < side class = "col-lg-4 4-md-col col-sm-4 mtop" >

    < section class = "greypnl" >

    < ul class = "bluesquare" >

    < li > links side here < /li >

    < li > links side here < /li >

    < /ul >

    < / item >

    < / side >

    Here's the code in a HTML5 page:

    {.bluesquare}

    list-style - image: URL(images/bullet.png);

    }

    < side class = "col-lg-4 4-md-col col-sm-4 mtop" >

    < section class = "greypnl" >

    < ul class = "bluesquare" >

    < li > links side here < /li >

    < li > links side here < /li >

    < /ul >

    < / item >

    < / side >

    There is no difference between the two that I see, so preventing it from working?

    I can only get the image to appear as the point of the ball when I add an inline style to the AMT itself as follows: < ul class = "bluesquare" style = "list-style - image: url(images/bullet.png);" ">.

    No matter what control of image for the chip set could only inline code as follows: < style li = "background: url(images/bullet.png) non-repetition 0px 0px;" padding: 0 0 5px 30px; ">

    Any thoughts on what is predominant images of ball in a start page layout? I don't really want to encode each ball that will appear like this!

    Thank you.

    I just did a test using Bootstrap and everything worked as expected - hand coded. Nothing in the Bootstrap css file overides the ball style here.

  • Why this CASE statement would not work?

    If I use a CASE in my SELECT statement and met a strange thing and just need help to understand why he did it.

    When I type this, it does not work:

    CASE TRIM (Column1)
    WHEN NULL THEN Column2
    WHEN 'foo' THEN Column2
    Of ANOTHER Column1
    END AS NewColName

    I use this query in an Oracle procedure to insert data into another table. The data inserted in the column of NewColName end up being 4 empty spaces, located in Column1. In the logic of this, TRIM must remove all the empty spaces, and he should get mapped to the first statement WHEN, who must insert the value of Column2, but that does not occur. I tried the following versions of the first line as well:

    LTRIM (RTRIM (Column1)) CASE
    CASE of REPLACE (Column1, ' ', ")

    and they all produce the same result. I also tried to change WHEN NULL for WHEN " and it changed nothing. However, when I rewrite the statement in this way it works the way it should:

    CASE
    WHEN TRIM (Column1) IS NULL, Column2
    WHEN TRIM (Column1) = 'foo' THEN Column2
    Of ANOTHER Column1
    END AS NewColName

    In my mind, it seems that these two methods are trying the same thing, why we could work and the other not? Only, it has no sense to me.

    Thank you

    Hello

    Welcome to the forum.

    In your first statement, you have

    WHEN NULL THEN.

    This is the same as x = NULL.

    Nothing is never equal to NULL, if you find yourself in your ELSE clause.

    Concerning
    Peter

  • Can someone tell me why this refund calculator does not work on Business Catalyst?

    Hi, I hope someone can see what is happening here, I don't know if it's a matter of Business Catalyst or a code issue itself, which I think is not.

    Pretty easy fix, you forgot to download jquery - 1.8.2.min.js and modernizr - 2.6.2.min.js

  • Repeat the small piece of code 1-100 hundred times with each code with a different instance name?

    Hi, here is a part of my code:

    player_mc.onEnterFrame = function() {}

    If (enemy0.hitTest (this)) {}

    enemy0. Speed = 0;

    } else {}

    enemy0. Speed = 1;

    }

    If (enemy1.hitTest (this)) { }

    enemy1. Speed = 0;

    } else {}

    enemy1. Speed = 1;

    }

    };

    Note the Red code, I need to repeat an unknown quantity still, but with the number on the end of the enemy incremented by 1 each time. It starts with 0 as you can see the code just above the red. I've heard for loops using 'i' but I'm not sure how to use. Please help and explain if possible. Thanks for reading and/or you answer.

    Edit: ah, this forum is not to let me highlight red. This editor is also a failure. Well, when I say code red this code:

    If (enemy1.hitTest (this)) {}

    enemy1. Speed = 0;

    } else {}

    enemy1. Speed = 1;

    }

    You can use a for loop but you should have the number of enemies available somehow.   To be able to target the many enemies by using the same code in a loop, the notation vracket is used as a string value is interpreted as an object...

    player_mc.onEnterFrame = function() {}

    for (i = 0; i

    If (_root ["enemy" + i] .hitTest (this)) {}

    _root ["enemy" + i] .speed = 0;

    } else {}

    _root ["enemy" + i] .speed = 1;

    }

    }

    }

    This code assumes that the enemies are on the main timeline.  Will they live elsewhere then you need to adjust the targeting

  • Why this small display window reappear when I hit the tab key?

    I am a user of Windows 7. All of a sudden, when I hit the "Tab" key or dash, this little window reappear in the middle of my office to show me what is open! Can someone please help me to make this thing go! I use the tab key all the time when I have a filling out forms.

    Thank you!

    Looks like your ALT key is stuck. It's a laptop?

  • Why this piece of code does not work?

    Hello everyone, I am new to HTML and web design, and I'm doing a website. I created this piece of code so that when the user mouse over one of the links (jpg image) it will change the colors (I have the same image in different colors saved in the same folder).

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    " < html xmlns =" http://www.w3.org/1999/xhtml ">
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"
    < title > < /title > XXXXXXXXXX
    < / head >

    < body bgcolor = "#000000" >
    < table width = "1050" border = "0" align = "center" cellpadding = "0" cellspacing = "0" >
    < b >
    < td > < table width = "1050" border = "0" cellspacing = "0" cellpadding = "0" >
    < b >
    < td > < img src = "_images/XXXXbanner.jpg" width = "1050" height = "311" alt = "banner" / > < table > "
    < /tr >
    < /table >
    < table width = "901" border = "0" align = "center" cellpadding = "0" cellspacing = "0" >
    < b >
    < td width = "150" > < a href = "index.html" Mm_swapimgrestore"onMouseOver =" MM_swapImage ('ButtonOne' ", ' _images/home_on.jpg', 1)" > "
    < img name = "ButtonOne" border = "0" src = "_images/home.jpg" width = "150" height = alt "75" = "home" / > < /a > < table > "
    < td width = "150" > < a href = "gallery.html" Mm_swapimgrestore"onMouseOver =" MM_swapImage ('ButtonTwo' ", ' _images/gallery_on.jpg', 1)" > "
    < img name = "ButtonTwo" border = "0" src = "_images/gallery.jpg" width = "150" height = "75" alt = "Gallery" / > < /a > < table > "
    < td width = "150" > < a href = "products.html" Mm_swapimgrestore"onMouseOver =" MM_swapImage ('ButtonThree' ", ' _images/product_on.jpg', 1)" > "
    < img name = "ButtonThree" border = "0" src = "_images/product.jpg" width = "150" height = "75" alt = "products" / > < / a > < table > "
    < td width = "150" > < a href = "store.html" Mm_swapimgrestore"onMouseOver =" MM_swapImage ('ButtonFour', ", ' _images/shop_on.jpg', 1)" > "
    < img name = "ButtonFour" border = "0" src = "_images/shop.jpg" width = "150" height = "75" alt = "store" / > < /a > < table > "
    < td width = "150" > < a href = "profile.html" Mm_swapimgrestore"onMouseOver =" MM_swapImage ('ButtonFive' ", ' _images/profile_on.jpg', 1)" > "
    < img name = "ButtonFive" border = "0" src = "_images/profile.jpg" width = "150" height = "75" alt = "profile" / > < / a > < table > "
    < td width = "151" > < a href = "contactus.html' Mm_swapimgrestore" onMouseOver ="MM_swapImage ('ButtonSix',", ' _images/contact_us_on.jpg', 1) ">"
    < img name = "ButtonSix" border = "0" src = "_images/contact_us.jpg" width = "150" height = "75" alt = "contact" / > < /a > < table > "
    < /tr >
    < /table >
    < table width = "1050" border = "0" cellspacing = "0" cellpadding = "0" >
    < b >
    < td > < table >
    < td > < table >
    < td > < table >
    < /tr >
    < /table >
    < p > < / p >
    < p > < /p > < table >
    < /tr >
    < /table >
    < / body >
    < / html >

    images and the banner appear thin and I do not have mistpyed one of the names of places/file. Why the icon does not change the colors (show image 'on') when you pass the mouse over it? Please help thanks in advance.

    * I use Adobe Dreamweaver CS4

    The head of your page contains no MM_swapImgRestore() or MM_swapImage() functions that are called by your code.

    Not sure how you have added the Beahviors yoru page.  If you have used the window of behaviours, DW should have added scripts to yoru page for you.  If you have added the code manually, then you will need to add the scripts manually.  But the easiest thing would be to simply add the behaviors of another link on the page, even a dummy, you can remove later.  This should get the scripts in the head for you.

    --

    E. Michael Brandt

    www.divaHTML.com
    www.divahtml.com/Products/scripts_dreamweaver_extensions.php
    According to the standard scripts and the Dreamweaver Extensions

    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, and alia

    --

  • Why my AS3 code working in 1 project, but not in another?

    I had a small project by working with simple buttons that worked very well. I had to restore my project and now it does not work. Ive cut all new code that I added and it did not work. I made a completely new project and copied the layers I'm testing and just the code that had the first working draft and it did not work either. any suggestions on why this might happen?

    This can be a bit of a twist when it comes to understand because this is what I consider an anomaly of the Flash.  If you have different instances of the same object in the adjacent images, then the object the latter will inherit properties of the thing seized.  Sometimes it works to your advantage and sometimes it will leave scratching you your head trying to solve a problem.

    You have shown just in case, you have an object in the frame of 30 and I guess it is the same object that is in frame 1.  Based on what I just explained as an anomaly, even if you were to remove the name of the instance of the object in the frame of 30, or call it something else, it will persist with the name of the instance assigned to it in box 1.  Try it and see - it should always work.

    However, if you interrupt (that ness adjacent) regarding placing a keyframe empty between frame 1 and 30, you will find that the button no longer works in the frame of 30.  He is most associated with the earlier proceedings.  To get back to work, you reassign Auditors properties.

  • Why this scriipt does not work with Firefox? &lt; embed src = "News2008Fall.pdf" width = '615' height = '3200' &gt; &lt; / embed &gt; "

    Please tell me why this script does not work with Firefox. It works with Safari. Here is the page that includes the script: www.lionsgatehoa.org/newslettertest.html. Thank you. Tom Engleman

    Here's the script in my html document:

    < embed src = "News2008Fall.pdf" width = '615' height = '3200' > < / embed > "

    Edit: removed # phone

    Works for me on Linux.

    Your system details list does not display the Adobe Reader plugin, so you'll have to (re) install this program.

    See:

  • Unable to run email of announcement of Craigslist with Firefox web browser. The link works fine when you use Internet Explorer. Don't know why this problem?

    When I click on send to a Craigslist of announcements of sale, e-mail software does not run. When I used the same craigslist Web page with Internet Explorer, the e-mail program runs without any problem. Not sure why this problem?

    If you change your preference of mail helper in Firefox for 'other use '.... "you are presented with a command prompt to select an application click 'Browse... '. "and browse your computer for the program of choice. Even if you're already shown two e-mail programs, try to re - select the one you want to use via the method go and then try again to open a mailto link.

    If this does not work, open your profile button in folder

         Help > Troubleshooting Information
    

    and the release of Firefox. With Firefox closed, remove the file "mimeTypes.rdf" of your profile folder, and then restart Firefox and Firefox will re - build the helper, file applications and you can try again to send someone from a link.

  • I have a MacBook Pro late 2015, every time I have out of mode 'sleep' it is frozen and I turn it works.  Anyone know why this is happening?

    I have a MacBook Pro late 2015, every time I have out of mode 'sleep' it is frozen and I turn it works.  Anyone know why this is happening?

    Contact Apple for support and service

  • try to do an update and it gives me an error code 80240016 and when i run Microsoft solve this trobuleshooter it does not work and tells me an occure\red error.

    try to do an update and it gives me an error code 80240016 and when i run Microsoft solve this trobuleshooter it does not work and tells me an occure\red error. How can I fix it?

    Hello

    1. what patch did you try?
    2. update you are trying to install?

    Method 1:
    You can follow the steps in troubleshooting this article and check:
    Problems with installing updates
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-installing-updates

    Method 2:
    You can also try the steps from the link:
    Windows Update, error 80240016
    Error message when you try to install the updates on the Windows Update Web site or the Microsoft Update Web site: "0 x 80240016.
    http://support.Microsoft.com/kb/957307

    Method 3:
    You can also perform a clean boot, and then try to install and check.
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the Knowledge Base article.

  • In a work previously Win 7 Pro Shuttle system, we are now "this device cannot start (code 10)" with high defination driver.

    The system with the problem is a shuttle G2 7600 with Windows Home Premium 32 Bit, AMD Athlon II X 2 ' dual core 2.9 HZ.  The sound is integrated 5.1 audio channels.  This works installed sense July 14, 2011.   We now have no audio.  After the properties of the device, see the "this device cannot start (code 10)" someone can help me with this problem?

    Hi Jack,

    You did changes to the computer before the show?

    The Code 10 error applies mainly to the problems of hardware driver and devices or compatibility problems between the drivers of equipment and additional software that is installed in Windows. Therefore, we recommend that solve you these problems with emphasis on device drivers, configuration of device problems and hardware compatibility issues.

    I suggest you try the steps from the following link:

    Description of errors related to the 10 Code that generates the Device Manager in Windows on computers

    http://support.Microsoft.com/kb/943104/en-us

    Come back and let us know the State of the question, I'll be happy to help you. We, at tender Microsoft to excellence.

Maybe you are looking for

  • Should I have Trend Micro Security for my Mac?

    I have a Macbook Pro - vintage 2008, OSX - El Capitan, 10.11.4 Version: it seems that I got Trend Micro Security - and it is now expired.  My husband has a Macbook Air, and it don't think I need this package.  Tel - it is good?

  • Portege Z30T - A - 10 X unstable connection Wireless

    Hello Forum users! I would need a Council to deal with my wireless adapter. It connects OK when the laptop is after the restart, but if I take the it of sleep mode, it has problems to connect to any wireless network. Usually, it connects after 10 min

  • Vista - can not install a Service Pack

    trying to instaoll packs 1 and 2

  • DEP closing Acrobat Pro 9.5 in XP sp3

    I can't use Acrobat for now because every time I open or open a PDF DEP closed the program. The error is listed as:EventType: BEX P1: Acrobat.exe P2:9.4.6.252 P3:4e67f603 P4:unknown P5: 0.0.0.0, P6: 00000000 P7: 01c006ef P8: c0000005 P9: 00000008Upda

  • Highway of Microsoft

    I have loaded Microsoft Highway 2007 on a memory stick to use on my netbook if far is 'axe' in a file but I can't open it on my netbook which also uses Windows XP. Any ideas on how I can open the file please?