Questions
Recente
Hi,I have been using coldfusion to generate pages on my server. However I have noticed that coldfusion seems to be generating the code below before the main code of the page. This seems to be affecting code trying to resolve compatibility mode issues in Internet Explorer, etc. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /></head><body></body></html>Can anyone please advise if they know why this would be happening?Many thanks!
I have identical CFM file's on 2 different servers which generate a PDF.I use a style tag like this:<style type="text/css"> td { font-family : Arial; color : Black; font-style : normal; font-weight : normal; font-size : 10pt; text-decoration : none; text-align: center; }th { font-family : Arial; color : Black; font-style : normal; font-weight : normal; font-size : 10pt; text-decoration : none; text-align: center; }td.left { font-family : Arial; color : Black; font-style : normal; font-weight : normal; font-size : 10pt; text-decoration : n
Hello,I have an application that is hybrid JRun 4 (JSP and Servlets) along with a good chuck of ColdFusion MX6 pages and components that I need to upgrade to more current technology. I want to go to ColdFusion 11, which I understand comes with a Java Application Server.Q1: Is it likely it will be able to run my existing JSP and Servlets, in addition to the CF6 pages and components?Q2: Do the JDBC drivers still come with or work with the latest version?Thanks.Greg
I'm trying to find a good step by step instruction on how to add Server in Builder 3. I found this YouTube tutorial, CFBuilder Server Setup - YouTube, but since we used CommonSpot CMS, I'm not sure the proper way to setup. Any suggestion is much appreciated.
Will anyone point me to documentation that says ColdFusion 10 supports Java 8?Thank you!
HI all, I am trying to uninstall ColdFusion 11 (32-bit) edition so I can reinstall CF11 64-bit on my Win2k8r2 production server. I currently have CF9 installed and running on this server. I get a fatal error from the jre when attempting the CF11 uninstall. Detailed below is the PID error log from the uninstall directory:## A fatal error has been detected by the Java Runtime Environment:## Internal Error (0xc06d007e), pid=5088, tid=2328## JRE version: Java(TM) SE Runtime Environment (8.0_25-b18) (build 1.8.0_25-b18)# Java VM: Java HotSpot(TM) Client VM (25.25-b02 mixed mode windows-x86 )# Problematic frame:# C [kernel32.dll+0x1ed5b]## Failed to write core dump. ## If you would like to submit a bug report, please visit:# http://bugreport.sun.com/bugreport/crash.jsp# The crash happened outside the Java Virtual Machine in native code.# See problematic frame for where to report the bug.#--------------- T H R E A D ---------------Current thread (0x46
CFpdf action="extracttext" the strikethrough text in PDF was shown as normal text in result xml? Please help. Thank you"
I am using CF11. In addition to the Datasource component, I created a package of four components ( 1 x Bean, 1 x DAO, 1 x Gateway, 1 x Service) that deals with grapes... The datasource object and the service object have been persisted in Application.cfc as follows:<cffunction name="onApplicationStart" output="false"> <!--- Instantiate the Datasource object ---> <cfset var objDatasource = createObject ('component','components.beans.Datasource').init( DSName='dns', username='abc', password='pass') /> <!--- Instantiate and persist the Grape service in the application scope ---> <cfset Application.GrapeSVC = createObject('component','components.dataAccess.GrapeSVC').init( datasource = objDatasource) /></cffunction>The service object (GrapeSVC.cfc) acts as a façade pattern to the other inner components: a Bean (Grape.cfc), a DAO (GrapeDAO.cfc) and a Gateway (GrapesGW.cfc).Now, I have below a CFM template tha
Hello, all,I've been searching Google for this, and I'm finding a lot of information about ColdFusion session variables; but I'm not finding anything (so far) on keeping session variables alive between HTTP and HTTPS, or across sub-domains (ie, from www.domain.com to img.domain.com to vote.domain.com, etc.)Is there a tutorial or KB on this subject?V/r,^_^
I see from the ColdFusion support matrix that it is not supported, but has anyone run ColdFusion 11 with Redhat 5.11?
I have an application that has worked flawlessly until today. Now, without code changes, I get the following, or similar, any time I try to do anything in the applicationDetail: Ensure that the name is correct and that the component or interface exists. Message: Could not find the ColdFusion component or interface secure.common.getreqstatus. StackTrace: coldfusion.runtime.CfJspPage$NoSuchTemplateException: Could not find the ColdFusion component or interface secure.common.getreqstatus.I do not have access to CF Admin on this server and have to depend on a government SysAdmin. Does something need to be restarted? Is there a new version of CF? I am currently running 10 on my development server (different) and assume the government machine is the same. We sync'd up a few months ago and everything has worked fine until today. Any help would be greatly ap
I have a chart that spans many years and lists each month.I would like to keep the graph and data points listed by month, but maybe only have the axis list the years? The exact dates aren't important, the trend of the graph is.Here is an example, clearly the dates are unreadable.Can this be done? I'm using CF9.Thanks
Hello, all,I have a weird issue with the dev network that I'm trying to set up in my home. I have an Ubuntu Server 14 (Trusty Tahr) running Apache2 and ColdFusion Server 11. When I first got CF Server installed, it worked great. I added the PHP module to Apache and it works great. I'm not sure what happened, or when it happened, but I created a "index.cfm" file and placed it in the /var/www/html/rrp folder. The code for it looks like this:<!DOCTYPE html> <html> <head> <title>This is a test</title> </head> <body>This is a test</body> </html>When I look at the page via browser (IE11), I get a big blank nothing. If I do a "View Source", the code I see looks like:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv="Content-Type" content="text/html; charset=utf-8"></HEAD> <BODY></BODY></HTML>I cannot figure out what is going on. Any help greatly appr
Upgraded from CF10 to CF11 update 5 ( with hotfix hf1100-3971083.jar )DB (DB2 v10.2)getting an error on code that calls a stored proc.Error Executing Database Query.[Macromedia][DB2 JDBC Driver][DB2]ILLEGAL SYMBOL =; The error occurred in ...: line 238236 : <cfstoredproc datasource="#application.dsn#" procedure="LIVE.SP" >237 : <cfprocparam type="In" cfsqltype="CF_SQL_BIGINT" dbvarname="STOPID" null="yes" />238 : <cfprocparam type="In" cfsqltype="CF_SQL_INTEGER" dbvarname="POID" null="no" value="#val( qry.id )#" />239 : </cfstoredproc>The actual code looks like this - and works fine in CF10...."qry" IS returning a value for "id" <cfloop query="qry" > <cfstoredproc datasource="#application.dsn#" procedure="LIVE.SP" > <cfprocparam type="In" cfsqltype="CF_SQL_BIGINT" dbvarname="STOPID" null="yes" /> &
Hi,The following message in the email log file: An exception occurred when setting up mail server parameters. This exception was caused by: coldfusion.mail.MailSpooler$SpoolLockTimeoutException: A timeout occurred while waiting for the lock on the mail spool directoryThere have been some issues with connecting to the email server.Per my research, the email spool is on disk. I cannot find the location.In the CF administrator, there are no emails undelivered.When try to send an email from the production server, the email times out.Using Cold Fusion 11.Is there a return code that be checked within the Cold Fusion code?Thanks,Mike
type Exception reportmessage java.lang.NullPointerExceptiondescription The server encountered an internal error that prevented it from fulfilling this request.exceptionjavax.servlet.ServletException: java.lang.NullPointerException coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:129) coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422) org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:199) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thr
I am trying to figure out how to get Crystal Reports to Execute within a CF 11 application?Has anyone done this?ThanksCraig
Using Coldfusion 11 with IIS 7 - calling a non-existent component method returns Internal Server error 500 instead of a 404 type error. This is a problem because security scanning software calls the 500 error as a medium security risk. Unchecking the "Enable HTTP Status codes" box in the server settings will return the CF specific error which triggers the NullPointerException error. Does anyone else notice this or has dealt with this before?
We currently have CF 9 and have an application that uses cfpop. We are upgrading company mail to use Office 365. I was able to get cfmail working with Office 365 no problem, but cfpop is not working I believe because of the Office 365 TLS requirement. If I upgrade to CF 10, will the new cfpop feature of "secure="yes"" enable cfpop to work with Office 365? I do not want to upgrade at this time if that will not fix our problem.Thank you!
I was wondering if anyone had insight to the processing order of the cfmail spool queue. I was under the impression that it would be under first in first out, but as I am monitoring it today I am seeing that is not the case.at 1:30pm I am seeing emails yet to go out from 8:45am, and I am watching other emails from later batches go out before them. It almost appears like coldfusion is treating the emails like they are in batches, evenly plucking a message from every batch that comes in rather than attacking them in the order that they were received.My customers tend to send their emails in batches of 1000-3000 emails at a time based on their queries. Sometimes a single transactional message appears in that queue too. Somtimes it goes out before the ones before it, or after.Some days it can get pretty busy, but eventually it all catches up and the queue empties out.Thankssteve
Hello,Currently we have a Coldfusion website running on 9.x version. We are planning to develop a mobile solution for this website.Please let me know should we develop a new solution to support mobile solutions or we can modify the existing coldfusion page to get compatible with the mobile solution?As i said earlier currently we have coldfusion 9.x webserver. Whether the current version supports Mobile solutions? Please provide your suggestions/Solutions.Thanks,
I'm validating US and Canadian postal codes using isValid(). US validates as expected no matter what I pass to it. It is the Canadian postal code that isn't validating the way I expect.The regex I'm using^[0-9]{5}(-[0-9]{4})?|^(?i)(([ABCEGHJ-NPRSTVXY][0-9][ABCEGHJ-NPRSTV-Z])( ?)([0-9])([ABCEGHJ-NPRSTV-Z]{1}[0-9]))$Postal codeL4K 2M9IsValid() will return true with that postal code. Add 1 or more spaces to the end of the code and it still returns valid. ReFind with the same regex works as expected. Am I missing something here?Edit:I just found that using param with type='regex' does the same thing.param name='arguments.postalCode' type='regex' pattern='^[0-9]{5}(-[0-9]{4})?|^(?i)(([ABCEGHJ-NPRSTVXY]{1}[0-9]{1}[ABCEGHJ-NPRSTV-Z]{1})[ ]?([0-9]{1}[ABCEGHJ-NPRSTV-Z]{1}[0-9]{1}))$' default='12345' ;Another Edit:Looks like leading and trailing spaces are ignored when using regex with isValid or a param.
Hi,Is there any monitoring tool or tools for Cold Fusion 11, such as performance, services, etc?Thanks,Mike
Hi All,I am trying to setup CF9 using SSL port in my laptop using build-in web server. I found and follow the next link:Activating SSL on Coldfusion 9Getting error: Error code: ssl_error_internal_error_alertHow can i debug this issue?Thanks,
I'm trying to install CF11 (Standard) on a new Windows server (Windows Server 2012 R2). Installation was apparently successful, but when I go into the Administrator to install the latest update, I can't. When I click either the "Download" or the "Download and Install" button, nothing happens. I'm specifically hoping to install the latest cumulative update (5), but I tried the buttons for Update 4 also and they didn't work either. And from what I can find, Adobe no longer provides a manual way to download and install updates.I tried launching the browser using "Run as administrator" and that didn't help. I've tried IE and Chrome. The rest of the Administrator seems to be working OK -- for example, I was able to update server settings.I greatly appreciate any help. Thanks.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Você já é cadastrado? Entrar
Ainda não tem uma conta? Crie uma conta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.