Questions
Als letztes aktiv
Hello, all,Can anyone suggest reasons as to why, after 8 months of working fine, a variable set specifically in the VARIABLES scope would suddenly stop working?In my Application.cfc file, within the "onRequestStart" function, I have the following line: <cfset variables.praglink = "//" & cgi.server_name /> It's been working since March of this year. This morning, I open a page in the browser (my DEV environment uses one physical machine for CF, one physical machine for DB, and my development system), and get the following error message: Element PRAGLINK is undefined in VARIABLES The error occurred in {dev path}/wwwroot/public/header.cfm: line 20 header.cfm line 20 is: <link rel="stylesheet" type="text/css" href="<cfoutput>#variables.praglink#</cfoutput>/style/public.css" /> It was working fine, Friday; today, not at all.All the other variables set in the variable scope are present. CFDUMP shows the rest are working. Just not PRAGLINK.I
I am trying to create multiple instances to access a website we are moving from version 9 to version 11, when creating the instance, I check the box to create the windows service, in case we need to restart that one instance, but it does not create the service for that instance. I can see how I can shut down, edit, and restart that instance in the administrator, but I would like to be able to restart it in windows services. Is this a new behavior or is it because I've already gone through the lockdown guide and it can't create the service? I tried changing the account that coldfusion runs under back to the local system account and that doesn't help either. Is this the preferred behavior, should I run these instances without services, or should I have created the instances before I locked it down.Thanks.
In CF Report Builder 10...lets say I make my first page in the 'builder' and it's a cover page. Contains a Report Header, a Page Footer, a bunch of labels and a .gif image.Now I'd like to test that, so would I use code snippet, and use a cfoutput to display the page? Or can I use cf code to output the cover page to my http://127.0.0.1/CFIDE/mes/test1.cfm from within the 'builder'?
lets say I use the first report to create a cover page, and now I want to in to the Query Builder a sub-report.This section will handle the next report...is that not correct?
Hello, we have following situation and can't seem to find a fix or workaround for it. Could you help?On all 4 of our Windows Server 2012 R2 servers running on vitrual machines with 8 vcpu cores each, we have 10 instances running ColdFusion 11 update 6, the instances are the same on all 4 servers, 2 servers are used for test/qa and 2 for production. On all of those servers, after servers are restarted some instances don't start properly and need to be manually restarted to start working; it seems that on average at any time 2 to 4 instances won't start and those are not the same instances every time. We were looking at the log files and we think we found what the issue is, but not sure how to go around it or fix it. When instances are starting, the following error shows up in the logs files of the instances that don't start properly (see down this post for actual log entries):Oct 13, 2015 7:52:25 AM org.eclipse.jetty.util.log.JavaUtilLog warnWARNING: FAILED ServerConnector@69f41e78{HTTP
FIRSTSo I have a cover page occupying the Report Builder 10, Report Header and the size is 11 x 8.5.The Page Footer contains labels for the display of the company name, all rights...,copy right..., name of the report and date.I'd like to display this so I know it's going to work. The cfoutput tag works only on queries...so is there a CF method to display the 'report header & page footer'?This experiment contains a .cfm file with the query and the .cfr files, using Crimson I see the file (test1.cfm)test1.cfm:SELECTtblStateProvince.State, tblStateProvince.Name, tblFacility.Name as FName, tblFacility.City, tblFacility.PostalCode, tblFacility.Address, tblFacility.OID,ContractNumber,ContractEffectiveDateFROM tblFacility INNER JOIN tblStateProvince ON tblFacility.OIDStateProvince = tblStateProvince.OIDWHERE (((tblFacility.OID)=37667)); Here is where I tried to assign the string to the 'Label' on the Report Header.tblFacility.Name = "Yosemite Valley, LLC"TReportStaticText104 = "#tbl
Hi everyone. I have this one page on our site that we would like for customers to order some parts from. It is separate from our current database on our site and there really are no part numbers because the calculations for the parts are on the fly (depending what the user chooses). Here's the link: https://www.ironwoodelectronics.com/elastomer.cfm We do not have our certificate updated yet, so you might get the unsecured page, but it's safe to use. We're not going to ask for credit card info. on here. I think we're going to go through stripe.com for that. But what I don't know how to do is to create a shopping cart for this page. If the user goes through and chooses the correct dimensions of what he needs, I have the info. with pricing output to a table at the bottom. The problem is if they choose a different part with different dimensions, I lose the info. from the first opti
Hello, all,I'm helping one of my developers with a project, and I've got one requirement that I'm not entirely sure how to proceed with it.The page in question runs a SELECT query from the database and displays the tabular information in a table. As the table is being generated, I'm using spreadsheetnew() and associated commands to create an Excel object from said data.Now, it would be real easy to introduce code that would automatically offer the Excel object as a spreadsheet upon page load. What is being requested is for there to be a link to start that stream/download upon click; in case the user doesn't want to save or open the spreadsheet.I don't want to run the query a second time to generate the Excel object. Is there a way for me to pass the Excel object to another page to start the stream/download?V/r,^_^
hey in the query builder of report builder 10 I got an error on:FROM tblFacility INNER JOIN tblStateProvince ON tblFacility.OIDStateProvince = tblStateProvincewhat is java.swl.SQLException: [Macromedia][SequeLinkJDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Join expression not supported.Why?
Hi,Is there a way to integrate ColdFusion with Adobe AEM?Thanks a lot
CF11 install linux failureExpected: bundled JRE should work on Ubuntu 13.1Launching installer...JRE libraries are missing or not compatible....# java -versionjava version "1.7.0_55"OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1~0.13.10.1)OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
1. CFB3 does not show the latest files and file structures when the project's source of files are located in a mapped network drive. I've even tried to manually refresh and it just won't refresh.2. CFB3 freezes when I am working on a file that is from a mapped network drive.I first thought it might be the network drive but the file works fine in NotePad++ and Aptana Studio 3.
Hi All,First time seeing an app using framework Mach-ii. I did some changes to my app code, it looks like the framework cache the app, the only way to see the updates is restarting the CF service.Is there a better way to refresh the cache for my app?I tried creating a basic application.cfc with ApplicationStop() as:<cffunction name="OnApplicationStart" access="public" returntype="boolean" output="false" hint="Fires when the application is first created."> <cfset ApplicationStop() /> <!--- Return out. ---> <cfreturn true /> </cffunction>But it doesn't work.Anyone work with this framework?Thanks!
We are wondering if/how we can install CF11 on two different servers.
Hello,Iv'e got a question about the default Apache Derby Embedded datasources that come with a new installation of ColdFusion. I want to use one of them (like cfartgallery), for some demo code, but I'm not familiar with the structure of the database so I don't know how to write the queries. Is there any way to "browse" the database to see it's structure? I tried using <cfquery> with a show tables query, but it threw an error. I guess you can only use it for SELECT, INSERT, UPDATE, etc.What am I doing wrong? Is there a tool to visually inspect the database, or a method to do that via ColdFusion that I'm missing?ThanksP.S. I think Dreamweaver has a tool like that built in (somewhere in the Bindings menu), but I'm running ColdFusion on an Ubuntu machine.
We started with an out-of-box install of ColdFusion 11 x64 on Windows 2008 R2. As sites were added to the server, we noticed a memory leak started to become apparent. There was plenty of information about this error being a bug in the older JRE, so we upgraded staging, and eventually production, to jre1.8.0_45. The memory leak still persists - after about 3 weeks, the 4GB heap fills up and the server starts to slowdown, so we restart ColdFusion. If we let it continue to run, ColdFusion starts to throw out-of-memory errors.From the last time when the heap utilization was about 50% after 7 days: The class "java.io.DeleteOnExitHook", loaded by "<system class loader>", occupies 1,165,311,936 (51.15%) bytes. The memory is accumulated in one instance of "java.util.LinkedHashMap" loaded by "<system class loader>". Keywords java.util.LinkedHashMap java.io.DeleteOnExitHookDoes anyone have
On CF11 using <cfgrid> with format=HTML ColdFusion.Grid.refresh('grid01', true); does not preserve the current page. If I navigate to say page 3 of the grid, select a record and then use the Refresh button on the toolbar or call a function that implements ColdFusion.Grid.refresh the grid refreshes, but returns back to the 1st page, even though the preservepage attribute is set to yes.This worked perfectly on CF8, but refuses to honor the preservepage attribute on CF11.I do have a custom toolbar above the grid, so I do manipulate Ext behind the scenes for some things, but I can't seem to find anything I can do to fix this behavior.Any help would be appreciated!
I"ve got CF8 standard edition. In the CF administrator I have the gateway services panel available to me. So I'm assuming that the requirement that you have the enterprise edition of ColdFusion to run Gateway Services was removed with CF8. I have the "Enable ColdFusion Event Gateway Services" box checked. I've even restarted the CF8 services to make sure the setting took effect. I've configured a gateway instance. But when I go to start it I get the error "Unable to start event gateway instance: Event Gateway Service is not enabled.". So first question: Does standard edition CF8 support gateway services? Or is Adobe just taunting users by making that screen available in standard edition administrator? If it does, any ideas why I'd get this message? The only event gateway documentation I can find on Adobe's site or elsewhere deals specifically with CF7 and speaks of an actual windows service that you have to start for this to work. I have no such service listed. I'm assuming that i
Right clicking on the left pane for menu item "Show Line Numbers" actually to hide them.Or Window->Preferences->General->Editors->Text EditorsUntick "Show Line Numbers" & Apply works for the first time.After opening a new file in Navigator or restarting CF Builder, I get line numbers back even the "Show Line Numbers" checkbox stays empty.Seems it doesn't save its preferences properly. Annoying.All CFB updates applied.Running Windows 8.1
need to read the file and pass the bytes[].Can i create a java object and use it in coldfusion like below please help:pathOb = createObject("java", "java.nio.file.Paths");files = createObject("java", "java.nio.file.Files");path = pathOb.get("file"); data = Files.readAllBytes(path)
Hi,I use Colfdfusion 10 Enterprise under Redhat 2.6.32-431.1.2.el6.x86_64.One of our customer wants to us an ActiveMQ application.So, in Settings, I checked "Enable ColdFusion Event Gateway Services".In Gateway Instances, I created an application where I filled every fields.Now, when I want to start this application, I receive an error "Unable to start event gateway instance: Event Gateway Service is not enabled."I dont know what I can to check, all seems to be OK, files are place in the good directories and files are reachable.What do I need to check? I'm lost 😞Thank you for your help.Kind regards,Christophe
I had this problem on the same Windows 2008 server two years ago when installing a lockdown of 9.0.1. I had marked ODBC Server to install with CF10. ColdFusion 10 ODBC Server and Agent appear in the registry (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\), but not in the Services and are not running.The lockdown account has full control permissions to both. Also, the lockdown account has full control permissions for HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\ColdFusion\CurrentVersion\Clients\. These remained after the CF9 uninstall a week ago.
Windows 10 has been released for months. It's also been in beta for months prior to that. But there has been no statement from Adobe about ever supporting Windows 10. It wont work with recent IIS, so my dev machines can't be updated to Windows 10. Will ColdFusion EVER support Windows 10? Am I being forced to move to one of the open source CFML engines instead after more than 20 years building in ColdFusion?Cheers,Mike KearWindsor, NSW, Australia.
Hello everyone,I need to access library data by z39.50 protocol, but have no idea how it can be done with ColdFusion.Could somebody give an advice please?Thank you,Anton
Hello all. We have CF10 Enterprise on a windows server 2008 R2 server. IIS 7.5. Patched through Update 16. We've had a site running fine for a while now and it was time to add another application. I verified I wouldn't run out of memory and created a new instance. The instance was created fine but it would not start when I clicked the start button. I have Fusion Reactor installed on the server and it showed activity from the start click-then the activity stopped. I had selected the Create Windows service check box so a service got created. I tried starting just the service and the service wouldn't start either. Meanwhile the original site continued to run.I checked to make sure the the ports used for the new instance were not already allocated, and they were not. I checked permissions-no issue there. There is plenty of RAM and disk space.I tried removing the instance and creating it without the Windows service - no change in behavior.The CF logs do not show a failure. The server'
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.