『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
we have a series of applications that use cfusion_encrypt() to encrypt query strings passed between and with in applications. We are currently running CF10 and are not experiencing any problems. We are looking at upgrading to CF11 and are now experiencing a plethora of errors related to encrypt/decrypt.the issue i am currently working on is related to encrypt a url. no matter how I code the key,algorythm, or encoding, The encrypted portion of the url shows up as part of the link.example:<cfset theURL ="method=c.login&pid=validateLoginObj&vid=0&datasource=foo"><cfset encryptedUURL ="http://localhost/1/2/inventory/index.cfm?encrypt(theURL, '123','CFMX_COMPAT','UU')"><a class="nav_link" href="#encryptedUURL#">Inventory</a>when the page is displayed, the user sees:"WL.5KP1EY"3\'?=KH1* target="blank"> Inventory " as the link(yes I shortened the encrypted string for demo purposes)this sort of thing is through out 8 major applicat
Installed CF 11 on Windows 7. Installed it using built-in server the first time and later using Apache server. I get the same results regardless of server installed.The CFM page loads and displays text and will load <cfinclude> files. However a 404 error results when trying to load an .htm file. Also, in my .cfm index file, all CSS and Images are ignored (images show place holder box and Alt info but no image).I attempted the above via DreamWeaver 8 and also by directly entering the URL into the browser. I have tested this with both Safari and FireFox. The examples below had their URLs entered directly (no DW involved).The test pages I reference display perfectly in CF 9 but not in CF 11 (had same issue in CF10). I thought this was a TomCat problem at first. That is why I installed Apache.The above is the CF 11 page (same results if built-in server or Apache).This is the CF 9 page using built-in server.This is the source for both in
Hi,Do you know what's CF function do I need to get every 2nd character of a string? Basically, I have a string: w3f587j8a9. I want to get every 2nd, 4th, 6th, 8th, 10th, ect... So the result would be 35789. Of course the limit of the loop will be like 4 characters or something like that.Thanks.
Hi,Currently, the application is using Cold Fusion 9. Soon to upgrade to Cold Fusion 10 or 11.I would like to implement CAPTCHA on the login page.Is there any information on how to implement CAPTCHA in Cold Fusion?Thanks,Mike
HiI'm hoping that someone can suggest a basic strategy to debug this.I have a fairly large and complicated query that is executed by a function in a cfc.It returns (for example) 100 rows. If I use cfdump and then copy and paste the SQL of the query (with the variables, of course) into Navicat and execute exactly the same query on the same mySQL database, it returns 130 rows.Same SQL string, same database, same data - the only difference is that in one instance Navicat submits the query and in the other, Coldfusion does.Has anyone ever had anything like this happen before?
I need to check whether HTML 5 native validation is successful or not. Based on this I need to call an ajax function.An example code is here. http://jsfiddle.net/inDiscover/4Pbcp/Also providing the example code as below. <!DOCTYPE html> <html> <head> <title>jQuery UI Dialog: Open Dialog on Clicksssssssssss</title> <link rel="stylesheet" href="../css/jquery-ui.css" /> <link rel="stylesheet" href="../css/style.css" /> <script type="text/javascript" src="../scripts/jquery.js"></script> <script type="text/javascript" src="../scripts/
My client uses CFGRID and IE a lot (yeah, I know) and I have been tasked to solve this problem.When the grid first comes up in IE, the headers are invisible; mouse over them and they'll appear and stay on until you move on to a new table or refresh the screen.Firefox and Chrome do not have this problem.To make matters worse, my client has disabled the developer tools access in IE so I can't drill down to the CSS and look for a solution that way.I am trying to find a cfgrid.onload solution, but apparently the documentation is sparse on the methods available in cfgrid (know where they are? Please enlighten me!)I stumbled across .refresh() and updateHeaders() but I cannot find their proper syntax and just what the heck they're supposed to do. I know, lame, but try RTFM when you can't find TFM!My first try was to create and OnLoad this:function IEReload() { var grid = ColdFusion.Grid.getGridObject('mygridname'); grid.updateHeaders('mygr
I took the below from a function I'm using to render a weekly calendar similar to outlooks weekly calender view. The problem is when I start entering HTML outputs it begins to run very slow. I have another function that returns the events in a structure but if I loop the structure to find events it crashes the browser with a timeout. Can someone tell me what I'm doing wrong, is there a better way??var local = StructNew();//Copy the URL and Form structures into REQUESTREQUEST.Attributes = StructCopy(URL);StructAppend( REQUEST.Attributes,FORM); //Define a default opening dateREQUEST.DefaultDate = Fix(Now());//START *** time incrementslocal.dtTimeIncrement=5;local.dtTimeStart=1;local.dtTimeEnd=24;local.dteventsPerTime=1;try{ local.dtThisWeek = (REQUEST.Attributes.date - DayOfWeek( REQUEST.Attributes.date ) +1);} catch(any excpt) { local.dtThisWeek = (REQUEST.DefaultDate -DayOfWeek( REQUEST.Defa
Hi When i logout from my index Page then Login Page Open but when i click on back button in Browser Then Index Page open. I want once logout then not open other when clik on back button in Browser page like facebook..I add my code Follow:Application.cfc<cfcomponent> <cfset this.datasource = "TestingDataSource"> <cffunction name="onRequest"> <cfargument name="templatename"/> <cflogin> <cfif isdefined("form.submit")> 
A client is asking me to upload files in word, pdf, or whatever format. These documents are legal documents. The upload is no problem, however, he also wants me to create a screen for him to edit uploaded documents. The majority of the documents will remain the same, but the parties (Company Names) will change. He wants to be able to put the two party names in, and then print/download the document for the parties to then sign.I have not had to do this before and I cannot think of an easy way to do this. I am thinking I will have to convert the word, pdf, or whatever file to html, then manually create the text fields for every document. Basically, I will make every documene he uploads an html form. I will then create a pdf document for the user to print or email. The main issue is the fact that every html form will have to be created manually and this can get expensive for him and tedious for me.Does anyone here know of a better way to do
I am trying a build a news application for my organization. My organization have several sub units that will each contribute their own news. There will be a single news home page that consumes all these different news based on the day the news article is posted. Is there any custom apps out there with this framework that I can work from?Cheers,Alex
Hello,Does anyone know if a page exists that lists all of the security updates and hotfixes for all versions of Coldfusion? I find their update/hotfix description pages to be very frustrating by the way manage/announce/make available their updates/fixes. I am using CF9.0.2.Thanks in advance!Joe
Hello,We have this stupid .cfg file extension that is translated as .cfm but I cannot get coldfusion Builder 3 to color code / format the text for this extension.The file has been added in File Associations and it is setup as a CFML Multi Page Editor but the scripts are still basic black text. I've restarted builder as well but still no color coding.I do get .cfml tag insight but just no colors. Any idea how I can fix this?Thanks peoplez
Hi,I am trying to install the latest (as of Monday, 07July2014) CF11 release on an Ubuntu 14.04 LTS system. I know, 14.04 is not officially supported, but the differences between 13.10 and 14.04, at least Apache-wise, are minimal if any. Whenn trying to tell the installer where the Apache binary is located, and supplying the correct Apache 2.4.7 path to /usr/sbin/apache, the installer claims that the file does not exist. I also tried the (incorrect) recommendation posted by others elsewhere of pointing to the shell script /usr/sbin/apache2ctl, but it fails with the same error.Thanks,Ian
I have to move a few sites to a windows 2008 R2 Currently it is using coldfusion with IIS. I need to also get Apache2 to connect to Coldfusion at the same time as IIS. Is this possible with the version that I have, and any one know any good places to look for info on how to do this.
I can't no longer download the 30 days trial for CF 10, all I can see is CF 11 when I go to http://www.adobe.com/go/trycoldfusion/ It is OK for me to try CF 11, it is not a problem because I have not submitted a purchase request to my department. I have no difficulties installing CF 11 on my Windows 8, the problem is on how to configure CF to work with IIS or vice versa. I found some suggestion to modify IIS8 into IIS7, I did it but I still can't get it to work with CF11. Now I already have IIS 7 instead of 8 and I still can't open my website nor CF administrator. I got internal server error message 500. Is this because I have to install some CF hot fixes or something else? there are not too many tutorials out there with CF 10 or 111 and Windows 8 IIS. Is there any easy step by step instruction either from Adobe or someone who has successfully install CF10 or 11 and don't mind sharing it with me?
I only want to print a page if two conditions are met. On each section I am using the following Print When Condition:DateFormat(query.asofdate, "mm/dd/yyyy") NEQ DateFormat(calc.AmtDate, "mm/dd/yyyy") AND LSNumberFormat((query.bal + calc.anticipated), "_.__") LTE LSNumberFormat(25.00, "_.__").The date check works great by itself and the amount check works great by itself but I can't get them to work together. Any ideas?I am using CF10.
I have a done a CFQUERY and retrieve user's email and name. Then I try to do a CFMAIL something like:<cfmail to="#user.email#" from="sender@somewhere.com" subject="Message from #sender_name#" type="html"><table><tr><td>Dear #receiver_name#</td></tr><tr><td>#form.message#</td></tr></table></cfmail>This seems to work with CFMAIL and the variables are being populated properly. However, when I placed the content into a template content.cfm because I want to use it somewhere else as well. So content.cfm has:<table><tr><td>Dear #receiver_name#</td></tr><tr><td>#form.message#</td></tr></table>and the program became:<cfmail to="#user.email#" from="sender@somewhere.com" subject="Message from #sender_name#" type="html"><cfinclue template="content.cfm"></cfmail>Now the problem is, I am NOT getting the variables (#receiver_name# and#form.
HiMy custom number formatting function does not work. It was working fine when the site had a standard client server architecture. However, when we changed to using REST API with javascript and HTML5 the function works for most parts except cases when I need it to display 0's for decimals.Basically, the function takes arguments a number and number of decimals and, returns the number rounded to the number of decimals passed. Below, I stripped the function to bare minimum, same as I was testing.<cffunction name="dispCostPeriod" access="remote" returntype="string" output="false" hint="Displays costs for a given period to user"> <cfargument name="in_decCost" type="numeric" required="yes" /> <cfargument name="in_iRound" type="numeric" required="yes" /> <cfset decRoundedNum = NumberFormat(in_decCost, "_." & RepeatString("9",in_iRound))> <cfreturn decRoun
I want to send any command to my virtual port to open a cash drawer ?thanks
My company just made the mistake of upgrading to Dreamweaver CC 2014. Dreamweaver now has virtually no ColdFusion support. Even Ben Forte recommends using other non-Adobe editors for server-side CF coding (http://forta.com/blog/index.cfm/2013/6/30/On-Dreamweaver-CC-And-ColdFusion). He does recommend Dreamweaver for client-side coding but most of the projects at my work involve both client- and server-side coding.Adobe, please get your act together. This screw up on our part (for buying in to the "upgrade, CC is great!" campaign) or your Dreamweaver team just ignited another “why CF?” argument at my work and I’m getting tired of getting beat up defending your apparent product incohesive missteps -- intentional or not.
From the ddocumentationhttp://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-7d39.html#WSc3ff6d0ea77859461172e0811cbec22c24-7cceI been following the steps inserting the code into application.cfc <cfcomponent output="false" hint="Prevent security attacks where an unauthorized party attempts to access coldfusion files under /CFIDE/scripts/ajax/FCKeditor/editor/filemanager folder"> <cfset this.name = "fckeditor_filemanager"> <cffunction name="onRequestStart"> <cfargument name="targetpage" required=true type="string" /> <cfset verifyClient()> <cfreturn true> </cffunction> <cfcomponent> <cfset This.name = "BugTestApplication"> <cffunction name="onError"> <!--- The onError method gets two arguments: An exception structure, which is identical to a cfcatch varia
Hello,I was curious if it was possible to dynamically create an implicit structure where you might occasionally want to omit some keys from being added to the structure?I played around with using ternary operators in the structure creation with no luck. <cfset temp = { name = "Dave", (1 IS 1 ? "" : Job = "Superhero") } />The only way I can see doing this now would be to create the structure and then use StructKeyDelete on the keys I want to remove OR build structures the traditional way and cfif my way around the keys I don't want to add."Ex: <cfset structKeyDelete(temp,"Job") />or<cfset temp = structNew() /><cfset temp.name = "Dave" /><cfif 1 NEQ 1> <cfset temp.job = "Superhero" /></cfif>Does anyone know how to create dynamic keys in a structure while defining it implicitly? Thanks!
Hi, I'm trying to connect to a MS SQL2000 and a MYSQL server with CF11.System WIN7, Apache32, bit CF11 32 bit, the error message is.Connection verification failed for data source: picosjava.sql.SQLException: [Macromedia] [SequeLink JDBC driver] [ODBC socket] internal error: the data source name not found and no default driver specifiedThe root cause what that: java.sql.SQLException: [Macromedia] [SequeLink JDBC driver] [ODBC socket] internal error: the data source name not found and no default driver specifiedWhat can I do? Thank you for an answer.friendly greetingsJochen Vetter
Please let me know the tips for speed up application ....Our application need to show million records from database its taking time to load ... Thanks in advance Bibin
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.