The official community for ColdFusion.
Recently active
Hi,Something strange concerning <cfhtmltopdf>.The following html code is diplayed correctly in a cfm file:<!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"></head><body>Display block caracter : &#9608;</body>When using <cfhtmltopdf>, the Block caracter is replaced by another caracter (seems to be the broken bar caracter &brvbar;):<cfprocessingdirective pageencoding = "utf-8"><cfhtmltopdf unit="cm" margintop="1" marginbottom="1" marginleft="1" marginright="1" orientation="portrait" pagetype="a4"><!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"></head><body>Display block caracter : &#9608;</body></cfhtmltopdf>I did try on my local Windows 10 computer and on a Windows Server 2012 R2, and the result is the same.Could anyone help me with this ?RegardsConfiguration CF2016 Update 3 on Windows computer
I am in the process of upgrading one of our production CF servers to update 11.8.The update installs but when I check things out in the cf admin the DSNs are reporting back the following on verification:SQLNonTransientConnectionException: [Macromedia][Oracle JDBC Driver]No more data available to read.I have also tried the following updates: 11.9 and 11.10 and get the same errors.Each time I have had to roll back the update.Any help in resolving this would be appreciated.Thank you.The current server info is:Server ProductColdFusionVersion11,0,07,296330EditionEnterprise Operating SystemWindows Server 2012 OS Version6.2 Update Level/C:/ColdFusion11/cfusion/lib/updates/chf11000007.jar Adobe Driver Version5.1.3 (Build 000094)
Just a quick one. Is it possible to unhash / decrypt an SHA hashed field and if so how?
I use Windows 10. In my advanced settings, Flash is turned on. Using the adobe test, it says my flash is not turned on. I can play youtube and other things but typically if I try to open something in email that requires flash, it tries to get me to upgrade which of course I can't.Hopefully this written description helps.Bill
hello,i am trying to access Coldfusion Administrator but it cat accessError : The request has exceeded the allowable time limit Tag: cfoutput
Hello, all,I'm trying to set it so that my application will return a 404 error as well as display a custom error page if a template is not found.My onMissingTemplate code as it currently is:<cffunction name="onMissingTemplate"> <cfargument name="template" type="string" required="true" /> <cfset session.msgTmplt = "true" /> <cfset this.onRequestStart(arguments.template) /> <cfset this.onRequest(arguments.template) /> <cfreturn true /></cffunction>Now, if I go to www.domain.com/missing/doesntexist.cfm, I get a 200 response. How can I pass a 404 response?V/r,^_^
Hello,Weblogic 10.3.3, Coldfusion 9.0.0 deployed as an application.We've had this working for at least 5 months, and restarted the application server many times with no problems.We restarted today and we get the output below. Nothing has changed as we know it. I've seen people having this issue after upgrading to 9.0.1, but we haven't done that. Does anyone know what could cause this problem? We can't even get to the administration console!ThanksThe DataSource service is not available.This exception is usually caused by service startup failure. Check your server configuration. The error occurred in E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm: line 88Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm: line 76Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm: line 2Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm: line 1-1 : Unable to display error's location in a CFML template. Stack T
I have a website that worked fine with Coldfusion 10 and now I have updated to Coldfusion 11 and this code doesn't work:<cfheader name="content-disposition" value="inline; filename=#vPublicFile#" /> <cfcontent type="application/pdf" file="#DownloadFolder##qryDownload.fileNameOnserver#" deleteFile="no" />If I type in the URL directly to the PDF file it loads fine, but if I try to get it through this code then I get the message "failed to load PDF document". Even if I change the code to allow me to save the file, I get a saved file but it won't open in acrobat.I know the code is working code, I tried it with Coldfusion 10 again just to make sure. Something about 11 is stopping it from working. Any ideas?
I have set up a scheduled task in ColdFusion Administrator using CF9. This is set up to go to a specified URL, and when this is run in a browser it sends an email as expected. However, when using the scheduled tasks, nothing happens. I have viewed the scheduler.log file and it says that it is executing as expected. One thing I have noticed, is that there is nothing under the Application Name in the server.log file.Any suggestions here would be most welcome.
Hi,I am using Cold Fusion 11 and trying to schedule an execution of an email process.Tried to send a basic email in Cold Fusion using the Scheduler. Did not receive the email.Checked the scheduler error log and the message in log is: Connection Failure: Status code unavailableThe scheduler has not been used before.The basic email functionality works standalone.Per preliminary research about the scheduler, there is information that some type of cert needs to be installed in Cold Fusion in a Java keystore.Does something need to be installed?If so, is there any detailed instructions?Thanks,Mike
I am relatively new to CF and desperately looking for help to send a meeting notice to users using CF (version 9) and Outlook 2013.Do you have a working example code that you can share?I read so many different examples but feel lost at basic initial step of making the connection using cfexchangeconnectionI work in a large company so all the servers mgmt are handled by IT group. Same with CF servers.
Hello, all,I'm using canonicalize() as part of a URL and FORM scope sanitizing process, and it's not doing what the specs say it should do.For example, in scrubbing a URL parameter, the following _should_ throw an error:www.domain.com/page.cfm?var=home%27alert(%22abc%22)%27This should trigger an error, and cause my onError() handler in application.cfc to run. But it isn't working.url.var = canonicalize(url.var,true,true);What is going on??? Why isn't this throwing an error?V/r,^_^
Hello,I posed this question to StackExchange and then directed here. I hope someone can help. Please excuse my lack of understanding of Coldfusion.The company I work for wish to update their webpages with only small cosmetic changes. For example, changing a background cover, padding, border etc.I was informed that the site was built using Coldfusion. I can't see anything in the code to suggest it is. The only back-end is some PHP for a contact form. Aside from this, the site is static. I would like to know the reason(s) why I cant just update the CSS and HTML in Dreamweaver and update it using SFTP? Thanks,Michael.
I purchased Cf11 Standard. Is there a way it can support oracle 11g 32bit R2 ? I don't see any options to have oracle database with CF11 in the Databasources under ColdFusion administrator. I tried installing and setting up a new server.Any help would be greatly appreciated.
Hi folks,I have a very strange problem and I cannot find a solution.I have 5 server instances (CF11 Enterprise) named: cfserver1, cfserver2 ... cfserver5Stopping cfserver1 or cfserver3 or cfserver4 or cfserver5 works as expected..But stopping cfserver2 does also stop cfserver3, cfserver4 AND cfserver5.I've alread checked all server.xml files and ports, but I cannot find the reason why stopping cfserver2 results in stopping also cfserver3, cfserver4 AND cfserver5.Does anyone have a hint for me ?Best regardsKnut
Is there a way to set one Scheduled Task to run on EST and another Scheduled Task to run on PST?
I am coming back to CF to build an application. I have not used CF since the Allaire days so there is some learning curve here.I have started a db in MySql (Workbench) and would like to access via Coldfusion Builder. I get the error below in the CF Administrator Data Sources tab when I try to add the new db. I don't actually know how to point CF to the db and there is no browse tool.ThxConnection verification failed for data source: M1Connectjava.sql.SQLInvalidAuthorizationSpecException: [Macromedia][MySQL JDBC Driver][MySQL]Access denied for user ''@'localhost' (using password: NO)The root cause was that: java.sql.SQLInvalidAuthorizationSpecException: [Macromedia][MySQL JDBC Driver][MySQL]Access denied for user ''@'localhost' (using password: NO)
Hi there... looking through the documentation I am currently having difficulty working out the standard way of achieving my requirements.I have a menu which is dynamic depending on the user and I would like to cache it.I would then like to be able to either flush the cache for a specific user or for all users at once.I was hoping I could wrap the navigation cfml in a cfcache tag such as<cfcache key="NavCache" id="id#USERID#" > #NAVHTML#</cfcache>I could then use the cacheRemoveAll function to clear the "NavCache" region and up this point everything is working great.The problem occurs when I then attempt to flush a specific cache object by id.I have tried cacheRemove method and the <cfcache> tag with the action="flush" attribute....however I have had no success.First off... am I going about this in the wrong way ?If I am along the right lines... what am I doing wrong?Thanks very much
I'm having a problem in CF 2016 with a grid I'm trying to populate with a bound cfc method. If my method returns no data, I get a JavaScript error: ext-all.js:18 Uncaught TypeError: Cannot read property 'id' of undefined(…). However, this code executes fine in CF 9.Is this a bug? Or should I be doing something different in CF 2016 to handle a method that returns no data?My exact version is 2016.0.0.298074.Below is the code I'm testing with. First, the page with the cfgrid:<cfajaximport tags="cfform,cfpod,cfdiv,cfgrid" /><h1>Invoke method</h1><cfinvoke component="data" method="getColors" returnvariable="qColors"><cfdump var="#qColors#" label="invoked method"><h1>Bind method</h1><cfform id="frmColors"> <cfgrid name="grdColors" format="html" pagesize="5" bind="cfc:data.getColorsRemote({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgr
Hello all,We are planning to upgrade our version 10 Enterprise as it would not connect to our Oracle 12c enterprise database.What does CF 11 Standard give us that CF 10 Enterprise does not and would it be able to connect with Oracle 12c enterprise edition?We have installed CF on multiple servers. Is that the key of standard (install on one server only) vs. enterprise (can install on multiple servers) and would CF 11 connect with Oracle 12c enterprise database.Thanks
Question:Does a cfhttp request, using a GET method, remove Headers such as Content-Type?And if so, is there a way around this?Problem:I'm making an external API call that requires certain information be passed within the Content-Type header ...<cfhttpparam type="header" name="Content-Type" value="application/json">vs.<cfhttpparam type="header" name="Content-Type" value="application/xml">to determine the type of information returned to me. JSON or XML.When attempting to use the first param type, it returns an Error. However, when doing so with a POST method, it does not.The second param type works no matter what type of method I use.I'm using ColdFusion 11.I would really prefer to be working with JSON, but if I can't get JSON data back when I'm not using POST, I'll have to resort to using XML, a far less appealing option.
After installing CF11, I now see that there is no option for Oracle in the driver selection list anymore. I need to connect to an Oracle 11g R2 database. I downloaded the ojdbc.jar driver from Oracle and placed it in the /jre/lib folder. I've restarted CF, but do not know how to connect. Is there something I can do to get Oracle to show up in the selection list like it used to in earlier versions of CF (like 7 and 8)?
I work for a small government agency in Idaho and for the last two weeks we've been trying to purchase a copy of CF Server 11 (YES I know it's an old version) and two copies of Dreamweaver. For reasons I can't understand Adobe just isn't interested in selling product to us. Because of a time crunch that is now upon us, our purchaser has spent the last two days on the phone with Dell software and Adobe trying to get this PO filled. Both sides say sure no problem but neither side will deliver. All we need is a link to download and a serial number!!!Uh Adobe... You just pushed management here into discussing options for web development other than Adobe products. If you won't sell product to us or support us we will go somewhere else. There are options after all. Adobe should invest in customer support!!!
I recently installed CF 2016 standard on El Capitan 10.11.6. Once I had CF installed I installed OS X server 5.2. I originally tried installing OS X server prior to installing CF but every time I would receive an error when running the connector after install. By installing OS X server after installing CF I was able to get the connector to run. OS X server works with Apache. I believe OS X ties into the pre-packaged installation of Apache that is included in El Capitan but I am not 100% sure.The issue I am now having is that when a place .cfm files in the root directory it shows the text rather than running the code. I checked the apache server.xml file and it appears the root directory is the default CF wwwroot. I placed the website files in the root directory and still only see text instead of running code.I have full access to the CF Admin panel, and can change any settings, so I am pretty sure it installed ok.I am not real knowledgeable with running terminal.Is this a connector iss
Hello people, I have an SQL query that performs some profit calculations before the result is displayed.As I was CFlooping, I noticed that while most results (chargeToCustomer - Cost = Profit) were accurate, some of them were off by 1 cent.Since I don't know SQL server functions very well, I decided to leave the calculations to Coldfusion.But I'm getting similar results. Out of 144 records, I have about 10 that are off by 1 cent.Has anyone experienced something similar?Is there any decimal function I need to add in order to respect the values? I have the perception that some values are either rounded up or down, which causes the result to be off.My formula is extremely simple: <cfset myProfit = Charge - Cost>No magic, not weird formulas and not hidden fees Thank you in advance!
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.