Questions
Recently active
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSd8001ae4abdbd9112ab20a5d1350d854529-8000.html
Hi everybody, I'm trying to configure a CF Environment using Adobe ColdFusion10 on my Mac Mini running Lion Server and on the client site CF Builder 2.0 on my MB Pro running Mountain Lion 10.8.3. My Webserver uses a self-created root certificate for SSL connection. Simple .cfm files I copied to the webroot manually are as well displayed as any other .html or .php sites uploaded to the server (which I assume means that the connector is working properly). Also the CF Administrator Website is working fine using the https:// connection at port 443.The main problem I'm constantly running into is, that when I'm trying to configure a remote server in CF Builder (… defining port 443 for SSL connection) the status of the configured server is "Running" when the option for RDS "Enable SSL" is disabled. When I try to connect to the sample databases in the "RDS Dataview" with this settings I get the following message:An error has occurred. See error log for more details.For input string: "<!DOCT
Hi. Has anyone used jsoup for cleaning up user-submitted HTML?When I ask jsoup to add some extra attributes to its whitelist I get this error: "The addAttributes method was not found."The addAttributes() method requires an array. I tried using a CF array, a Java array, and even a string, but nothing worked.I'm using CF8. My test code is:<cfset jsoup = createObject("java","org.jsoup.Jsoup")><cfset whitelist = CreateObject("java", "org.jsoup.safety.Whitelist")><cfset html="<div style='font-size:24pt;'>This is BIG text</div>. This is an unwanted script: <script>alert('Boo!')</script>.<br>"><cfset myAttribsArray=[":all","style"]><cfset myAttribsArray=javacast("string[]", myAttribsArray)><cfset sanitized = jsoup.clean(html, Whitelist.relaxed().addAttributes(myAttribsArray))><cfoutput><textarea rows="10" cols="60"> #HtmlEditFormat(sanitized)#</textarea></cfoutput>The code works if I don't bother with ad
Hi,what is wrong with this code since the drop down box is not changing to display the correct value. It didn't highlighted the one i selected..<cfoutput><cfif isDefined('form.code')> <cfset page.code = form.code /></cfif><form action="#cgi.SCRIPT_NAME#" method="post" name="mycode"><select name="code" required="yes" onchange="this.form.submit()"> <option value=""><b>Select Customer</b></option> <option value="AB" <cfif isDefined('form.code')><cfif form.code eq "AB">selected</cfif></cfif>>AB- None</option> <option value="CD" <cfif isDefined('form.code')><cfif form.code eq "CD">selected</cfif></cfif>>CD- Deliver</option> </select></form><cfif isDefined('p
I may have been working too many hours lately, or I'm simply losing my mind, but I'm having a heck of a time with a very strange result from a queryI have a simple query that retrieves emails from a listSELECT emaillist_emailFROM emaillistNow let's say the above gives 50,000 recordsNow take thisSELECT emaillist_block_emailFROM emaillist_blockSay that gives 5,000 recordsNow put them togetherSELECT emaillist_emailFROM emaillistWHERE emaillist_email NOT IN(SELECT emaillist_block_emailFROM emaillist_block)Now unless I am losing it, I should get 45,000 records, presuming that the 5,000 are in both tables.The issue is, I get zero records.Any ideas?*** I Have solved the problem after digging a little deeper. There was a NULL record in the data which had been imported from XLS causing it to throw the query out, once I removed it the correct records were returned ***
Our Single SignOn agent (SiteMinder) places a custom variable, HTTP_EMPLOYEEID in the header. Using ASP, I can dump the header info and see that variable/value. But, with a similar CF script, some info, including HTTP_EMPLOYEEID is not there. Any ideas?
I don't have cfflush anywhere in web page and cookie is not being set. It was working in cf9
We need to upgrade from sql server 2000 to 2008, but for now we don't have the resources to upgrade the cold fusion8. Will coldfusion8 works with sql server 2008 even though it's not supported?
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSd160b5fdf5100e8f-4439fdac128193edfd6-7eff.html
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7f8e.html
We're currently is using ColdFusion8 and need to upgrade the database from SQL Server 2000 to 2008. Will ColdFusion8 work with SQL Server 2008 compatibility level 90?
Our clients tend to enter both single angle brackers (i.e. "hours <4") and the HTML tags into a form field. We can not use HTMLEditFormat() on the field since they want their formatting preserved. At the same time, using a single bracket trancates the field output. Is there a way to distinguish a single "<" from the beginning of an HTML tag so we can internally substitute it with &lt;?Thanks for your advice!
Hi,I'm planning to move my ColdFusion framework to the Cloud, Amazon EC2. It will expose web services as need it for mobile devices and also regular web sites.My framework requires a relation database to manage users, authentication, etc. I want to be able to scale adding more frontend web servers.What do you think?Do you think session management is going to be a problem?What about hosting my files in amazon S3? or just in the local web server?I think the current AMI with cold Fusion 10 is a good option.I am kind of new to CF. Any advice or other considerations are welcome.Thanks a lot
My query returns item list.select itemname from tbl_listi want to disply like this1. L0125 #itemname#2. L0126 #itemname#3. L0127 #itemname#4. L0128 #itemname#example...1. L0125 Pen2. L0126 Book
I moved all my code from a Win2003S/CF8 box to a Win2008S/CF10 box and now am having issues where CF loads blank pages after a few hours of uptime. I'm noticing that the coldfusion.exe service starts around 500mb of memory, and slowly moves up to about 780mb of memory. As it tops 700mb it begins loading blank pages which can be reloaded for intended content. Once it hit 770mb it loads ONLY blank pages, and the service can no longer be restarted. It must be killed by Task Manager.This was never a problem before on CF8.I have searched far and wide for a solution, but found only this:http://stackoverflow.com/questions/7788280/memory-leak-when-redeploying-application-in-tomcatI'm not sure what code is causing the memory balloon, or even where to look for clues. None of the logs have anything in them other than the occasional missing file due to a bad offsite link, and plenty of "query timed out" errors due to CF Server crashing.I'm now restarting CF every two hours.Completely flummox
You can now buy ColdFusion AMI (ColdFusion Enterprise Amazon Machine Image) from AWS Marketplace at an hourly based pricing: Large Instance: $0.15/hrX-Large Instance: $0.30/hrIt is available on both Windows 2008 R2 and Ubuntu 12.0.4.You are also entitled to get support from Adobe and all you are required to do is send an email to the Adobe support (CFSup@adobe.com) with your AWS account number to start making use of support. Details of which can be found on Amazon's page for the AMIs as well.Here are the links on Amazon Marketplace to buy the Windows and Linux AMIs:Windows: https://aws.amazon.com/marketplace/pp/B00BQNEX5SUbuntu: https://aws.amazon.com/marketplace/pp/B00BR6SYHWHere's the link to the Product Page on adobe.com : http://www.adobe.com/products/coldfusion-family/coldfusion-amazon-web-services.htmlThe online documentation for this new offering can be found here: http://helpx.adobe.com/coldfusion/release-note/coldfusion-10-cloud.html
Traditionally, when I encapsulate code in a <CFTRY> block, I have it use the 'APPLICATION.coms.fw.error' component to handle processing of that error.This is all well and fine, but during the first call to the application, where everything is starting up, lots of processing is done reading configuration files to get pathing, etc. And that code has <CFTRY> blocks, but the thing is, they wouldn't be able to all the error component (because it hasn't yet been instantiated).So should I just do something like:<cfif isDefined( 'APPLICATION.coms.fw.error' )><!--- Handle Error Via Component. ---><cfelse><!--- Output message to screen, use CFLOG to log error and the CFABORT to halt further processing. ---></cfif>
I cannot believe how bad CFB2 is! I have been using CFB1 since beta and I love it. When CFB2 was first released, I installed the trial and quickly learned that I need to revert back to CFB1. I recently installed CFB2 on a client machine, probably more than a year later, hoping that things were better, and once again I am having to uninstall!Here's what is wrong:All of the keyboard shortcuts that I use were replaced by more difficult key combinations and I cannot customize them back because there are conflicts with stuff I don't use. I can live with this, but why?Find and replace within selelected text area DOES NOT WORK! Unbelievable! Someone told me you simply select the text and it knows to search and replace only selected text. It replaced all occurances on the page!File search used to display results in tree format with list of occurrences under each. This is invaluable and gone! You can either see a tree or a list. What g
Given a simple Word (2010) document (.docx) that is a buleted list of three lines of text using completely default formatting, CFDocument will generate a PDF that has bizzarre icons for the bullets.We have 3 separate servers that behave in 3 different ways.All 3 servers are running the same versions of Coldfusion (9) and OpenOffice (3.4.1). They're all Windows Server 2008 R2 (64-bit) servers.One server generates a PDF with clock symbols for the bullets. 0xB7 in Wingdings.One server generates a PDF with diamond symbols for the bullets. 0xB7 in Wingdings 2.One server generates a PDF with 35/17 symbols for the bullets. 0xB7 in MS Reference Specialty.Word is using the Symbol font for the bullet character, and Calibri for the body.All servers have the Symbol font listed in the Font Management of the CFIDE Administrator:symbol Symbol SymbolMT TRUETYPE PDF/FlashPaper c:\windows\fonts\symbol.ttf We're calling CFDcoument like so:<CFDOCUMENTFILENAME="C:\bullets.pdf"SRC
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7995.html
Our server has gone down and the Coldfusion 8 service will not start. There is no information in any of the logs for anything today since its gone down. Ive checked the root logs directory as well as the runtime logs directory.The server.log is the only file being updated and it shows "Starting logging..." and then "Starting license..." and hangs. The service does not start and the log gets nothing more after this point. Memory continues to go up slowly, we've increased the start timeout tremendously with no effect. There is little to no CPU usage.Our server is licensed and has never had this problem before. It is the standard version.Our server is completely down and we are losing clients. From what we can tell a windows update occurred, which we have since removed in case it was the issue, and when the server restarted CF did not come back. We have been working on this for hours with no results.Please help and let me know anything you m
CFDocument does not render my fonts in the PDFI tried the following things:Add the Font in the CFAdmin(.ttf)Try to use the <font> - Tag instead of CSSAdd the Font via @11220649-face in CSSI use Coldfusion 9 on LinuxHere is the code, which i use to generate my PDF <CFFILE action="write" file="mydocument.pdf" output="#content#" mode="777" /> <cfheader name="Content-Disposition" value="attachment; filename=mydocument.pdf"> <cfcontent type="application/pdf" variable="#content#" />
I'm trying to install the mandatory jar file. I'm getting an error ===============================================================================Adobe ColdFusion 10 (created with InstallAnywhere)-------------------------------------------------------------------------------Preparing CONSOLE Mode Installation...===============================================================================ColdFusion user privileges--------------------------You must be root to install.
HelloAfter creating a new form in Adobe LiveCycle ES2 from a blank template, ColdFusion 10 returns errors. When tring to perform a cfpdfform action=read on the pdf form, Coldfusion returns "String out of range". Using the same document, tring to pre-load the form fields in the PDF using the cfpdfform action=populate, I get the message from CF10 "Premature end of file". I'm not sure why this is happening. I have added the attribute overwrite="yes" as per a bug in version 8, but no luck. I have tried using a different PDF created from a template in ES2 with no luck. I can dump the values returned to CF from the PDF I created form using cfdump tag. I've even tried the sub-form attributes. I think there may be an issue reading the PDF form attributes from the source document, but I cannot verify as CF returns the error message. Any suggestions would be helpful.Thanks, JK
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7c15.html
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.