『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Greetings,I want to populate a row in a spreadsheet using the SpreadsheetAddrows(spreadsheetObj, data[, row, column, insert]) function.CF9 documentation says for the data parameter can be "A query object with the row data or an array."My code SpreadsheetAddRow (exportSheet, #attributes.columnHeader#);throws the error, Complex object types cannot be converted to simple values.What am I missing here?Regards,Greg
Hi. I have a form for a user to type in a number into a text box. I want to allow them to enter whole numbers and numbers with 1 decimal place. If they enter a number with more than 1 decimal place, I want the form to stop from submitting, or pop up a window that says they have to enter a number with only 1 decimal place. Can this be done with Cold Fusion's validation code in the form, or does it have to be written in Javascript in order for this to work? I do have some javascript code below that I used on another page that allows 2 decimal places, but I cannot get this javascript to work. It pops up a window that says I need to enter 2 decimal places, but the form still gets submitted. How do I stop the form from being submitted until it is entered correctly? I don't understand Javascript very well. This is why I was wondering if there was an easier way with Cold Fusion's validation code instead? Here's the code that works, but doesn't stop the form from submitting:<script type="te
Two URLs:http://DOMAIN/zshowsession.cfmhttp://DOMAIN/institutes/office/zshowsession.cfmThe DOMAIN portion is identical. Same site. Same CF server.Both files contain this code:<cfdump var="#session#">One outputs this:The other outputs this:You can see it's the same cfid and cftoken, but the contents of session are different. This is causing me problems.Is anyone aware of any legitimate reason why this would be happening? Maybe some weird CF configuration in the CFIDE or something? I already checked the two relevant Application.cfc files (one in /, one in /institutes) and there is nothing that modifies the session.
Hi-I am trying to retrieve data into jqGrid but it seems that my data is not converted to json or maybe the case is something else. In short can't populate the jqGrid. My files are as followsUsers.cfm<!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><link rel="stylesheet" type="text/css" media="screen" href="steel/grid.css" /><link rel="stylesheet" type="text/css" media="screen" href="steel/jqModal.css" /><script src="js/jquery-1.11.0.min.js"></script><script src="js/jquery.jqGrid.min.js" type="text/javascript"></script><script src="src/jqModal.js" type="text/javascript"></script><script src="src/jqDnR.js" type="text/javascript"></script><script src="src/jquery.fmatter.js
Hi. I have 2 text boxes in a form the user can type numbers into. I just want to add the numbers they type in together and output the answer. I'm starting off simple and will get more complicated with my calculations later. I actually have the calculations working if they are entered into a database, but we need this to work on the fly depending on what the user typed into the text boxes.I am only able to set the text box values and output them, but I cannot get them to add together. I have some javascript that outputs what was typed into the boxes by using CFSet. Is this the way I should write this? Is there a way to condense the javascript, or do I need to separate each set of text box code out? Is there a different way to do this simple calculation with just Cold Fusion, or do I need the javascript to grab the numbers that are entered into the text boxes? Here's the code I have below. If you remove the CFset price and the output of Price, you'll see that this code outputs the X and
My form has input fields for first and last names and for an email address. Form validation for email is not working people are entering First Name" 1, Last Name: 1, and email: 1 and the action for the form is completing without catching the error.The action invokes a <CFMail> to send the information to the office manager.Any thoughts?.
I'm having issues connecting to my database via the CFIDE/admin area...anyone experiencing the same?I set up my CF11 on yosemite and configured it my MAMP Pro and set up my DB wia MAMP's phpMyAdmin section...I created DB/tables all that I can get to my CF pages but I cannot get my DB connected...I have tried everything but have not find anything online about itI know I have all of that set up correctly because when I go to verify mySQL DB under tools menue option in MAMP Pro it verifies that it can connect so the user name is root...the port is 3306, and server is localhost and when I go to CFIDE admin I chose MYSQL (DataDirect) as my driver is that right or should I chose another driver?One thing I noticed, when I put in a wrong password I get the following errorjava.sql.SQLInvalidAuthorizationSpecException: [Macromedia][MySQL JDBC Driver][MySQL]Access denied for user 'root'@'localhost' (using password: YES)but when I put in the right password I get the follwoing errorjava.sql.SQLExce
Hi there, we have installed CF 11 enterprise on Linux server. We want both dev and test env/instances on same server. cfusion instance serves for dev. We added a new CF instance 'test'.Now what should we do in terms of connectors so that it can recognize appropriately. e.g. for vurl with 'dev.com' it should hit cfusion and for 'test.com' it should hit 'test' instance. In mod_jk, there are properties file which has cfusion mentioned. What should we do for test instance?Thanks
Nachdem ich auf einer anderen File den Submit button betätige und zurück komme, gibt er mir nur einen error aus, da er es nicht schafft, es auf die Datenbank zu updaten.Bitte um Hilfe danke im Voraus !<cfif isdefined('form.titel')> <cfif isdefined('form.filename')> <cffile action="upload" filefield="form.filename" destination="C:\inetpub\wwwroot\support\upload\presentation\vorlagen\" result="resultUpload" nameconflict="makeunique" /> </cfif> <cfquery name="updPPtFile" datasource="#application.global.dsn#" result="resultUpdPpt"> UPDATE ppt_files SET bezeichnung = <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.titel#" />, gruppenID = <cfqueryparam cfsqltype="cf_sql_integer" value="#form.gruppeID#" /> <cfif isdefined('form.filename')>
I have a form that is passing values like this.GETL639NAVY 1649GETL639ORANGE 1653GETL639PURPLE 0GETL794BLACK 0GETL794NAVY 0GETL794SAHARA 0GETL794WHITE 0GETLST660BLUEWAKE 0 When its not 0 I would like to get that specific record from a queryselect * from tablewhere ID = '#number#'
I am trying to reference a query from a struct and use it in other cfm files but I get this error message from CF11 Linux:"Attribute validation error for tag cfoutput. The value of the attribute query, which is currently Application.SRS.RequestTypes, is invalid.'It works on CF9 window server.Here are the code:<!--- entry-sr.cfm <script type="text/javascript"> function setTypeDesc( request_type ) { <CFOutput Query="Application.SRS.RequestTypes"> if ( request_type == "#request_type_code#" ) { document.getElementById( "TypeDesc" ).innerHTML = "#JSStringFormat( request_type_desc )#"; } </CFOutput>&
i am using coldfusion 6.1 with oracle 9i. i want to upgrade oracle to 10g or 11c. will coldfusion 6.1 have problem
I am having trouble uninstalling CF Builder 2 Update 1 on a box upgraded to Windows 10. The uninstaller commands me to Stop Coldfusion servers (which as far as I can tell aren't running). I've checked running services and can't fathom what might be causing the problem. Is there a trick to this? Thanks in advance for any help or advice!The full error message:
After upgrading our shared hosting server from CF9 to CF11 all of our grids broke. I've managed to get the toolbars back with several form elements but those elements' values are not getting passed to the CFC to filter the grid data. This worked perfectly in CF9. Does any know what may have changed?javascript Data: tbar.add( { xtype: 'textfield', name: 'searchfield', fieldLabel: 'Search' }, { xtype: 'comboAge', handler: test }, { xtype:'button', text:"Filter Grid", tooltip:"Filter Grid", handler:function(){ColdFusion.Grid.refresh('empGrid')} },'-->', { xtype:'button', text:"Add User Account", tooltip:"Add a user account", handler:addUserAccount} );var getSearch = function() { &nb
We have a development copy of CF11 that we installed as a RTM build that has since gone through CU1 through CU5. We just recently installed CF11 on our production server which was done from the latest deployment package and was then upgraded to CU4 then CU5. We've noticed instabilities with the production copy that we haven't seen once on the development copy the years it has been running.The most common are "Error Executing Database Query. Timed out trying to establish connection" errors at random while other applications using the same DB server have no issues at all. If you reload the page the DB call goes through the 2nd time. Only CF applications on this web server have these issues and not .NET or Java based ones.So wondering if I had configuration wrong I merge compared our development versus production server and found a number of core parts of the CF11 that started as RTM to be much older. Various jar files, the Jetty runtime is v6 instead of v9,
[3 Duplicate messages deleted... posting the same question more than once is confusing... Mod][This is an open forum, not a direct line to Adobe support... you need to wait for a reply]After installing Coldfusion 11 Update 6, our server would no longer output error messages. All we go was a blank screen. Uninstalling the update has cleared up the issue for now. The following entry was in the log:Exception thrown by error-handling template:java.lang.NullPointerException at coldfusion.monitor.error.RequestErrorMonitorEventHandler.onRequestEnd(RequestErrorMonitorEventHandler.java:31) at coldfusion.monitor.event.RequestMonitorEventProcessor.onError(RequestMonitorEventProcessor.java:558) at coldfusion.filter.ExceptionFilter.handleException(ExceptionFilter.java:179) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:108) at coldfusion.filter.BrowserDebugFilter.invoke(Brow
For security reasons, we I have been asked to update a ColdFusion 9 Enterprise (9,0,2,282541) application's Java 8. Is it possible to configure ColdFusion 9 to run on Java 8? I have successfully configured it to work with the last version of Java 7 (1.7.0_80).When I attempt to use the Java 8 JRE, the site throws an Error 500, with the message ""Error","jrpp-0","08/31/15","16:48:21","cfadmin","javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)" in the exception log.Thanks!
We've been using Flash Remoting for years and now, while testing CF 10 on a development server, find that it no longer works. In particular, I get a 404 error when trying to access https://{ip address}/flashservices/gateway.I've already confirmed that remoting is enabled in the Administrator and followed the steps given in the documentation (http://help.adobe.com/en_US/ColdFusion/10.0/Installing/WSc3ff6d0ea77859461172e0811cdec18969-7ffa.html).Any advice?
HI All,How can I pass a query to oracle using cfstoredprod?Try this: <cfstoredproc datasource="#application.dsn#" procedure="#importTable#"> <cfprocparam type="in" cfsqltype="cf_sql_refcursor" value="#myQuery#"> </cfstoredproc> Oracle code: Procedure importTable ( v_table IN SYS_REFCURSOR) is Getting error: [Oracle JDBC Driver]Unable to determine the type of the specified object.Any ideas?Thanks in advanced.
After I restarted server today , coldfusion application service could not start server.I tried to restart it manually through component service , but it did not.There were no logs in C:\ColdFusion11\cfusion\logs.Message in window's system log is : Log Name: SystemSource: Service Control ManagerDate: 9/1/2015 1:59:12 AMEvent ID: 7024Task Category: NoneLevel: ErrorKeywords: ClassicUser: N/AComputer: reportingDescription:The ColdFusion 11 Application Server service terminated with the following service-specific error: The system cannot find the file specified.Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> &
I'm a new user to CF (few months) and would like to create a keybind to wrap code in a JS multiline comment. I am aware of Ctrl+Shift+C for CF commenting, but would like to do it for JS as well.I have also attempt to create a key in the Preferences->General->Keys and in Preferences->ColdFusion->Profiles->Keys. Is there a way to tell CF to insert a '/*' at the beginning of select code and add a '*/' to the end when creating a key? If so a link would be great so I can read up on the different types to learn how useful this could be.If one already exists that would be great as well (I have not been able to find any hits for it on my searches).Any help is appreciated, thanks.
When will adobe offer a site license agreement for ColdFusion? Various companies that I have spoken with are sunsetting CF application because of CF's cost as it compares to other platforms. This is an issue for current CF developers who are looking for career opportunities.
I need some help with an error that keeps coming up in the application.log.The message is:Aug 28, 2015 1:42 PM Error ajp-bio-8014-exec-1 PACT Authentication has failed.Please check the logs for more details.s The specific sequence of files included or processed is: C:\inetpub\wwwroot\PACT\index.cfm, line: 3 What does Authentication has failed? It say to check the log files, but this is a log file so that is no help. I have looked in the other logs, but I don't see anything that would correlate with this error. This is happening several times an hour across all the sites on this server.Virtual serverI am running ColdFusion 11 Enterprise editionWindow 2008 r2 serverThis is a new server set up. I had all my sites loaded on this server for testing and did not get these errors. Once I made this server available to the public, then I started getting this error.It appears the sites aren't going dow
Obwohl ich auf meinem Linuxsystem graphisch mittels wsconfig.jar das richtige binary File (httpd) auswähle, meldet ColdFusion 11 immer, das der Pfad nicht korrekt ist.
I have a brand new Windows Server 2012 with a clean install ColdFusion 11. I have about 30 sites setup on the server on test urls. I have been going to the home page of each site, just loading the home page and then going to the next site and loading the home page. After loading the home page for about 10 sites ColdFusion stops responding and never returns a response of any kind. When this happens can however still load html files with no problem. I have not been able to find ANYTHING in any log file in either ColdFusion or IIS. I tried removing the connectors to ALL website and then connecting them again and still same thing. I have played around with JVM memory settings and things like that and nothing seems to work. I am at a complete loss of what to try next. Any ideas at all would be greatly appreciated.I should also mention that if I restart IIS when this happens everything work fine again for another 10 page
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.