『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
G'day:I'm concerned about how Adobe have implemented the list-oriented member functions in ColdFusion 11. And I was hopeing to capture some community input as to what other people think, before raising it with Adobe:Survey: lists in CFML, and the naming of list member functionsIt'd be cool if you could take the time to complete the survey.Thanks.-- Adam
Does anybody out there have a simple solution to scanning a range of IP's against a user's IP?Let's say I have a group of IP's123.456.654.10/50111.222.333.444.5/20I need a script where I guess I could put in the min and max and scan for a match against the end users IP #remote_addr#So I'd be looking at all IP's in the range:123.456.654.10to 123.456.654.50And the111.222.333.444.5to111.222.333.444.20Appreciate any helpThanksMark
Hi. I'm using cfhttp to post data to an API. An example of one of the parameters required as input by that API is "subscription[planId]". Question is, how in the world to I pass a sort of "named array" like this where "planId" isn't a variable, it's text. I apologize that clearly I'm missing something pretty basic here, but... I'm sure missing it. Thanks.P.S. In case it lends any insight at all, here's a snippet of sample PHP code that is supposed to do this (I cannot confirm, not being a PHP guy):"subscription" => array("planId" => "1")
I am using several threads within a ColdFusion request to create PDF files. When I run the code on my ColdFusion developers edition environment, it works just fine. However, when I attempt to run it on another environment, I always get the same error:An error occurred when performing a file operation read on file MYAPPDIRECTORY\WebRoot\WEB-INF\cftags\META-INF\taglib.cftld. The cause of this exception was: java.io.FileNotFoundException: MYAPPDIRECTORY\WebRoot\WEB-INF\cftags\META-INF\taglib.cftld (The system cannot find the path specified).The issue is of course that ColdFusion is looking in the incorrect directory. I researched the issue and found the mention of a ColdFusion bug, but I am curious if anybody else has run into a similar issue and if they found a workaround/solution.
I have a function in cfc file like following to call MS SQL server stored procedure.The stored procedure check ID if ID exists then update table, if not then insert a new record. <cffunction name="NewRecord" access="remote"> <cfargument name ="MyID" required="yes" default="1" hint="My ID"> <cfargument name ="MyText" required="no" default="" hint="MyText"> <cfstoredproc datasource="mydatasource" procedure = "mySP"> <cfprocparam value = "#MyID#" CFSQLTYPE = "cf_sql_integer"> <cfprocparam value = "#MyText#" CFSQLTYPE = "cf_sql_varchar"></cfstoredproc> </cffunction>The insert works if the record does not exist from my click button on cfm file, I run the stored procedure works from SSMS works on update and insert.I got excute query error when the record exists in the table.The update works if I provide integer value for the text field.[
I have a Web, that use a symbolic link for centralized code. The Application.cfm, stored in the original web-root, will not read from codein the linked directory.Thank you for your assistance.
I'm exporting data to an Excel Spreadsheet but when the Excel spreadsheet is generated, if the user has used a carriage return during data entry, it creates a a new row in Excel. I've tried using a replace in the export field #replace(Comments,Chr(13),"", "all")# and if I use: #replace(Comments,Chr(13),"xx", "all")# I can actually see the xx, but the extra row is still being created before the rest of the entry starts. Any ideas on getting rid of the line breaks during export? Full Code is below (edited for clarity). <CFSET tab=chr(9)> <CFSET carriage=chr(13)> <cfif action IS "export"> <CFHEADER name="Content-Disposition" value="inline; filename=MNC_Data.xls"> <cfcontent type="application/vnd.ms-excel"> <cfquery name="get_Data" datasource="#appDSN#"> SELECT ml.DateSubmitted, ml.FirstName, ml.LastName, ml.Address1, ml.Address2, ml.City, ml.State, ml.comments, FROM #diff#mailing ml </cfquery> <cfoutput>Location#tab#Date Submitted# F
I read on a different forum that coldFusion 9.0 installs can be requested from support for developers who are working with clients who have not upgraded to CF10. Where does one make that request specifically?
Hi all. We are a county government organization that needs to keep all of its application and server configuration settings backed up in the event of a disaster (flood, earthquake, terrorist act, etc.). I don't see a way to back up the CF Admin settings for CF10 Standard.Does anyone know how I can back up the settings and then restore them if needed?Thanks for your time.-Andy
I have and exisiting form and I want to take the email and name from the form and input it into mysql database of emaillist . I also only want to do this if the i wish to subscribe is selected.Quotation Request For:Date: #DateFormat( Now(), "MMMM DD, YYYY")#Need By: #form.needby# Company: #form.company# Name #form.firstname# #form.lastname# Title: #form.title# Address: #form.address# #form.city#, #form.state#, #form.zip# phone: #form.phone# fax: #form.fax# e-mail: #form.email#Reference: #form.reference#DescriptionTruck Mounted Tank Capacity: #form.capacity# Fill Valve: Size: #form.fill_valve_size# Style: #form.fill_valve_style# Discharge Valve: Size: #form.discharge_valve_size#Vacuum Pump: #form.vacuum_pump# : #form.other_vacuum_pump#Aluminum Toolbox, Size: #form.toolbox_size# Mounting: #form.mounted# Misc. Custom Features: #form.custom_features#Service Units#form.port_toilet_service#UnitsMaterial: #form.scu_material# Number of Compartments:#form.compartment#Vacuum Pump:#form.scu_vacuu
Our Coldfusion 10 Standard server does not ever spike higher than 25%.I have a hard time believing we write such incredibly excellent code to have over a hundred users never make our server spike above 25%...How do I check to see how many CPU's ColdFusion is using or the maximum number of cpus it will use?Thanks!
When I logged off my bank account, the words "transferred to ColdFusion" appeared. What does this mean? My bank suggests virus or mole.
I am having an issue on one of our production ColdFusion 9 servers where the session variables are never timing out.I set up a very simple page to make sure I'm not missing something.Application.CFC page (I tried Application.cfm as well)<cfcomponent><cfset This.name = "TestApplication"><cfset This.Sessionmanagement=true><cfset This.Sessiontimeout="#createtimespan(0,0,1,0)#"><cfset This.applicationtimeout="#createtimespan(5,0,0,0)#"> <cffunction name="OnApplicationStart"><cfsetting showdebugoutput="yes" enablecfoutputonly="No"> </cffunction> <cffunction name="OnRequestStart"><cfdump var="#this#"> </cffunction></cfcomponent>Index.cfm page<cfif isDefined("Session.TimeStamp")><cfdump var="#Session#"><cfdump var="#Application#"><cfoutput>#Session.TimeStamp#</cfoutput><cfelse><cfset Session.TimeStamp=Now()></cfif>The TimeStamp session variable never times out and once it is
Hello,I have a new CF10 server which I will be using as shared hosting for my clients.I would like to disable the following tags and functions globally:TAGSCFCONTENT CFFILE CFDIRECTORY CFEXECUTE CFOBJECT CFREGISTRY FUNCTIONSGetProfileString SetProfileString CreateObjectI know in CF10 Standard I can block these for all sites using 'resource security', this will stop these tags from running at all.In CF10 Enterprise I have the option to create multiple sandboxes, but is it possible to create one global sandbox for all sites?My directory structure looks like:D:\sites\site1D:\sites\site2D:\sites\site3Can I create a sandbox disabling the above tags and functions just for D:\sites and all subfolders?I have tried but it does not seem to work - I have a sandbox setup for D:\sites with the above tags and functions disabled, but using a test script I can still use cfexecute in site1 to execute netstat.I do not wish to create a sandbox for each site as when new sites are added I would need to man
Hello, I have a new CF10 server which I will be using as shared hosting for my clients. I would like to disable the following tags and functions globally:TAGS CFCONTENT CFFILE CFDIRECTORY CFEXECUTE CFOBJECT CFREGISTRY FUNCTIONS GetProfileString SetProfileString CreateObject I know in CF10 Standard I can block these for all sites using 'resource security', this will stop these tags from running at all.In CF10 Enterprise I have the option to create multiple sandboxes, but is it possible to create one global sandbox for all sites?My directory structure looks like:D:\sites\site1D:\sites\site2D:\sites\site3Can I create a sandbox disabling the above tags and functions just for D:\sites and all subfolders?I have tried but it does not seem to work - I have a sandbox setup for D:\sites with the above tags and functions disabled, but using a test script I can still use cfexecute in site1 to execute netstat. I do not wish to create a sandbox for each site as when new sites are added I wou
Hi Adobe Community!We have a development server running with windows xp SP2 and Coldfusion 9.0.0. I installed now the Coldfusion Hotfix 3, so that we can run Java 1.7 on the development server. Because we have the problem now for some time. And we thought that the still used 1.6 Java Version was the problem. But now after the updates we still have the same problem.The only thing that changed was the error message in the log file:loader constraint violation: loader (instance of coldfusion/bootstrap/BootstrapClassLoader) previously initiated loading for a different type with name ""javax/xml/soap/SOAPMessage"" The specific sequence of files included or processed is "Path to file plus rownumber" So, but what are we trying to do? We use a SOAP Webservice and want to protocol the outgoing and incoming messages. For that and manipulating the SOAPHeader we set a HandlerResolver on our service. When the service wants to get the HandlerChain, the HandlerResolver adds our SOAPHandler to the list
I setup a printer on the server and added custom paper sizes to the print preferences. (i.e. 5.50 x 7.00) I can print on these manually with no issues. When I call the cfprint tag and reference paper="55by7" which is the name of the custom paper size, I get: Invalid media or paper for the cfprint tag.Error: Media 55by7 is not valid on ITPrinter. Available media are na-letter,na-legal,Oficio,folio,iso-a4,iso-b5,jis-b5,executive,iso-a5,iso-a6,monarch-envelope,na-number-10-envelope,iso-designated-long,iso-c5,iso-c6,Postcard 4x6,tabloid,iso-a3,jis-b4,Automatic-Feeder,Manual-Envelope,top,bottom.I verifiied the account that the coldfusion service is running as has full permissions to the printer. If I change the paper to one on the list above it prints fine. Suggestions?
I have 2 submit buttons in a form. I will upload a file and save in a filepath in server when I click on one "upload" button. I want to use this file path in the code when I click on another button called"Process". When I click the process nothing is happening with dump in below code.Form submits to itself. Is there any better way to do this. Thanks in advance. <table width="40%" border="0" style="border: 1px solid black;"> <form name="uploadform" action="processfile.cfm" enctype="multipart/form-data" method="post"> <tr> <td><input type="file" name="FileContents" size="25"> &nbs
There is nothing in the documentation that I can find about the checkbox "Configure 32 bit webserver" on the Configure Web Servers step of installing CF10. Does anyone know what this does?
I was looking through the coldfusion-out.log this afternoon on my CF10 Enterprise edition, and found multiple messages like this:License Error.You tried to access the Developer Edition from IP address (xxx.xx.xx.xxx). Already two IP addresses are accessing ColdFusion concurrently. The Developer Edition supports access by any IP address, but only two at a time, apart from the localhost. The additional IP addresses accessing ColdFusion are: xxx.xx.xx.xxx,xxx.xx.xx.xxx,xxx.xx.xx.xxxI recognize none of these IP addresses. Also, I didn't think there was a developer edition installed alongside Enterprise. I only access the Administrator by remoting into the server and calling it up locally.In the administrator settings under Security/Allowed IP Addresses for ColdFusion Administrator access, I have two addresses specified....neither of which are referenced in the error.Does the error message just refer to unsuccessful attempts to log into the Administrator (there's nothing in the
I am posting to another page form information, and then spitting out a generated document. <cfheader name="content-disposition" value="filename=#rejectSearchResults.RejectTempPath#"><cfcontent type="application/msword"><cfoutput>#documentGen#</cfoutput>This code right here pops open my RTF document to the user, but instead of going to the posted page it instead stays on the same page and halts further processing. How do I make the document open up and continue processing the rest of the code?
Another programmer has created a captcha file that's in a global directory so all we have do is call it with a CFINCLUDE, however, he did not build any kind of refresh into it. So I created a work-around thusly:<div id="captchaDiv"><CFINCLUDE template="/cfincludes/captcha.cfm"></div><a id="refreshCaptcha" href="">refresh</a>Clicking the refresh link activates the following code:$(document).ready(function() { $.ajaxSetup ({ // Disable caching of AJAX responses cache: false }); $("#refreshCaptcha").click(function(e) { $("#captchaDiv").load("/ajax/captchaInclude.cfm?_="+Math.round(Math.random()*10000)); e.preventDefault(); }); });Since I can't reload a
I'm trying to apply this hotfix http://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix-apsb13-03.html but when I go to System Info > Update File, I get a JRE security related error. I've tried Chrome, Safari, FF on PC and Mac without avail. Is there any other way to apply the hotfix without having some stupid applet? UGH. TIA
Hello, everyone.I was just informed by my SA that our new development environment is going to be CF10 (YAY!).The current development environment is CF9, and we have one Verity collection that we will have to migrate to Solr (shouldn't be an issue), and MANY Solr collections, all ginormous, that we need to migrate to the CF10 server.The SA says that he's been trying to put the collection files into a .car file, but that keeps breaking.Is there an easier, more effective way of migrating our CF9 Solr collections to CF10?Respectfully,^_^
I've been looking into creating "native" Word documents via CF10, and it looks like the best (free) option is docx4j. However, I can't seem to find many CF and docx4j examples. Does anyone here have experience using docx4j and ColdFusion that can point me in the right direction?Thank you
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.