Design the future of fashion, win Firefly Pro 👗✨
The official community for ColdFusion.
Recently active
Bonjour,Je voudrais prendre un pdf d'un livre pour l'insérer dans un fichier mais je voudrais aussi la mise en page basique.Voici mon code :<cfpdf action = "extracttext" source = "chemin" name = "myXML"/> <cfcontent type = "text/html" /> <cfoutput> #myXML# </cfoutput>J'arrive à récupérer le texte mais sans la mise en page !Merci par avance pour votre aide.
Need a bit of assistance. I have a client who manually creates a report t the end of each year that consists of poundage of every product per customer. A customer may buy 50K lbs of different products each year. Is there a way that I can add anywhere from 2 to 1000 different numbers together by outputting the data into a cfset tag or something else?
Just had to restart my Mac server for the first time since Mac OSX upgrade from 10.14.4 to 10.14.5 last week. ColdFusion now no longer starts. Error log shows.INFO: CFMxmlServlet: Macromedia Flex Build: 87315.134646Jun 02, 2019 11:50:11 AM org.apache.coyote.AbstractProtocol startINFO: Starting ProtocolHandler ["ajp-bio-8014"]Jun 02, 2019 11:50:11 AM com.adobe.coldfusion.launcher.Launcher runINFO: Server startup in 4859990 msError: Could not load mediaLib accelerator wrapper classes. Continuing in pure Java mode.Occurs in: com.sun.media.jai.mlib.MediaLibAccessorcom.sun.media.jai.mlib.MediaLibLoadExceptionJun 02, 2019 12:02:58 PM org.apache.catalina.core.AprLifecycleListener lifecycleEventINFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Applications/ColdFusion11/cfusion/bin/../lib:/Applications/ColdFusion11/cfusion/bin/../lib:Jun 02, 2019 12:03:20 PM org.apache.coyote.Ab
HI Cancel membership has been canceled . How do i return membership ?
I'm looking for a way to add a text equivalent to a rendered cfchart. I've read documentation for CF11 that states "Some complex controls such as cfmap and cfchart do not include text alternatives for some image," and you cannot add an alt tag to <cfchart>. However, the same documentation states "ColdFusion charts do provide any text equivalents for non-text elements." Adobe ColdFusion 11 - Section 508 Voluntary Product Accessibility Template How is this achieved?
I am rendering a screen using AJAX / and a cfc. (No reloads)All goes well until I make a boo boo and get a JSON error. I know what causes it - text that should not be in the cfc. But now I've hit a brick wall. I cannot find the "extra text" that's causing it. Or ... is that the only cause? The odd thing is the application runs fine on the bets server but not on localhost. So I looked for any / all instances of "localhost" or 127.0.0.1 and nothing problematic. Is there a tool out here that scans cfc's for these silly errors? I have looked in the server admin logs but I have no idea which of the log files would house it. Usually only use application.logThanks
I've been using CFwindow for years and find it very old fashioned.Have to use this code to open a window ...<cfwindow width="#srw#" height="700" bodystyle="overflow:auto"name="Alerts" title="Alerts" modal="True" closable="true" draggable="true" resizable="true" initshow="false" />then trigger it withColdFusion.navigate('/members/edit/edit.cfm','MemberProfileEdit');rePositionWindow('MemberProfileEdit');ColdFusion.Window.show('MemberProfileEdit');ColdFusion.Window.hide('pRC')I am also told by another developer that this usage is archaic and inefficient, in that the cfwindow line actually opens the window on initial load.Also having problems getting a cfwindow to "find" javascript that is declared outside of it.What in jquery can one use that is today's standards?
J'd like to manage libreooffice api for replace text in odf.i've done a running java cfx but when i transate to cf sintax i get an errorthis is the working java/cfx codecom.sun.star.util.XReplaceable xReplaceable = null;com.sun.star.util.XReplaceDescriptor xReplaceDescr = null;xReplaceable = UnoRuntime.queryInterface(com.sun.star.util.XReplaceable.class, xTextDocument);xReplaceDescr = xReplaceable.createReplaceDescriptor();and this is the cf code<cfset xReplaceable = CreateObject("java", "com.sun.star.util.XReplaceable")><cfset xReplaceableClass = xReplaceable.getClass()><cfset xReplaceable = UnoRuntime.queryInterface(XTextDocumentClass, xTextDocument)><cfset xReplaceDescr = xReplaceable.createReplaceDescriptor()>the error is in the last lineclass not found: com.sun.star.util.XReplaceable.createReplaceDescriptorany ideas?
Hello, all,I've got an issue that has me perplexed.We have a section on our restricted site for news. There is an admin panel that allows someone (authorized) to create/edit news articles, and one of the optional fields is for uploading an image.Now, so far this hasn't really presented any problems. Until today, every image that was uploaded fit a particular format ratio, so everything appears correct.Today, two images that are much more wide compared to the height have been uploaded. When viewing the actual article, it looks okay. However, on the 'landing' page of the site, there is a carousel that rotates among four selected articles that contain an image, along with four clickable thumbnails on the right side. For both the thumbnails and the full-size image associated with it, those two images extend past the right of the image space, I'm assuming it's using overflow: hidden;.I tried to update the page that processes the form, using imageInfo() to check
I'm looking to convert libreoffice java example to cfm but j don't undestand how reference to "XComponentLoader.class" before create itthis row are ok<cfset OOB = createObject("java","com.sun.star.comp.helper.Bootstrap")/><cfset xContext = OOB.bootstrap()><cfset xMCF = xContext.getServiceManager()><cfset desktop = xMCF.createInstanceWithContext("com.sun.star.frame.Desktop", xContext)><cfset UnoRuntime = createObject("java","com.sun.star.uno.UnoRuntime")/>this is then row to convert XComponentLoader xCompLoader = UnoRuntime.queryInterface(XComponentLoader.class, xDesktop);I try:1) <cfset xComponentLoader = UnoRuntime.queryInterface(XComponentLoader.class, desktop)>2) <cfset myloader = createObject("java","com.sun.star.frame.XComponentLoader")/><cfset xComponentLoader = UnoRuntime.queryInterface(myloader.class, desktop)>3) <cfobject type="Java" class="com.sun.star.frame.XComponentLoader.class" name="myloader" acti
Anyone have any experience setting up the Simba JDBC driver for Google BigQuery using service account authentication?The problem seems to be reading the file which is defined in the OAuthPvtKeyPath which is a part of the JDBC URL. When I submit the form with the JDBC URL, Driver Class, Driver Name etc I receive the following error:java.sql.SQLNonTransientConnectionException: [Simba][JDBC](10100) Connection Refused: [Simba][JDBC](11640) Required Connection Key(s): OAuthPvtKeyPath, OAuthServiceAcctEmail, ProjectIdAll three parameters (OAuthPvtKeyPath, OAuthServiceAcctEmail and Projectid) is part of the JDBC URL like this example from the Simba JDBC driver user manual (except from the OAuthPvtKeyPath which is the path I'm using on my Mac):jdbc:bigquery://https://www.googleapis.com/bigquery/v2:443;ProjectId=MyBigQueryProject;OAuthType=0;OAuthServiceAcctEmail=bqtest1@data-drivertesting.iam.gserviceaccount.com;OAuthPvtKeyPath=/Applications/ColdFusion2018/cfusion/lib/myfilewithkeys.json
Coldfusion 11. I use server monitoring, which is configured on jetty.port. How to disable http TRACE, OPTIONS methods on jetty.port?
I've recently changed from Dreamweaver CSS.5 to Dreamweaver CC. There are a number of little differences that make a BIG difference in usability.I finally found (through an internet search) where "Search local site" is.When I attempt to close a tag with </, the autofill is almost never the tag I opened. When using block comments with <!--- --->If there is a comment IN that block comment, the color change terminates. Auto indent is really just messed up...I had to turn it off.So the basic question is....Is there a way to make Dreamweaver CC work more like Dreamweaver CSS.5?It is not my opinion that these are all "things you are used to" kind of problems. These are changes that were made that a) don't work the way they were supposed to and b) are NOT a step forward.
Setup: CF 2016 on MS Server 2016 w/IIS 10Using Fusion Reactor trial and finding queries hanging. Still not found an answer that directly impacts this condition. I did uncheck "save class files" restart the CF Server, rechecked "save class files" per another thread. Does not seem to cooperate.ajp-nio-8016-exec-11" Id=160 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@72e82b6c java.lang.Thread.State: WAITING at sun.misc.Unsafe.park(Native Method) - waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@72e82b6c at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) at j
Hi all,I'm using the addons docker image as part of setting my app up for local development using Docker as well as preparing to deploy to AWS ECS.I've managed to connect to Solr from the CF Admin and I can access the Solr admin on my local machine as well.However, when I try to create a new collection, I'm getting this error:solrconfig.xml missing luceneMatchVersionIn my docker-compose.yml file I have" addons: container_name: mycfaddons image: eaps-docker-coldfusion.bintray.io/cf/addons environment: - acceptEULA=YES - configureExternalAddons=true - addonsHost=addons - addonsPort=8991 - addonsUsername=admin - addonsPassword=admin ports: - "8991:8991" networks: &n
I'm a bit out of my league on this issue.due to a recent infrastructure change that disabled the mail relay without actually notifying of an error and left us not sending any emails for two weeks, Worse we were completely unable to rebuild the "lost" emails. I've been tasked with a way to create a local backup of all outgoing mail. This is easy enough to do in CF, however the team wants solutions that don't use CF tags. The specific requirements I have are either to capture and locally store the cfmail file itself, or to capture the to, from, reply, cc, bcc, subject and body using (for instance) event gateways, mail log,or any listeners or apis that might be available.The email log contains to, from and subject, but doesn't contain body, so it's not viable for us unless i am missing a setting that makes the log keep the body of the email.I'm currently researching CFMailgun, and the Mailgun API, but i need a few other options as it does have some issues that may not be palat
What is the IP limit maximum of a CF server developer edition. I just noticed that by accident I am running a dev edition on a server that responds to many web sites (multi homed under Windows IIS)These domains are speculative (about 10) and all they do is say "FOR SALE". They also track IP of origin, unique IP's. All told about 500 inquiries a day. But WHY does it even work??? Shouldn't users or robots get an error saying maxed out based on IP addresses? I am planning on installing CF18 in the coming week, when it occurred to me ... don't fix what ain't broken ... and WHY is the IP restriction not being enforced? I thought 2 or 3 was the limit?
I have asked several Adobe support people over the years for this tiny feature but it's not in 2018 even though I was told it would be In debugging section ... where it asks what IP addresses should include debugging data on screen, and we put the IP addresses in, it would be helpful to have a description field next to it so we know whose IP address it is?Same in IIS ... no description!Unless ... ... is there a way to add a delimiter and add a description? Like: 122.122.122.122; Stans workstation
Hi,I use the following code to consume a rest service in my local ColdFusion application (and it works fine) but I am trying to add it into the ColdFusion administrator so I can manage the rest service from the admin rather than having a URL in local code. I then just want to simply call it from my local code.Is this possible? How do I achieve this?-----------------------------------------<cfhttpurl="[URL goes here]?LH_ADDRESS=#parameter#"method="get"result="res"/>-----------------------------------------Many Thanks,George
Hi,a customer is going to update their Oracle and announced they are setting SQLNET.ALLOWED_LOGON_VERSION_SERVER to 12. This means the client driver has to be version 11.2 or later.In previous discussions I always sad simply use a recent Thin driver and everything's fine.I found this query that says which client you are on SELECT DISTINCT s.client_version FROM v$session_connect_info s WHERE s.sid = SYS_CONTEXT('USERENV', 'SID')I run it from a cfquery tag in a ColdFusion script and everything is fine when I use a recent Thin driver, they report back version 12 or 18 or something.I also ran it in ColdFusion 2016 with Updater 10 installed. I connected to Oracle using the built in driver (Developer Edition/Enterprise). I got 11.1.0.7.0 as my client version. This is lower than the driver recommended to connect to Oracle 12 with (11.2).Does anyone have a recent Oracle running and set ALLOWED_LOGON_VERSION_SERVER to a high valu
Hi All, ColdFusion 2018 is passing a datetime in the format '2019-05-16 23:59:00.0'The code I am using is given below<cftry><cfset fromDateObject=parsedateTime(datefrom)><cfset toDateObject=parsedateTime(dateto)><cfset fromDateTimeString=dateFormat(fromDateObject, "yyyy/mm/dd") & " " & timeFormat(fromDateObject, "HH:nn:ss")><cfset toDateTimeString=dateFormat(toDateObject, "yyyy/mm/dd") & " " & timeFormat(toDateObject, "HH:nn:ss")> <cfstoredproc procedure="dbo.multi_report_pkg.run_multi_report" datasource="#datasource#" username="#Session.UserName#" password="#Session.password#"> <cfprocparam value="#Session.multi_rep_id#"> <cfprocparam value="#Session.UserName#"> <cfprocparam value="#multi_report_def_id#"> <cfprocparam cfsqltype="CF_SQL_TIMESTAMP" value="#parsedateTime(fromDateTimeString)#"> &n
Hello, I am using Coldfusion 2018 with Oracle Database. One of my pages in the application gives me an error as shown belowHow can this be resolved ? I am not getting the same error on Test server where the same version of Cold fusion 2018 is installed.ThanksIQError Executing Database Query. ORA-01858: a non-numeric character was found where a numeric was expected The error occurred in C:/inetpub/wwwroot/TOPS/ValidateConsumptionList.cfm: line 134Called from C:/inetpub/wwwroot/TOPS/ValidateConsumptionList.cfm: line 1Called from C:/inetpub/wwwroot/TOPS/ValidateConsumptionList.cfm: line 134Called from C:/inetpub/wwwroot/TOPS/ValidateConsumptionList.cfm: line 1132 : and dd.data_date = TO_DATE(<cfqueryparam 133 : &
Hi,we have installed Coldfusion 2018 with Apache web server and CF Api Manager on our SUSE server.We have many CF instances and one of these provides some RESTful services.I configured apis in the CF Api Manager and now our REST enpoints are accessible at ports 9100 and 9151 (ajp), but we want our customers to use this services with port 80 keeping other ports closed.The endpoints are located somewhere like https://our_domain1.com/rest/services/ ..So i've modify the following two Apache configuration files:1) worker.propertiesi added a new worker in the worker list (example name: "newworker") and i defined it in this way:worker.our-cf-instance.type=ajp13worker.our-cf-instance.host=localhostworker.our-cf-instance.port=9151worker.our-cf-instance.connection_pool_timeout=60worker.our-cf-instance.max_reuse_connections=250worker.our-cf-instance.connection_pool_size=500worker.our-cf-instance.lbfactor=1worker.our-cf-instance.route=newworker2) uriworkermap_our-cf-instance.properties (in /opt/co
Hi All,Anyone encountered this similar error? Scheduled job run twice. Although, it only shows once in the scheduler log, we can tell it run twice because we have our own logging as well, and data are being logged twice. Below are the other details:1. This does not happen always, but happens intermittently.2. No other server or instance running.3. This is a long running job (3 or 4 hours average).Anyone who has idea and how you have resolved this problem? I can't seem to find any solutions online although there are similar cases reported.I hope someone from Adobe Coldfusion support can see and give advice on this as well.Thanks.
I am upgrading to CF 2018 from CF 9.In CF 9 I run the Coldfusion services under a local Windows user I create specifically for the Coldfusion services. In Windows the c:\users\<CF Username>\AppData \Local\Temp\poifiles directory gets filled with thousands of poi-ooxml--<some number>.tmp files. Nothing in CF cleans these up and after discovering them by accident and having to clean up hundreds of thousands of these leftover files, I have one question: will this same thing happen in CF 2018?
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.