CKeditor and cfm

This is probaly a begineers question so apologies if it is a bit basic. It could also be a MySql fix rather than Colfusion!
I have a textarea field on a web form using the popular text editor ckeditor.
The form is posted to a Coldfusion page and the data is added to a MySQl database.
This works fine until someone adds a " in their text input. This being the escape character an error is generated!
ie:
<cfquery name="insert" datasource="text_test">
insert into TEXT (TEXT1, TEXT2) values ("#Form.text1#", "#Form.text2#");
</cfquery>
Any theories on how I can get round this would be gratefully apreciated.
Many thanks,
Paul.

Hi all,
I think that I may have cracked it!
As soon as I started checking on the security side of things and paramatised the variables it worked. I've left the thread up so that it may be of use to anyone else with the same issue.
eg.
<cfqueryparam value="#form.description#" cfsqltype="cf_sql_longtext">
Paul

Similar Messages

  • CKeditor and CLOBS (again)

    HI
    I have seen and tried to implement the solution from CLOBS and HTML editor that Dan so nicely provided on his blog the other day (thanks dan);
    http://www.danielmcghan.us/2010/02/ckeditor-and-those-pesky-clobs.htm
    But due to my very limited knowledge of javascript, I cant figure out what to do (and where to put) the javascript:submitPage thing :-)
    The editor comes fine on the screen, but is not filled out with data from the tables. When I press the update button, only the field name (varchar2) is updated.
    I have it implemented in a test apl. on apex.oracle.com
    workspace: METTES
    user: guest
    passw : apex1234
    Does any of you js / apex gurus have a minute to spare?
    Best regards
    Mette
    Edited by: Mettemusenss on 2010-02-19 04:03

    Problem solved thanks to Dans posting.
    Mette

  • Difference between Application .cfc and .cfm?

    Title says it all. I'm a bit confused about the difference
    between Application.cfc and .cfm.
    I understand a bit more about the .cfc, where you define
    methods onRequestStart, etc.
    Yet in an example I'm following, they use .cfm and the
    <cfapplication> tag. Both seem to get called, but should I
    only be using one file? Or?
    Also since both can be used what is the calling order by
    ColdFusion or is one ignored if the other is present?

    if you have both files in the same location, only .cfc is
    processed.
    .cfm is ignored if .cfc is found.
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • Can you help me understand the use of the word POSITION in TR and CFM?

    Hi,
    I am trying to have a view of typical BI reports in TR and TM/CFM so through my research I came to the following link:.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/62/08193c38f98e1ce10000000a11405a/frameset.htm
    My problem on this link and other postings on this site seem to be the same. Can you help me understand the use of the word POSITIONS in these context:
    1. Our client has asked for financial transaction reports in BW, such as position of Borrowings, Investments and Hedge Operations (TM data).
    2. I have a requirement on, some reports related to Money Market (Fixed Term Deposits, Deposits at Notice) something on FSCM-Treasury and Risk Manager. These reports will be similar to that of Loans, i.e. Position statement, flow statement, etc.
    3. The set of position values for a single position or a limited amount of positions can be reported by transactions TPM12 and TPM13 in R3.
    4. 0CFM_C10 (Financial Positions Cube)
    Do you have some simple report outputs to help clarify how the word POSITION is used in such environments?
    Thanks
    Edited by: AmandaBaah on Feb 15, 2010 4:39 PM

    If I future buy 10 shares in company at £1 per share - at the end of the day my potential value is £10
    The next day the shares drop tp £0.9 per share - I have a negative position - my shares are only worth £9
    I haven;t bought them yet - but I have a negative position - ie if things stayed as they are - I am going to realise (ie end up with)  a loss
    Now you can use this for loans and foreign exchange banks as well...

  • A many-to-many relational problem (SQL and CFM)

    My question:
    How to get CFM to return a many-to-many relationship in one
    row using cfloop
    My table structure:
    Table A - Books
    BookID | BookName
    1 | Book One
    Table B -
    RelatingTable
    BookID | AuthorID
    1 | 60
    1 | 61
    Table C - Authors
    AuthorID | AuthorName
    60 | Bob
    61 | Joe
    My query:
    SELECT * FROM Books, RelatingTable, Authors AS a
    INNER JOIN Books AS b ON b.BookID = r.BookID
    INNER JOIN RelatedTable AS r ON r.AuthorID = a.AuthorID
    Output I am getting:
    b.BookID | b.BookName | r.BookID | r.AuthorID | a.AuthorID |
    a.AuthorName
    ---------|------------|----------|------------|------------|-------------
    1 | Book One | 1 | 60 | 60 | Bob
    1 | Book One | 1 | 61 | 61 | Joe
    I am using a UDF that turns my relationship into a comma list
    (authorlist), but the duplicates still return in CFM because the
    JOIN relationship
    The code I am using in CFM:
    <cfloop query="rsBooksQuery">
    #b.BookName#, written by #authorlist#
    </cfloop>
    How Coldfusion is displaying my output:
    Book One, written by Bob, Joe
    Book One, written by Bob, Joe
    How I want my output displayed:
    Book One, written by Bob, Joe
    I need this to work in cfloop and not cfoutput! I know that
    you can use group in CF output, but for the conditions I am using
    this query, it must be in a loop
    the reason why i keep the JOINs even though i have a UDF to
    create a comma list is that some of my CFM pages use variables
    passed to the qry to limit which books are displayed, for example
    &author=60 (which would display a list of Bob's books that
    include the comma list)
    If you can suggest anything to help me I will be very
    thankful

    I need this to work in cfloop and not cfoutput! I know that
    you can use
    group in CF output, but for the conditions I am using this
    query, it
    must be in a loop
    If you can suggest anything to help me I will be very
    thankful
    If you can not use <cfoutput...> with its group
    feature, you need to
    recreate the functionality with <cfloop...>. You can
    create nested
    <cfloop...> tags that keep track of the changing group
    value. It takes
    more code, but that's what happens when one sets outside the
    bounds of
    the built in functionality.

  • Finance Domain and CFM...

    Hi Experts, Mentors and Gurus
    I come from an Engineering Background-Computers and have been in SAP for 3.5 yrs now and have primarily worked in the ABAP area for all these years. I tried to get into the functional areas but was denied on numerous occassion due to 'n' number of reasons from my superiors.
    I am planning to gain domain knowledge in Finance and seeing CFM (Centre of Financial Management-Bangalore) ceritification as an oppurtunity for this.
    I had a look at the overall course of the CFM certification and it seems to be related to Investment Banking, Project Management, Portfolio Management, International Finance and General & strategic Financial Mangement.
    Now my major concern is, the course seems to have an in depth Finance (that does not worry me) and while  I worked in SAP never came across such ' Big Terms' as from the course.No doubt this course will take me into the finance doamin but would like to hear from the experts and mentors whether this course would really help me in placing myself into Finance SAP or in FICO area or in any relation to SAP. How can I further use the CFM or such certification further?
    I would really appreciate your views and ideas on this.
    Rgds,

    > I tried to get into the functional areas but was denied on numerous occassion due to 'n' number of reasons from my superiors.
    Perhaps this is because you are not following up on your questions and duplicate posting them to the same and multiple forums (which is against the forum rules).
    So, they might think that you are not up to it?
    Cheers,
    Julius
    ps: The "Comment" field when closing threads is not mandatory (otherwise it bounces all your 87 unresolved questions to the top again and floods the forum).
    pps: Be respectfull to those who have tried to help you...

  • Printing web page with select tags in IE9 and a .cfm file-only the original selected option prints

    My web page has a select tag and cfselect tags and when I print the page with a different option other than the originally selected option the print for both types of select tags reverts back to the original selection and ignores the new selection.  This happens in IE9 and .cfm files but not when the page is printed in IE8 or IE7 modes (tried in the F12 Developer Tools.)  It also needs to be a .cfm file.  FireFox printed the pages correctly for any combination.
    This was done on a Dell and ThinkCentre computers under Windows 7.  Also, I was able to reproduce the same problem on an different university web site where a selection box would revert back to the original selection for printing on a .cfm page and would print properly on a .PHP page at the same site.
    For my site, I used a print button which calls print() and right clicked and chose print and got the same results no matter which method was used.  I only had the right click method on the third party web site.
    I know this is probably a bit narrow an issue but, any help would be appreciated.

    It appears that it is probably an IE9 bug.
    I simplified the problem by turning the page source taken from the brouser of the original .cfm into an html file and found that it would still print improperly.
    When I eliminated the various parts of the file I found that it would print correctly only when I removed the first line, the "DOC type" line.
    The page will print the newly selected option but then I lose the style sheet.
    If it does not work in an HTML file it must be IE.  It is not the .cfm.  The reason that it did not work for .cfm files, is that they always have a "DOC type" statement.
    I have put the issue into an MSDN forum in addition to the one mentioned previously.

  • How to Call a javscript Method on Ckeditor focus

    Hi,
    I have an asp.net 4.0 website. I m using a CKeditor 3.6 in My application. I want To show a toogle toolbar when I click inside the Ckeditor and hide the toolbar when i click outside the Ckeditor.How its Possible?.
    Thanks & Regards,
    Dileep

    Hi Dileep,
    Please post your question in
    ASP.NET forums.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Making Rich Text Editor with PHP in Dreamweaver  - Problem with CKEditor...

    Hi,
    I am developing a website in Dreamweaver and using the platform of PHP and MYSQL. I need to develop a Rich Text Editor just like the one I am typing at the moment. With my recent searches I have come across with CKEditor as one of the possibilities to add a Rich Text Editor to my website. I have seen older versions of CKEditor also known as FCKEditor which I believe unfortunatley is out of date and obsolete now (discontinued). I cannot find any of the downloads now from anywhere on the web.
    I can find FCKEditor tutorials with PHP,  but can not find CKEditor tutorials for PHP (when I try googling it, it always gives me FCKEditor page). Can anyone please help me and tell me if I can still make Rich Text Editor using CKEditor and PHP?
    If yes, please guide me how? Any tutorials or reading material will be very helpful.
    Regards,
    Bilal . Khan

    Yes, you absolutely can use CKEditor to create a rich text editor with PHP/MySQL.I have tried several editors and it's my choice.
    Here is a link to the documentation page:
    http://docs.cksource.com/
    CKFinder is also very good in conjunction with CKEditor. Although it costs $59/per website, it's better than the free alternatives.

  • Problem with CFM 7

    Hello Guys ,
    I am new in this forum and i have a problema with coldfusion.
    I have many sites in my CFM Server. A have a Windows 2003 SP2
    32 Bits and ColdFusion MX
    Version 7,0,2,142559.
    Eventually, we received an error message for any failure in
    JRun. Usually ODBC driver of the machine failure and restore the
    access only after restart IIS Services and CFM.
    How solve this problem?
    Is there a good article on how to optimize the resources of
    the server?
    Thanks

    Thanks Adam,
    What does the actual error msg say?
    * Server Error
    The server encountered an internal error and was unable to
    complete your request.
    Could not connect to JRun Server.
    * Maximum number of simultaneous requests;
    * [Macromedia][Oracle JDBC Driver]Error establishing socket.
    Unknown host;
    * Invalid access to memory location.
    What gets logged when the problems happesn?
    *There are a lot off error messages. I don t no exatly wahat
    message is intereting to post here. CAn you tell me with log is
    more interesting to post here ?
    What's running when the problem happens?
    *In this machine we are running oonly IIS (web - smtp - ftp)
    and Colfusion services.
    How is yor JVM configured?
    Java Version 1.4.2_09
    Java Vendor Sun Microsystems Inc.
    Java Vendor URL
    http://java.sun.com/
    Java Home C:\CFusionMX7\runtime\jre
    Java VM Specification Version 1.0
    Java VM Specification Vendor Sun Microsystems Inc.
    Java VM Specification Name Java Virtual Machine Specification
    Java VM Version 1.4.2_09-b05
    Java VM Vendor Sun Microsystems Inc.
    Java VM Name Java HotSpot(TM) Server VM
    Java Specification Version 1.4
    Java Specification Vendor Sun Microsystems Inc.
    Java Specification Name Java Platform API Specification
    Java Class Version 48.0
    Java and JVM
    Java virtual machine path C:/CFusionMX7/runtime/jre
    Initial memory size 1500 MB
    Maximum memory size 1500 MB
    Can you help me ?

  • Rapid and Huge growth of of used space of temporary tablespace

    Hi,
    Have a query (select) that run quick (no more than 10 seconds).
    As soon I insert the data into a temporary table or even on physical table, the temporary table used space starts to growth very fast. The used space is totally used and the query crash since e reach the limit (65GB), or even more if I add more table files to temporary tablespace!
    The problem also happen only if the period (dates) is one year (2013). If the period is the first trimestre of 2013 (same amount of data), the problem does not happen!!
    I also confirm that on another instance ( a test one), even with less resources this ORACLE behavior do not happen. I confirm differente execution plan queries, between the two instances .
    What I really do not understant is the behavior of the ORACLE with the huge and rapid growth!!!
    Any one experiment such a similiar situation?
    Thanks in advance,Rui
    Plan
    INSERT STATEMENT ALL_ROWSCost: 15.776 Bytes: 269 Cardinality: 1
    28 LOAD TABLE CONVENTIONAL MIDIALOG_OLAP.MED_INVCOMP_FACTTMP_BEFGROUPBY
    27 FILTER
    26 NESTED LOOPS
    24 NESTED LOOPS Cost: 15.776 Bytes: 269 Cardinality: 1
    22 NESTED LOOPS Cost: 15.775 Bytes: 255 Cardinality: 1
    19 NESTED LOOPS Cost: 15.774 Bytes: 205 Cardinality: 1
    17 NESTED LOOPS Cost: 15.773 Bytes: 197 Cardinality: 1
    14 NESTED LOOPS Cost: 15.770 Bytes: 180 Cardinality: 1
    11 NESTED LOOPS Cost: 15.767 Bytes: 108 Cardinality: 1
    9 HASH JOIN Cost: 15.757 Bytes: 8.346.500 Cardinality: 83.465
    7 HASH JOIN Cost: 13.407 Bytes: 6.345.012 Cardinality: 83.487
    5 HASH JOIN Cost: 11.163 Bytes: 5.010.550 Cardinality: 100.211
    3 HASH JOIN Cost: 5.642 Bytes: 801.288 Cardinality: 22.258
    1 INDEX RANGE SCAN INDEX MIDIALOG.IX_INSCOMP_DTCEIDICIDLCPECIDOP Cost: 120 Bytes: 489.676 Cardinality: 22.258
    2 INDEX FAST FULL SCAN INDEX (UNIQUE) MIDIALOG.IX_LINHACOMPRADA_IDLCIDOPSEQ Cost: 5.463 Bytes: 123.975.530 Cardinality: 8.855.395
    4 INDEX FAST FULL SCAN INDEX (UNIQUE) MIDIALOG.IX_LINHACOMPRADA_IDLCIDOPSEQ Cost: 5.463 Bytes: 123.975.530 Cardinality: 8.855.395
    6 TABLE ACCESS FULL TABLE MIDIALOG.ITEM_AV Cost: 1.569 Bytes: 6.963.736 Cardinality: 267.836
    8 TABLE ACCESS FULL TABLE MIDIALOG.ITEM_AV Cost: 1.572 Bytes: 7.713.672 Cardinality: 321.403
    10 INDEX UNIQUE SCAN INDEX (UNIQUE) MIDIALOG.IX_BOFINALBO_IDBOIDFINALBO Cost: 0 Bytes: 8 Cardinality: 1
    13 TABLE ACCESS BY INDEX ROWID TABLE MIDIALOG.INSERCAO_COMPRADA Cost: 3 Bytes: 72 Cardinality: 1
    12 INDEX RANGE SCAN INDEX (UNIQUE) MIDIALOG.IX_INSCOMPRADA_IDLCDATAPECAINS Cost: 2 Cardinality: 1
    16 TABLE ACCESS BY INDEX ROWID TABLE MIDIALOG.INSERCAO_ITEMFACTURA Cost: 3 Bytes: 17 Cardinality: 1
    15 INDEX RANGE SCAN INDEX MIDIALOG.IX_INSITFACT_INSCOMPRADA Cost: 2 Cardinality: 1
    18 INDEX RANGE SCAN INDEX (UNIQUE) MIDIALOG.UQ_ITEMFACTURA_IDITF_IDFACT Cost: 1 Bytes: 8 Cardinality: 1
    21 TABLE ACCESS BY INDEX ROWID TABLE MIDIALOG.FATURA Cost: 1 Bytes: 50 Cardinality: 1
    20 INDEX UNIQUE SCAN INDEX (UNIQUE) MIDIALOG.PK_FATURA Cost: 0 Cardinality: 1
    23 INDEX UNIQUE SCAN INDEX (UNIQUE) MIDIALOG.PK_TIPO_ESTADO Cost: 0 Cardinality: 1
    25 TABLE ACCESS BY INDEX ROWID TABLE MIDIALOG.TIPO_ESTADO Cost: 1 Bytes: 14 Cardinality: 1
    Edited by: rr**** on 19/Fev/2013 15:25

    I run the select with sucess, no more that 1 minute from on year of data. Few temporary used space used.
    As soon I plug the insert (global temporary table, also experiment with physical table) the used space of temporary table space start to grow crazy!!
    insert into midialog_olap.med_invcomp_facttmp_befgroupby
    select fac.numefatura,
    fac.codpessoa,
    fac.dtemiss,
    tef.nome as estado_factura,
    opsorig.demid,
    opsorig.anoplano,
    opsorig.numplano,
    opsorig.numplanilha,
    ops.nome as ordem_publicidade,
    ops.external_number as numero_externo,
    ops.estado,
    lic.seq,
    inc.data,
    inc.peca,
    fac.id_versao_plano,
    fac.ano_proforma || '.' || fac.numrf as num_proforma,
    iif.tipo_facturacao,
    opsorig.codveiculo as id_veiculo,
    opsorig.codfm as id_fornecedor_media,
    icorig.chkestado as id_estado_checking,
    0 as percentagem_comissao_agencia,
    0 as valor_pbv,
    0 as valor_stxtv,
    0 as valor_ptv,
    0 as valor_odbv,
    0 as valor_pbbv,
    0 as valor_dnv,
    0 as valor_pbnv,
    0 as valor_stxv,
    0 as valor_pbtv,
    0 as valor_dav,
    0 as valor_plv,
    0 as valor_odlv,
    0 as valor_pllv,
    0 as valor_ca,
    0 as valor_trv,
    0 as valor_txv,
    0 as valor_base_facturacao,
    decode(ops.estado, :WKFOPR_BOOKINGORDER_CANCELED, 0,
    decode(iif.tipo_facturacao, :BILLING_TYPE_ONLYCOMISSION, 0,
    inc.total_pb_compra * fac.percentagem_facturada / 100))
    as valor_pbc,
    decode(ops.estado, :WKFOPR_BOOKINGORDER_CANCELED, 0,
    decode(iif.tipo_facturacao, :BILLING_TYPE_ONLYCOMISSION, 0,
    inc.total_stxt_compra * fac.percentagem_facturada / 100))
    as valor_stxtc,
    decode(ops.estado, :WKFOPR_BOOKINGORDER_CANCELED, 0,
    decode(iif.tipo_facturacao, :BILLING_TYPE_ONLYCOMISSION, 0,
    inc.total_pt_compra * fac.percentagem_facturada / 100))
    as valor_ptc,
    decode(ops.estado, :WKFOPR_BOOKINGORDER_CANCELED, 0,
    decode(iif.tipo_facturacao, :BILLING_TYPE_ONLYCOMISSION, 0,
    inc.total_odb_compra * fac.percentagem_facturada / 100))
    as valor_odbc,
    decode(ops.estado, :WKFOPR_BOOKINGORDER_CANCELED, 0,
    decode(iif.tipo_facturacao, :BILLING_TYPE_ONLYCOMISSION, 0,
    inc.total_pbb_compra * fac.percentagem_facturada / 100))
    as valor_pbbc,
    decode(ops.estado, :WKFOPR_BOOKINGORDER_CANCELED, 0,
    decode(iif.tipo_facturacao, :BILLING_TYPE_ONLYCOMISSION, 0,
    inc.total_dn_compra * fac.percentagem_facturada / 100))
    as valor_dnc,
    decode(ops.estado, :WKFOPR_BOOKINGORDER_CANCELED, 0,
    decode(iif.tipo_facturacao, :BILLING_TYPE_ONLYCOMISSION, 0,
    inc.total_pbn_compra * fac.percentagem_facturada / 100))
    as valor_pbnc,
    decode(ops.estado, :WKFOPR_BOOKINGORDER_CANCELED, 0,
    decode(iif.tipo_facturacao, :BILLING_TYPE_ONLYCOMISSION, 0,
    inc.total_stx_compra * fac.percentagem_facturada / 100))
    as valor_stxc,
    decode(ops.estado, :WKFOPR_BOOKINGORDER_CANCELED, 0,
    decode(iif.tipo_facturacao, :BILLING_TYPE_ONLYCOMISSION, 0,
    inc.total_pbt_compra * fac.percentagem_facturada / 100))
    as valor_pbtc,
    decode(ops.estado, :WKFOPR_BOOKINGORDER_CANCELED, 0,
    decode(iif.tipo_facturacao, :BILLING_TYPE_ONLYCOMISSION, 0,
    inc.total_da_compra * fac.percentagem_facturada / 100))
    as valor_dac,
    decode(ops.estado, :WKFOPR_BOOKINGORDER_CANCELED, 0,
    decode(iif.tipo_facturacao, :BILLING_TYPE_ONLYCOMISSION, 0,
    inc.total_pl_compra * fac.percentagem_facturada / 100))
    as valor_plc,
    decode(ops.estado, :WKFOPR_BOOKINGORDER_CANCELED, 0,
    decode(iif.tipo_facturacao, :BILLING_TYPE_ONLYCOMISSION, 0,
    inc.total_odl_compra * fac.percentagem_facturada / 100))
    as valor_odlc,
    decode(ops.estado, :WKFOPR_BOOKINGORDER_CANCELED, 0,
    decode(iif.tipo_facturacao, :BILLING_TYPE_ONLYCOMISSION, 0,
    inc.total_pll_compra * fac.percentagem_facturada / 100))
    as valor_pllc,
    decode(ops.estado, :WKFOPR_BOOKINGORDER_CANCELED, 0,
    decode(iif.tipo_facturacao, :BILLING_TYPE_ONLYCOMISSION, 0,
    inc.total_transcricoes * fac.percentagem_facturada / 100))
    as valor_trc,
    decode(ops.estado, :WKFOPR_BOOKINGORDER_CANCELED, 0,
    decode(iif.tipo_facturacao, :BILLING_TYPE_ONLYCOMISSION, 0,
    inc.total_tx_compra * fac.percentagem_facturada / 100))
    as valor_txc,
    --nvl((select cfm.total_comprado
    -- from fin_custos_facturados_media cfm
    -- where cfm.id_factura = fac.id_factura and
    - -- cfm.id_op = ops.id_op
    -- ), 0) / opsorig.number_of_bought_insertions as custos_associados,
    0 as custos_associados,
    fac.iss as percentagem_iva,
    fac.percentagem_facturada,
    fac.currency_exchange as taxa_cambio,
    iif.associated_code as insertions_associated_code
    from fatura fac, item_fatura itf, insercao_itemfactura iif,
    insercao_comprada icorig, linha_comprada lcorig, item_av opsorig,
    med_bookingorder_finalbo opfin,
    insercao_comprada inc,
    linha_comprada lic, item_av ops,
    --veiculo vei,
    tipo_estado tef
    where fac.id_factura = itf.id_factura and
    itf.id_itemfactura = iif.id_itemfactura and
    iif.id_ic = icorig.id_ic and
    icorig.id_lc = lcorig.id_lc and
    lcorig.id_op = opsorig.id_op and
    opsorig.id_op = opfin.id_booking_order and
    opsorig.number_of_bought_insertions > 0 and
    opfin.id_final_booking_order = ops.id_op and
    -- ops.id_op = (
    -- select max(ops.id_op)
    -- from item_av ops
    -- start with ops.id_op = opsorig.id_op
    -- connect by prior ops.id_opsubstituicao = ops.id_op) and
    ops.id_op = lic.id_op and
    lic.seq = lcorig.seq and
    lic.id_op = inc.id_op and
    lic.id_lc = inc.id_lc and
    inc.data = icorig.data and
    inc.peca = icorig.peca and
    --opsorig.codveiculo = vei.codveiculo and
    fac.estado = tef.estado and
    fac.estado != 305 and
    ops.estado != 223 and
    iif.tipo_facturacao != 'SO_CA' and
    icorig.data between :dtBeginDate and :dtEndDate and
    (fac.codagenciafat = :iIdAgency or :iIdAgency is null);

  • Compiling a cfc/cfm coldfusion file

    I've got the source code for an app in coldfusion that I'd
    like to compile.
    There are a bunch of cfc and cfm files. I have coldfusion 8.0
    installed on the server too.
    These cfc and cfm files work with java I believe.
    Would anyone have any ideas how to comfile these cfc/cfm
    files to work with java?
    Any questions, please feel free to ask. Thanks!

    tom12c wrote:
    > Would anyone have any ideas how to comfile these cfc/cfm
    files to work with
    > java?
    >
    Just to give you a heads up on that you are going to read
    from JR's link.
    CFML is, more or less, a scripted language and you do not
    compile it.
    The code does get compiled, but usually at run time when you
    access a
    .cfm or .cfc file on a web server configured with the
    ColdFusion
    application server.
    There are methods to pre-compile code as of the latest
    version I
    believe, but it is often not bothered with.

  • Coldfusion 10 with creamweaver cs5 and cs6 hiding saved files?

    I have CF 10 enterprise sp12 running on windows 2012 std as a virtual machine on 2012 Hyper-v host.
    When a dreamweaver CS 5 or CS 6 makes a change to any part of a CFC file like a space a single character in the file (like a comment area) and saves the file directly on the server the file time stamp changes with the save but when  a browser IE or chrome tries to open the changed file the file is not found and/or the request times out at 60 seconds.... several minutes later a refresh is successfully to open the file.
    If I modify the same file with Notepad ++ in the same manner ( one or 2 characters) and open the file with IE/Chrome - the file is found the code runs  and the modifications are found.
    Trying the same test on a CF9 std installation on a 2003 server the "file not found error/lag" does not occur.
    I'd like to know how to resolve the above issue between CF10 and dreamweaver  as it is needed for development and so far it is slowing everything down.
    Jay Bietz
    IT manager
    PASCO scientific

    Ben thanks for your reply - I have to update the data above to say that when I tried a more complex CFC with notepad and a small modification -- that the lag showed up  and is repeatable. 
    It's almost like when something with the file meta data changes (new date or ? ) changes  the server/cf/? takes a long time to get the file cached... once it is cached (somewhere?) response is much better but nothing like the CF 9 installationing running the same files....
    Today and with out affect,  I've set the VM startup RAM to 8192 w/o dynamic ( from 2048 and 2048 with dynamic), removed the hyper-v folder for the virtual hard drive files from Symantec full time scanning, set the hyper-v server and VM to high power/ performance and excluded on the VM Symantec full time scanning of the cfc and cfm files...

  • Extremely noisy fan and burning motherboard

    Hi, I got HP dv5 2070us laptop a couple years ago and decided to dust out the fans and stuff. So I brought my laptop to the computer service office to clean it. 
    After the clean up, my fan got even louder than before! Roaring like crazy. 
    So I tried to figure out what was wrong with it. Downloaded some software like Speedfan and Aida64 to check out the temperatures of the CPU, motherboard and so on. Both mentioned programs shows that my motherboard is 87C (189F) ! and this temperature is fixed, doesn't change all day long, while the CPU temperatures are changing. 
    Maybe this is the reason of the noisy fan. What is more, computer doesn't shut down. The screen is black but fans are working even after 10mins. The only way for a completely shut it down is to press the power button. 
    Does anyone one how to solve this problem?

    Hello Merc,
    Try figuring out what's causing the noise.
    Is it a vibration? Try a mechanic's stethoscope if you can find one; or just use a thin, long bladed screwdriver to amplify the noise. Cleaning the fan blades of accumulated crud will improve their balance. Occasionally, sheet metal or a loose screw will pick up the vibration and amplify it.
    Is it a bearing or bush that's starting to wear? Maybe it's new fan time - nothing is forever!
    Is it the rush of air? They make quieter fans, although the quiet ones don't always cool as well. (I have a dual 800MHz Quicksilver that was fitted with a quiet fan, and you could have grilled bacon on the heatsink - I wound up with a high-powered fan that I can hear in the next room.... but a cool Mac!)
    Try measuring your fan (in mm) and searching for fans; I don't remember my exact parametres, but I turned up quite a few. Compare using RPMs, dBs, and CFM as guides. Come back and make us all experts!
    HTH ..... Jon

  • Pdf files are locking up mac repeatedly, having to reboot - Please Help

    I've been using a website (not mine) where the user enters info into a form, and it generates a single page report that pops up a download dialogue box on your computer that says:
    “bh_main-53.cfm” may be an application. It was downloaded from the Internet and will be opened by Adobe Reader. Are you sure you want to open it?"
    Smaller text notes that firefox has already downloaded the file.  When you say Open, it automatically launches Adobe Reader and displays the file.  From that point it can be saved as a pdf.  I've been using the macintosh Preview.app with the resulting documents also - Preview can open both pdf and cfm files.  Oddly enough, Adobe Reader (AR) can't open cfm files, and yet it is automatically called and displays these files.
    The problem is that it seems that working with these files either in AR or Preview frequently locks my entire computer up.  Typically the screen just freezes, while the cursor can still be moved around.  Sometimes I get the spinning wheel, but sometimes not.  Computer won't take any input from cursor or keyboard, waiting doesn't help, and I wind up having to use power key to do a hard shutdown.
    What is going wrong here, and how can I fix it?

    Did you try this one
    Apparently you need to tell Windows that you want to use the machine as a file server and that it should allocate resources accordingly.  Set the following registry key to ‘1′:
    HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache
    and set the following registry key to ‘3′:
    HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size
    After making these changes and restarting, I haven’t seen this issue arise again
    http://alan.lamielle.net/2009/09/03/windows-7-nonpaged-pool-srv-error-2017

Maybe you are looking for

  • How to print the dialog screen result

    Experts, Iam using dynpro and as a result a graph is printed on the screen container. This is my final screen and I want to take a print of that container with graph. so I have activated the print button in the functional keys by selecting the normal

  • HT204380 How do I receive facetime calls from someone not in my contacts?

    How do I receive facetime calls from someone not in my contacts?

  • MIGO 101 movement type- Excise tab.

    Hi ,   Excise tab is not coming for the movement type of 101 in migo, For all other movement type's ,it ll come, why reason??? I made all settings in J1ID. -Thanks & Regards. Balajee Jeyaraj.

  • Which photoshop to use? Why do i have so many of them?

    Hello! I got Photoshop CC installed but there is also a Photoshop CC 2014 and a Photoshop CC (64 bit). Wich one is the best? Why does adobe installer install three different programs? Kind regards, Noccis

  • URGENT:Deletion  of Query from QA

    I want to delete query from Quality system. Proposed solution is deleting query in dev and then transporting same to QA. I am confused little bit if i use RSZDELETE command will it ask for request or i should simply delete query from query deisgner a