『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
We upgraded ColdFusion ver 9 Developer Edition to ColdFusion ver 10 Standard Edition. The CF Administrator reports that it is running Coldfusion 10 Standard edition and the correct serial number, but is still running in developer mode.****I called Adobe Support, but I could not make the support agent I spoke with understand that ColdFusion is an Adobe product. She kept asking if it was for Acrobat or Illustrator. Once she understood that ColdFusion was the Adobe product, she wanted to know which opperating system I was using. She would not accept Windows Server 2003 R2 SP 2, and insisted the correct answers were XP, 7 or 8. I finally entered the ver 10 serial number in the "new serial number" box in CF Administrator, and rebooted the server, even though the Administrator was already reporting the correct ver. 10 serial number. That seems to have solved the problem.
When will support for RHEL 6.4 be available?
I am trying to find a way to "sync" the local and remote admin settings. In other words, when I create or update a datasource, I would like the remote instance in a cluster to update as well.I currently have the cluster loadbalanced and able to share sessions. The remote host is registered and in the cluster.One thing I haven't been able to do as well, is stop and start the server. I keep getting an error in the console and am not sure what I am doing wrong.If anyone has an example, or can help me troubleshoo that would be great.What I have done is followed the instructions here: http://help.adobe.com/en_US/ColdFusion/10.0/Installing/WSc3ff6d0ea77859461172e0811cdec18c28-8000.html#WS932f2e4c7c04df8f288f04831353cc0bade-7ff7But it is confusing because jetty is not the same in my configuration. I am running CF10 on the built-in tomcat server.
How to set URL Post data to UTF-8; It is done like this in IOS code:NSData *postDataString = (NSData *)[datastring dataUsingEncoding: NSUTF8StringEncoding allowLossyConversion:NO]
I'm trying to set up a new development box and have bumped into a problem I'm hoping someone on the forums can help me get past. I am on a new install of OS X 10.9.1, and have Java 7 installed. Running "java -version" in a terminal returns the following:java version "1.7.0_51"Java(TM) SE Runtime Environment (build 1.7.0_51-b13)Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)I am hoping to install CF10 on stock Apache Tomcat 7 on this system. I have downloaded the developer edition of the CF10 installer, but when I run it, it opens a dialog with the message "To open "Adobe ColdFusion 10," you need a Java 6 SE runtime. Would you like to install one now?" Is there a version of the installer that will run against Java 7 so I can create the needed WAR file for deployment on Tomcat?Thanks for your help.Edited 2014-02-17: I've been able to get past this by creating the needed WAR on one of my older Mac systems where I still have the older Java 6 runtime around, but the question
I am having problem using cold fusion and jquery.ajax it will throw errorJSON.parse: unexpected non-whitespace character after JSON datathis is the response in firebug {"EMPCODE":"E-00001"} child.cfm <cfif IsDefined("empmycode")> <cfset myarray= getempCode(#mycode#)> <cfoutput>#myarray#</cfoutput> </cfif> <cffunction name="getempCode"> <cfargument name="empcode"> <cfquery name="empQuery" datasource="#datasource#"> Select empcode from employee where empcode = '#empcode#' </cfquery>  
I'm about to migrate a Coldfusion9 application running on SunOS to Coldfusion10 on Suse Linux.The webpages work perfectly on the new installation.However there is also kind of a system interface where clients post forms to a CF page where one of the form fields (intentionally) contains binary data mixed with plain text.This worked perfectly on the old installation.The formfield is taken out of the request using<cfset requestContent="#form.fieldt#"/>On the new installation this works for the plain text part, but the binary data is somehow changed.Any idea how I can prevent Coldfusion from changing the binary data?ThanksPedro
I have the following script that will fire off an email when a set number is achieved, ie: "minrequire" is set to 6. When six students have subscribed, an email is sent to the moderator. The problem is the email is being sent multiple times as more students subscribe, instead of only once at 6. Below is the script I am using. Why is this sending more than one emails?<cfquery name="getNumber" datasource="#application.dsn#"> select CourseTitle, rid from signups where courseTitle = '#eventname#' and rid = '#rid#' </cfquery> <cfif getNumber.recordcount EQ #getCount.minRequire#>
I'm not highly technical, and this is probably something easy, but here is my dilemma.First, define some variables:<cfset datasource = '#MyDatabase#'><cfset query_tbl = 'MyDatabaseTable'><cfset field1 = 'actual_fieldname'><!--- a field in MyDatabaseTable --->Then, run a query using those variables:<cfquery name="cfqGetItems" datasource="#datasource#"> SELECT * FROM #query_tbl# ORDER by #field1# ASC </cfquery>Then, attempt to display the query output:<cfoutput> <p>#cfqGetItems.field1#</cfoutput>Insead of the values for "actual_fieldname", I get an error message: "field1 is not defined in query cfqGetItems".I realize that defining the output as "#cfqGetItems.field1#" is incorrect, but how can a "translation" be done? What is the correct way to get the output to generate the values for "actual_fieldname" instead of thinking it is still dealing with the variable "field1"?Thank you very much for any help!
The tech specs do lot list this OS (http://www.adobe.com/products/coldfusion-standard/tech-specs.html) but it is liseted on the Enterprise Edition specs (http://www.adobe.com/products/coldfusion-enterprise/tech-specs.html)
I just posted a comment over on Ben Nadel's site about this issue but I wanted to get some feedback from my fellow ColdFusion developers to see if anyone else has ever experienced this issue:I have a function within a CFC that creates a query object and then nests another query object inside it (masterQuery > subQuery). The CFC returns the query object and to make things easier I loop through the query columns and bring everything into the local VARIABLES scope using the following format: "#a#" = masterQuery["#a#"] where "a" is the name of the query column.After I had all of the query columns in the VARIABLES scope I tried to run a QofQ on the subQuery and low and behold I got an error message:"coldfusion.sql.QueryColumn cannot be cast to coldfusion.sql.QueryTable"However, when I tried a different method for bringing the masterQuery columns to the VARIABLES scope, I was able to get it to work: "#a#" = evaluate('masterQuery.#a#')After doing some playing around using GetMetaData().get
I don't usually get this type of error message when using cfinvoke this way (see below) but this time I keep getting this error no matter how I modify my logic or my codes.I've spent a week trying to find what's going on and could not find the answer. Can anyone help please?This is the last modification I made with my codes and I still can't get pass this section due to the error message.This expression must have a constant value. RowIteration.cfc: line 107105 : ThisRowNo="#Trim(arguments.ThisRowNo)#"106 : Camp="#arguments.Campus#" 107 : LYear="#arguments.LYear#"> Here is how my codes, it used to work when I do it this way:<!--- I'm looping over an array & validate each required array elements ---> <cfset arr_FileContents = ListToArray(list_w_null2,chr(10), true)> <CFSET var_Count=1> <cfloop index="i" array="#arr_FileContents#"> <CFSET PipeLine = Replace(i,chr(9),"|", "ALL")
We are seeing this error since going to ColdFusion 10 enterprise. We have installed all the updates. Server is Windows 2008 64-bit with all the latest updates applied.This appears to be very random, but it is causing some headaches with the mail spool. If 10 emails are in the queue, 9 will go out and 1 will go to undelivr even though all the parameters are the same. We move the file back to the spool and it goes through.Right now I am dedicating a resource to monitor the spool so all emails go out (we send out hundreds per day from our app) but we need some type of resolution. Any help is appreciated!
Hi all!I'm having an issue where cfgridcolumn takes the number 65.20 and displays it as 65.2 because it appears to always round to 1 digit after the decimal.How do I get it to display "65.20"? (two digits after the decimal)Thank you!B.
Hello,I have some code that can be used to check if a URL exists where arguments.u is a full URL (http://www.google.com/ for example) - from this I can determine if a URL exists or not as part of a broken link checker for our content.<cfhttp method="head" url="#arguments.u#" resolveurl="no" throwonerror="no" />But, in some cases, that arguments.u will be a https URL, like https://www.keeleklikk.ee/ - which is a valid URL and I can access it no problem.But this gives me the following response from the cfhttp:structCharset[empty string]ErrorDetailI/O Exception: peer not authenticatedFilecontentConnection FailureHeader[empty string]MimetypeUnable to determine MIME type of file.Responseheaderstruct [empty]StatuscodeConnection Failure. Status code unavailable.TextYESHow can I modify my cfhttp call so that it properly checks https URLs as well as regular http ones?Thanks,Phil.
Please reply soon.
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.
My question is not specific to ColdFusion, I know how to set HTTP status codes.What I am wondering is if anyone knows of any best practices for what to do when a known attack comes into a site. I am speaking primarally of specifically formatted URLs of people scanning to find weaknesses in my sites.I have collected a large number of URLs that we get scanned for regularly that are clear attempts to locate weaknesses.Should I?Send a 404 telling them the attacked page does not existsSend a 503 making them think it erroredSend a 200 with a blank page making them think they go to a real pageSomething else I havn't concideredI am trying to avoid any sort of escalation on their part thinking they can hit my site harder, IE, if they get a 503, might they believe that my site could be weak and they step up the attack...Any thoughts would be greatly apreciated.Thanks
Hellow everyone,I want to be able to search the whole keyword not just the part of this. For example, if user enters a keyword "material", i want the results return the list of document that contain the whole word "material" not matter, match, matchup, etc.I've tried with type="explicit" but got an error message ""error executing query:unknown_handler_explicit". It doesn't matter what type i specify, i always got this message. Can anyone plz help?ThanksLisa<cfsearch name = "myDoc" collection = "customer" criteria = "#url.search#" type="explicit" startrow=1 maxrows = "100">
We have CF 10 Enterprise installed on Window Server 2008 R2, using IIS with multiple web sites defined. These are set up in IIS in the standard way of mapping a domain name to an IP address. The sites are pointed to various directories on the D drive and CF is installed on the C drive. What is happening is that occasionally a call to a CFM script will error out, and in the CF log it shows that the file wasn't found because CF was looking for it in C:\ColdFusion10\cfusion\wwwroot instead of in the correct directory on the D drive. I did some testing by adding an index.cfm to C:\ColdFusion10\cfusion\wwwroot and I found that file overrides the index.cfm in the root of the site in IIS. How can I get this resolved so that the CF web site is not interfering with my IIS web sites?
Got a cfserver that needs quite a few datasources, so it's tedious to enter them by hand. Is it possible to do a trick like the old copying neo-query.xml?
First time I tried this tag CFPDF to create images of each pages.But, the quality result is fully unacceptable. Bad images, and text unreadable.Loosing time. Why creating such tags ?I am using CF v9.Is there progress in next version ?or is there someting which can be done to get the Quality ?Also the scale at 100, is very small compared to original PDF.it seems it does 50% at 100 scale ?Thanks for any help.I am vey desapointed.(last message I have seen in the forum date of 2010, so I post this new)Pierre.
This is critical.Our server is giving the folloowing 500 error:java.lang.NullPointerException at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:285) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)I have restarted the entire server a few times, but this error keeps coming up.This is business critical, and I am not an expert at Cold Fusion. Please help!
Hello, CFers!I need to access a remote page using the cfhttp. To be more specific, I need to access this page: https://sistemas.dnpm.gov.br/SCM/Extra/site/admin/dadosProcesso.aspx?numero=861738&ano=2013 (Sorry, Brazilian government sites works better only in the I.E.)This is a site of the Brazillian government that supervises mining areas all over the country. Each mining area has its own "numero" (number) and the "ano" (year) when it was registered at the National Department of Mineral Production - DNPM agency. As you can see (if you clicked the link to the DNPM website) there's a tab "Poligonal" at the top of it. Clicking on it will start a function created probably by the ASP.NET and it will generate a PNG image showing the area and some other processes near it. Example of the link above:So here is the problem: Can I get the data from the "poligonal" tab using the CFHTTP, knowing the poligonal page doesn't have a direct link? I tried all I could to find a way to get this image,
Hi Guys,Anyone saw this error when use the cfpdf tag?I need extract a text of a pdf file, but when run the script the CF Server show me this error:PDFDocException <p/> Created on Sep 12, 2006 How I solve this exception?Anyone know?TksHugsFabiano Magno Pechibella
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.