Questions
Actividad reciente
I am getting: "Registration error for service manager : .http://127.0.0.1:0/PDFgServlet/.Reason: BAD REQUEST and it will not allow me to open any page on my sites." Anyone else see this error or know how to fix it?
Hi,I've been tasked with updating Coldfusion 2016 currently at Update-7 to the latest (17), Can i directly go from 7 to 17 or is there any issues if I do so? Where can I find details regarding dependencies and instructions. Since I took over this from someone who left, this is my first attempt at an upgrade 🙂My current version is 2016,0,07,311392. (Linux Redhat Enterprise)(Tomcat version : 8.5.32.0, Java version 1.8.0_192) Please let me know. ThanksSajan
My settings in ColdFusion Administrator 9 appear the same as those I had previously on ColdFusion 7. When a page errored out on CF7, I'd see something like this;Error Occurred While Processing Request Variable XFHDSHSDHJ is undefined.The error occurred in D:\Website Data\mywebsite.com\variabletest.cfm: line 11 : <cfoutput>#xfhdshsdhj#</cfoutput>Now I see: 404 - File or directory not found.I don't have cferror tags in application.cfm (someone thought that was the problem). I know you can view the errors in the application log, but I really liked having the error messsage display directly on the erroring page.Thank you!
Hi Friendly Folks,When I check "Enable TLS connection to mail server" in CF Admin under "Mail", what version of TLS is activated? I have searched around and been unable to find an answer.Thanks!- Shawn
Migating to a new server, and getting an error when uploading a new photo. Any help appreciated. Here is my code:<cffile action="upload" filefield="Photo" destination="#ExpandPath ('../images/temp/')#" nameconflict="MakeUnique"><cfset Photo = File.ServerFile><cfset NEWPHOTONAME = 'VE_' & '#dateformat(now(), 'yyyy_mm_dd_')#' & '#timeformat(now(), 'hh_mm_ss_')#' & '#photo#'><cffile action="rename" source ="#ExpandPath ('../images/temp/#photo#')#" destination="#ExpandPath ('../images/original/#NEWPHOTONAME#')#"><cfset Photo = "#NEWPHOTONAME#"> Server doesn't like the #ExpandPath ('../images/temp/#photo#')# reference. Error message: The value of the attribute source, which is currently C:/HOSTINGSPACES/virginia/virginiaequestrian.com/wwwroot/images/temp/IMG_2123.JPG, is invalid. Checking the folder, the file was uploaded to the correct "temp" folder, and is in fact there. Any help appreciated!
Hi,I always preface with I am not a programmer. 🙂I just moved my server. The new server is Windows 2019 with CF 2021.On the new and old server CF was installed on the E drive.On the old site, I accessed the CF Administrator on the web through https://My.Site.org/CFIDE/administrator/index.cfm. That doesn't work with the new server.I can access it while directly on the server at http://127.0.0.1:8500/CFIDE/administrator/index.cfmThe old server was in place for a long time, I tried searching and cannot find out how I was able to access the old server through my PCs browser while not directly on the server.Suggestions? Thank you!
I'm getting errors using some of the sample code (after adjusting for typos): https://helpx.adobe.com/coldfusion/using/integrate-coldfusion-amazon-sns.html <cfscript>//'archinet_aws_user_1' and 'snsConf' are aliases configured in the CFAdmin panel// define the credential and the configuration aliases in the ColdFusion Adminsns=getCloudService("archinet_aws_user_1","snsConf");// code below.</cfscript> Throws this error:"The httpClient and the httpClientBuilder can't both be configured." Any one else encounter this?
Hello, Just a query on 2 differing ways of calling a function from a component in Coldfusion. I've always called functions in one of 2 ways. Method 1: <cfset myComponent = createObject("component", "pathToMyComponent.componentGet")> <cfset myVariable= myComponent.getKey ( data = someDSN, key = myKey, ........)> Method 2: <cfinvoke component="pathToMyComponent.componentGet" method="getKey " returnvariable="myVariable"> <cfinvokeargument name="data" value="#someDSN#"> <cfinvokeargument name="key" value="#myKey#"> ....... </cfinvoke> My question would be is there any overhead using Method 1 over Method 2. I assume there must be
There appears to be a significant bug in Adobe's ColdFusion Documentation on getting variables with period references.Under the "getting a variable" heading it shows the following sample code: <cfoutput>myVar.a.b is: #Variables["myVar.a.b"]#</cfoutput> However, you can't reference a struct key like that in any version of ACF. Here's a snippet that will throw an error every time you try to execute it (change the server to try different versions).Here's the code: <cfscript> variables.myVar.a.b = "apple"; writeDump( variables[ "myVar.a.b" ] ); </cfscript> Oddly enough, I feel like CFML should work as the documentation describes. It is too bad that it does not.
Hello CFers,I installed the ColdFusion 2016 Update 17 (from Update 16) which came out this week and unfortunately all of my Coldbox sites are getting 500 errors when trying to load them. The line that is causing the error is as follows:`variables.thisRoute.handler = arguments.handler ?: "";`The error that is being generated in the logs is:"Error","ajp-nio-127.0.0.1-8016-exec-12","03/23/21","22:31:22","6A70E1E9B0E6E14EC4590A014F4D5C13","coldfusion.runtime.CFPage._isDefinedElvis(Ljava/lang/String;)Ljava/lang/Object; The specific sequence of files included or processed is: C:\websites\mysite.com\wwwroot\index.cfm, line: 1217 "java.lang.NoSuchMethodError: coldfusion.runtime.CFPage._isDefinedElvis(Ljava/lang/String;)Ljava/lang/Object;at cfRouter2ecfc1597072887$func_CF_ANONYMOUSCLOSURE_ELVIS1155.runFunction(C:\websites\mysite.com\wwwroot\coldbox\system\web\routing\Router.cfc:1217)at coldfusion.runtime.Closure.invoke(Closure.java:109)at coldfusion.runtime.UDFMethod$ArgumentCollectionFil
Does anyone know the correct syntax/ settings to create an Oracle datasource in ColdFusion 2021? I just did an upgrade and when it imported Oracle datasources, it claims the "Use of Adobe JDBC Drivers is restricted." and we were using macromedia.jdbc.MacromediaDriver. We also have the Oracle thin client installed but I'm not sure of syntax for the JDBC URL and placement of jar files. Can anyone point me in the right direction? Thanks!
I installed ColdFusion 2021 Developer Edition on a newly created Azure VM runing Wndows 10 Pro, and IIS 10. I then started the process to add a website to the VM by creating a Server instance in the CF Admin, and a webstie in IIS. After that I ran the WSConfig.exe for the website in Administrator mode. I clicked the "Add" button, made sure the "AppServer Host" and the "IIS Website" were for the website I added. When I clicked the "OK" button I received a popup with the error "An unknown error has occurred." The only option on the popup error was an "OK" button, which I clicked. The connection was not made. The attached image is a screen shot of a window that was running in the background. I don't know if it helps. Any suggestions on how I can get the WSConfig to work?
When using the Web Server Configuration tool I'm receiving the following error. I don't want to attempt installing this on a server if I can't get it running locally. java.lang.NullPointerExceptionat com.adobe.coldfusion.connector.connectorinstaller.ParserUtils.parseXMLDocument(ParserUtils.java:103)at com.adobe.coldfusion.connector.connectorinstaller.ConfigParser.getRootNode(ConfigParser.java:52)at com.adobe.coldfusion.connector.connectorinstaller.ConfigParser.getTreeNode(ConfigParser.java:37)at com.adobe.coldfusion.connector.connectorinstaller.ConfigParser.getConnectorHeartbeatPath(ConfigParser.java:200)at com.adobe.coldfusion.connector.connectorinstaller.WebServerInstaller.writeConnectorPropertiesFile(WebServerInstaller.java:988)at com.adobe.coldfusion.connector.connectorinstaller.IISInstaller.installConnector(IISInstaller.java:337)at com.adobe.coldfusion.connector.connectorinstaller.gui.AddConfigDialog$AddConfigThread.run(AddConfigDialog.java:1189) It looks like the wsconf
Hi folks,we are testing application in ColdFusion 2021I am getting below error message as i am using offset in ormExecuteQuery()we used offset for pagination.error is : "query result offset is not supported"I tried below steps to resolve but none work for me.1. Adding hibernate configuration filethis.ormSettings.ormconfig = "hibernate.cfg.xml";<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"><hibernate-configuration><session-factory><property name = "hibernate.legacy_limit_handler">true</property></session-factory></hibernate-configuration> 2. Adding below setting along with other orm settings.<cfset structInsert( this.ormSettings,'hibernate',structNew(),true )><cfset structInsert( this.ormSettings.hibernate,'legacy_limit_handler',true,true )>i am not sure this works or n
Adobe tells me:"Boolean values Use True, Yes, or 1 for true and False, No, or 0 for false. Boolean values are not case sensitive." String values are enclosed in double quotes. When used in code, are boolean values enclosed in quotes like strings are? Or are they used, plain?For example, should the following be written as:<cfif session.isloggedin is "1"> —or— <cfif session.isloggedin is true> Thanks!
I have been at this for quite a few years and tried since ColdFusion 2016 to get PDFg working on Redhat Linux. I finally got it working and would like to share my steps in hopes of helping someone else:Installed Coldfusion 2021 at /opt/ColdFusionDownload Linux Version of Add on Services Install defaults(admin, solr, and pdfg) but change java path to /usr/java/latest(where I have java installed for ColdFusion). Choose install directory of /opt/ColdFusion/addonservicesIn /opt/ColdFusion/addonservices/cfjetty change java path because it apparently didn't care what you said during install(I've created a bug report): #SOLR_JVM="/opt/ColdFusion/addonservices/jre" SOLR_JVM="/usr/java/latest" Remove /opt/Coldfusion/addonservices/jre3. Download fonts required for linux install wget http://cgit.freedesktop.org/xorg/font/ibm-type1/snapshot/font-ibm-type1-1.0.3.tar.gz tar -zxvf fon
Migrating a few websites from CF 4.5 to 2018 (I know!) and could use some assistance. Seems CF 2018 doesn't like my syntax:<cfquery name="CalCount" datasource="#dsn#">SELECT ID FROM Calendar WHERE Approved = 1 AND Caldate > #now()# -1 AND WebsiteID=#application.WebsiteID#</cfquery>Seems #now()# converts to{ts '2021-06-10 07:26:22'}SELECT ID FROM Calendar WHERE Approved = 1 AND Caldate > {ts '2021-06-10 07:26:22'} -1 AND WebsiteID=1CF doesn't seem to like my syntax. Will be digging into dates and formatting, but any insights appreciated.
I've created a CAR file in CF2018 Administrator on our development server but I can't get it to deploy on our production server. Creating the archive was a little buggy. When I select "Assoc. Files/Dirs" in the archive wizard, I'm unable to select any of the other options. When I skip "Assoc. Files/Dirs" altogether, it seems to work. The resulting file is 385k. (Does that file size suggest a successful build?) Once I've built the archive, I move the CAR file to the production server, use the CF Administrator to deploy, and... nothing happens. The file path is cleared from the input and no datasources have been added, collections, mappings, etc. I'm not skilled at reading the CF logs, but there doesn't seem to be anything related to my failed efforts. Both servers are current through Update 11. Any insight or suggestions? Thanks!
Hello:I am in the United States, for example, but I suspect this might be an issue from any locale. I have noticed this problem several times, but have not mentioned it until now. I though this would have been fixed by now, but apparently no one else has noticed or complained. Or perhaps something is amiss with my system, but not likely as I have no reason to have India setup as my region/locale. To replicate the problem:Start on this page from the United States region/locale: https://helpx.adobe.com/coldfusion/developing-applications/using-external-resources/sending-and-receiving-e-mail/using-coldfusion-with-mail-servers.htmlClick on the menu above where it says Coldfusion (see attached screenshot: circled in purple)The link I receive is: https://www.adobe.com/in/products/coldfusion-family.html which includes the region/local *in* for India and I get the message in the second attached screenshot. Text + links follow. Are you visiting adobe.com from outside you
Good morning, I have ran into a rather peculiar issue. I have a CentOS 7 server with ColdFusion 2018 installed and configured. Apache virtual directories are configures with correct directory structure to each web application document root via Plesk. I'm going to use two web applications in this example, although I am experiencing the same issue with others. I have one web application that when navigated to loads the correct Application.cfc file in it's directory root: r1gup.egtyctest.com. The other web application, utgup2.egtyctest.com, is navigating to the r1gup.egtyctest.com Application.cfc file. I placed a javascript alert on each Application.cfc files to display which Application.cfc file is being called and what the current hostname is being requested. You can see the message when you navigate to either URL mentioned above. FYI, these applications are in testing, and you will get a
Linux CentOS 7 - Apache 2.4Sometimes our ColdFusion2018 service crashes without producing specific error logs.How can we investigate further the causes? Thank you. Here is the last error we found on coldfusion-error.log after last crash episode:dic 19, 2020 2:48:33 PM org.apache.coyote.ajp.AjpProcessor logErrorSEVERE: nulljava.io.IOException: Broken pipeat java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)at java.base/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:79)at java.base/sun.nio.ch.IOUtil.write(IOUtil.java:50)at java.base/sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:466)at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:140)at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:101)at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:152)at org.apache.tomcat.util.
Hoy folks, Long time lurker first time caller. I've hit an issue with ColdFusion ORM that I just can't figure out. Here's the situation. 1) I have a database procedure that I use to create tables with a number of columns that are common to all the tables. These columns are mapped to the persistent component. 2) The code to generate the keys looks like this (wod= word of the day):CREATE TABLE [dbo].[tblName]([idx] [int] IDENTITY(1,1) NOT NULL,[id] [varchar](36) PRIMARY KEY NOT NULL, ALTER TABLE [dbo].[tblName] ADD CONSTRAINT [DF_tblName_id] DEFAULT (newid()) FOR [id] 3) The rest of the columns mapped to given entity are generated by ORM. 4) The code for mapping these fields is...property name="idx" fieldtype="column" ormtype="int" generated="insert" setter="false";property name="id" fieldType="id" length=36 generated="insert" setter="false"; 5) My goal is to get the id property to be populated on save() from the database. 6) I get this
entityLoad('Account') throws this error,Error while loading entityjava.sql.SQLException: [Macromedia][Oracle JDBC Driver]Numeric overflow.However entityLoad('Account',1) returns the proper record.I am using oracle 10g as a datebase.Is this a bug with oracle? entityLoad('Account') should return all my accounts.
Hi,Recently, i ran the update process from Update10 to Update11 for our CF 2018 Enterprise.However, we found that some (almost all) calls to REST services failed and throw the "java.lang.IllegalArgumentException: argument type mismatch" exception. To isolate the error from our entire implementation I made a simple implementation to reproduce the error: REST Service component (api.cfc)component rest = true { /** * * @httpmethod POST * @consumes application/json * @produces application/json * */ remote Input function echo(required Input payload) { return payload; } }Component (Input.cfc)component { property type = string name = content required = true; } I ran an HTTP POST through Postman and got the following exception (exception.logs):"Error","http-nio-8500-exec-8","05/26/21","09:12:36","","HTTP 500 Internal Server Error" coldfusion.rest.method.dispatch.CFRestException: HTTP 500 Internal Server Error at
First, I apologize if this is answered elsewhere. I tried searching here and Google, but didn't really find much. I'm a former programmer who still has a legacy app used by my company very often. For better or worse, I'm still the maintainer whenever IT can't handle it, and we are running into an issue where I made tabbed forms using Flash format with CFFORM many years ago. Does anyone have a suggestion on how to replace with something else? I was hoping for something as simple as format="HTML5" but that's not an option... Not a complex form, it's got about 4 tabs to better organize data that can be edited to maintain records in a DB. Help & thanks!
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.