Questions
Als letztes aktiv
Running CF 9,0,1,274733 and I must qualify my post by saying that I know enough about CF to be dangerous.We have a number of schedule tasks that run once per day at different times of the day. These tasks do things like query the database and email staff about low on stock items and almost expired items, etc. We installed some critical security updates on our Win 2008r2 server a few days ago and the double emails started that night. I don't want to uninstall those security updates to fix this issue.Here are some things I have checked and tried:a) I cleared the cache in CF Admin.Clear Template Cache NowClear Component Cache Now Still getting dupesb) Restarted the CF services in the services.msc in Windows. Still getting dupes.c) Restarted the server. Still getting dupes.d) I ran a few of the tasks manually by clicking the Run button in the CF Admin Schedule Task list. Still getting dupes.e) I added the spoolenable="no" attribute to the cfmail tag. Still getting dupes.f) I recreated some
I filed a bug report on the fact that in CF9 and CF10 one cannot truly "edit" a Solr collection. (If you click on a collection to edit it, you are not presented with what is currently being indexed in said collection - you the the default file extensions .htm, .html, .cfm, .cfml)Adobe responded by saying "It's not a bug, it's a feature."As a result, here is my view of Adobe products.
I need to show by counselor how many students were accepted, cancelled, enrolled, etc. I also need grand totals. I tried using a calculated field where I entered:iif(trim(query.dispos) eq DE("Accepted"), 1, 0) in the perform calculation on field but I always get 0 for the answer. I tried using single quotes around Accepted but that didn't make a difference.Any ideas?
Here is what I am trying to do. Retrieve a bunch of results from a REST request. Run a query to see if I should be excluding any of the xmltext entries coming back from the rest request. Build an array of the REST xmltext entries except the entries in the cfquery.I have it all workign except building the array minus the entries that came back in the cfquery. Here is my code so far.<cfquery name="getqueue" datasource="#application.settings.dsn#">select * from friendswhere Deactivatedate < #DATEADD('d', 1, CreateODBCDateTime(now()))#</cfquery><cfoutput query = "getqueue"><cfhttp blah blah><cfset nodes_parse = XmlParse(CFHTTP.FileContent)><cfset Nodes = xmlSearch(nodes_parse,'friends/friend/date/activedate/')><cfset roleArray = ArrayNew(1)><cfloop from="1" to="#arraylen(Nodes)#" index="i"> <cfset NodeXML = xmlparse(Nodes)><cfset ArrayAppend(roleArray, '[sel_members][]=#NodeXML.activedate.xmlTe
I've just installed CF11 on my cloud server (running Windows Server 2008 R2) for a shopping cart app using SQL Express Edition in the backend. After periods of inactivity, especially every morning, when I go into my app, it clocks for about a minute then errors out. Eventually, after another try, I'm able to run my app but it's sluggish for another couple clicks then it's back to normal. I've been running this app on an older version of CF for almost a decade (I just upgraded to CF11 last month) and this problem never happened during that time. Can you provide any guidance on how I can fix this problem?
Hello, everyone,I've got CF10 installed on my dev system. I've created several Solr collections. I have turned on Sandbox Security, and added defined directory permissions for C:/ColdFusion10/cfusion/collections and C:/ColdFusion10/cfusion/jetty folders. I have edited both paths so that NOTHING is disabled.If Sandbox is on and I remove a collection from within CFAdmin, when I try to use the CFCOLLECTION action="create" tag, I get java.io.filePermission "read" access denied messages.If I turn off Sandbox, the tag runs fine.What else do I need to do in order for CFCOLLECTION action="create" to work while Sandbox is on?V/r,^_^
Despite having ColdFusion Builder since CFB2 and now been given CFB3, I haven't managed to understand how to setup the environment correctly so unfortunately I've ditched it and continued to use Dreamweaver.Now I'd like to try CFB3 properly, but I am still struggling to replicate my DW environment.Basically in my DW site, I have got a Testing Server configured using the option that says connect with "local/network". It just points to my inetpub folder for the site on my local machine (my local machine runs IIS7 with ColdFusion 11 installed to run on that). This testing server is where I first 'upload' my modified web files to make sure they all work correctly.When I'm happy that my files are working, I'll then do an FTP upload to the remote production server. I want to replicate my work workflow in CFB3 like this: Edit local files in my working folder. This folder contains ALL the site's files.Copy modified files to the local inetpub folder on the computer. Sometimes I like to copy/upl
I'll see if I can explain: /application.cfc/api.cfc/web.configIf you call a URL structured in this manner "domain.com/method/function" then I have a url redirect in web.config that translates that to /api.cfc?method=init&function=functionname. The api.cfc has an init handler that takes those URL params and calls the actual private function it has that matches those needs. This is heavily simplified, but you get the idea. The application.cfc is a shell of a file, nothing is done in there at all. Just function outlines. This ALL works fine except when the CFC itself returns a CF error. If you call the URL directly (as it was explained above) with a GET then you see the error. IF you use a HTML form to post to the page in a browser, you see the error. However if you POST data to that URL using CFHTTP then the connection times out based on the CFHTTP timeout param. The response is "connection timeout" in the CFHTTP vars and status code 200. This is stumping me.
Hello, everyone,I think I may have asked this, once before, not sure.I'd like to set up a development network using VMware v11, setting up two VM servers.One of the VMs I'd like to setup Ubuntu as the server OS, and set up Apache for web with PHP. I'd also like to install CF Server 11, and have both CF and PHP work together in the same environment.Has anyone successfully done this? Or know someone who has?V/r,^_^
Getting a strange error when 'modifying' an exchange task.I create tasks with the same code, except I have action as "create" and UID as "result" and it works fine. The error I'm getting when modifying a task happens before the page loads. The double comma's in the error message make me think this is a bug with <cfexchangetask>. Here is the code:<cfexchangetask action="modify" task="#sTask#" username ="username" password="password" server="server.full.url" protocol="https" port="443" serverVersion="2010" UID="#exchangeGuid#">Here is the error:TypeTemplateMessageAttribute validation error for tag CFEXCHANGETASK.DetailIt has an invalid attribute combination: action,password,port,protocol,server,serverversion,task,uid,username. Possible combinations are:Required attributes: 'action,server,,task,uid,username'. Optional attributes: 'exchangeapplicationname,exchangeserverlanguage,formbasedauthentication,formb
I last coded in 2001, but thought I'd get back to it again to develop some in-house tools as I launch a business.It's just like I remembered, so far anyway...Wrinkling out the bugs for set-up and launch is a frustrating process, but once you get past that, the coding is fun and delicious.Unfortunately for me, the "so far" has only gotten me to the first part of the previous sentence.Sorry for the lead-up... Here's the skinny:I'm on a clean Windows 8.1 machine. All I've added to the Windows install is MS Office 2007 (including Access), CF11 Trial, and CFBuilder Trial. I can access and manipulate CF Admin with no problem, it's served from http://127.0.0.1:8500/CFIDE/administrator/index.cfm and I've had no problem clicking around to reacquaint myself with the product. My problem comes when I move over to CFBuilder and try to run my first index page (pretty simple page so far, the entirety of the code is between the quotes "<h1>test</h1>"). When I click on the run button, the b
I have just installed Yosemite and updated from Coldfusion 10 to 11. At present, I have two problems for which I can find no answers:The first, when trying to access the CF Administrator (http://localhost:8500/CFIDE/administrator/index.cfm), I get this error:The Graphing service is not available.This exception is usually caused by service startup failure. Check your server configuration.The error occurred in C:/work/cf10_final_hotfix/cfusion/wwwroot/CFIDE/administrator/Application.cfm: line 95Called fromC:/work/cf10_final_hotfix/cfusion/wwwroot/CFIDE/administrator/Application.cfm: line 85Called fromC:/work/cf10_final_hotfix/cfusion/wwwroot/CFIDE/administrator/Application.cfm: line 4Called fromC:/work/cf10_final_hotfix/cfusion/wwwroot/CFIDE/administrator/Application.cfm: line 1This problem may have originated after downloading and installing the ColdFusion 11 Update 3 hotfix.And second, when trying to access a web page on my local host, I get this error:Error Executing Database Qu
I recently installed a fresh install of CF 11 on Mac OS X Yosemite. All works fine except my stored procedures now no longer work. I am using SQL Server 2008 on Win XP using VMWare Fusion 7. The Stored procedure executes perfectly on the database and, when testing, all the paramaters are outputting OK on my CF page. But I get an error:[Macromedia][SQLServer JDBC Driver][SQLServer]Incorrect syntax near '='.The SP code is below:<cfstoredproc datasource="#dsn#" procedure="clw_logThisPage"> <cfprocparam cfsqltype="CF_SQL_NUMERIC" dbvarname="logid" value="#session.logid#"> <cfprocparam cfsqltype="CF_SQL_INTEGER" dbvarname="memberid" value="#session.member_id#"> <cfprocparam cfsqltype="CF_SQL_VARCHAR" dbvarname="pagename" value="#launch#"> <cfprocparam cfsqltype="CF_SQL_VARCHAR" dbvarname="clwref" value="#ref#" > <cfprocparam cfsqltype="CF_SQL_VARCHAR" dbvarname="casesletter" value="#letter#"> <cfprocparam cfsqltype="
Hello,My cold-fusion8 server is continuously go down and then UP. I have gazed on to the logs and I could see the error "Event Gateway Disabled". Anyone faced this issue before ? If so please help me.=====================================================Event viewer shows these=====================================================Event Type: ErrorEvent Source: ColdFusion 8 Application ServerEvent Category: NoneEvent ID: 257Date: 1/21/2015Time: 5:44:20 PMUser: N/AComputer: XXXXXXXXXXDescription:The ColdFusion 8 Application Server service was terminated. Check the server "coldfusion" log files for more information.======================================================Thank you.
Hello,I am having a dandy of a time figuring out why I cannot suppress a leading space in mycf 11 output. I have requirements that I must not have leading or trailing white space.Not matter what I try, I get a leading space before the <html> tag. Here is the codeI have tried.<cfsetting enablecfoutputonly="true" showdebugoutput="no"/><cfprocessingdirective suppressWhiteSpace="true"><cfsilent><cfsavecontent variable="out_html"><cfoutput><html><body><p>OK</p></body></html></cfoutput></cfsavecontent></cfsilent><cfoutput>#out_html#</cfoutput></cfprocessingdirective>Any help appreciated. Thanks,bob
I've been tasked with finding out how other companies implement error logging. I'm not interested so much in how to use Coldfusion to log errors, I'm more interested in whether folks are using third party error logging tools.What tools does your company use to manage application wide error logging?Thanks in Advance
I see in the help file for ColdFusion Builder 2 that it used to have a tag editor. The keystroke doesn't seem to do anything and I can't find anything in ColdFusion Builder 3 that resembles a tag editor. I am new to ColdFusion Builder as I have been using HomeSite for a long time, but finally decided to make the jump. I am really liking everything I see, but the one thing I am having a hard time with is being able to do standard HTML, like loading an image tag in an editor and choose a picture and it will pull the width and height for me. Or being able to just drag an image onto my code and have it create the image tag with the link.I have searched around the program and finding nothing, can anyone shed any light on whether this exists or not? If not, what is the way I should get used to.Right now I see that I can press Ctrl+Space when I am on existing image file name in a <img > tag and I can double-click to open the file editor, but then I have to
I have issue to browse .cfm pages from remote filer, the same cfm pages works when placed at local drive on server. its IIS 8, CF 11 and wondows server 2012. When I access .cfm pages from remote filer, it gives me an error "coldfusion.runtime.TemplateNotFoundException: File not found: " whereas the file exists on filer. the same works when i place files at local drive on server.Any suggestion is greatly appreciated.
I have not been able to accomplish this with CSS so I thought I would attempt it with CF. I am trying to print a membership list for a yacht club in 2 columns. I first loop through the query results like so (lots of conditions to avoid empty lines): <cfloop query = "memberInformation"> <cfif len(#phn_home#) GTE 8 || len(#phn_office#) GTE 8 || len(#phn_cell#) GTE 8 || len(#phn_spouse#) GTE 8> <cfset hasPhone = true> <cfelse> <cfset hasPhone = false> </cfif> <cfif len(#name_friendly#) GT 0 AND len(#name_spouse#) GT 0> <cfset friendlyName = '#name_friendly# & #name_spouse#'> <cfset hasSpouse = tr
Hi-I have a text file generated by a Pulse Oximeter, What I want is, as the system recieves the file (in .txt of CSV) it automaticly is entered into a MySql Database or SQL Server and generates an SMS message. ThanksRegardsTayyab Hussain
サーバー内にcoldFusionをインストールしています。同一サーバー内に検証環境と本番環境を両立させる場合に、それぞれcoldFusionの設定を分けることは可能でしょうか?ライセンスは2つあります。よろしくお願いいたします。
Win7/CF10Attribute validation error for tag CFDOCUMENT. It has an invalid attribute combination: filename,fontembed,format,formfields,formstype,localurl,mimetype,name,orientation,overwri te,permissions,saveasname. Possible combinations are:Required attributes: 'format'. Optional attributes: 'authpassword,authuser,backgroundvisible,bookmark,encryption,filename,fontembed,localurl, marginbottom,marginleft,marginright,margintop,mimetype,name,orientation,overwrite,ownerpas sword,pageheight,pagetype,pagewidth,permissions,printallframes,proxyhost,proxypassword,pro xyport,proxyuser,saveasname,scaletofit,scale,scaletofit,src,unit,useragent,userpassword'.Required attributes: 'format'. Optional attributes: 'authpassword,authuser,backgroundvisible,bookmark,encryption,filename,fontembed,localurl, marginbottom,marginleft,marginright,margintop,mimetype,name,orientation,overwrite,ownerpas sword,pageheight,pagetype,pagewidth,permissions,printallframes,proxyhost,proxypassword,pro xyport,proxyuser,
CF10 Requires too frequent login. How to extend the time between logins. Worked fine in CF8
I have a very large website that is constantly under attack via SQL injection.My SQL DB is corrupted weekly.I am in the process of doing the <cfqueryparam value throughout the site.But in the short term is there something I can add to the application.cfm if I know part of the string that is always been injected?For example if I know that the string "www.paydayloans.com" is trying to be maliciously passed is there some code I can add to prevent that from being used in the query?
Hi,The date picker in Cold Fusion 11 does not pop up the calendar when selected.It works with IE 8, but does not work with IE 9.Is there a setting in IE 9 or CF 11 admin that needs to be set?Thanks,Mike
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.